[yocto] How to export kernel specific headers to userspace

Ankit Rastogi Ankit.Rastogi at kpit.com
Mon Jun 18 22:19:20 PDT 2018


Hi,

Can someone provide any pointers on how to export kernel specific headers to userspace?

I am getting below error while building our one of the component which requires kernel uapi headers.

Error Received:
 /hdmi-capture/main.c:16:10: fatal error: linux/hdmi_info.h: No such file or directory
> |  #include <linux/hdmi_info.h>
> |           ^~~~~~~~~~~~~~~~~~~
> | compilation terminated.

In yocto 2.5, userspace is boot strapped with linux-libc-headers package which uses a set of uapi headers from Linux kernel 4.15. Can someone suggest for custom kernels, how to expose uapi headers to userspace? Thus create a separate linux-apl-headers package with those files.

Thanks,
Ankit

This message contains information that may be privileged or confidential and is the property of the KPIT Technologies Ltd. It is intended only for the person to whom it is addressed. If you are not the intended recipient, you are not authorized to read, print, retain copy, disseminate, distribute, or use this message or any part thereof. If you receive this message in error, please notify the sender immediately and delete all copies of this message. KPIT Technologies Ltd. does not accept any liability for virus infected mails.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20180619/62df06f8/attachment.html>


More information about the yocto mailing list