[linux-yocto] Difference in sysroots and work linux include file
Sathish Kumar Balasubramaniam -ERS, HCL Tech
b-sathishkumar at hcl.com
Mon Apr 7 05:10:16 PDT 2014
I am using Dora version of Yocto with my BSP.
There is a compilation issue and the cause is certain values (V4L2_MBUS_FMT_ARGB8888_1X32 and V4L2_MBUS_FMT_AYUV8_1X32) not defined in the following file
build/tmp/sysroots/<machine>/usr/include/linux/v4l2-mediabus.h
which is needed by media-ctl's v4l2subdev.c file.
There are 3 different versions of this file
1. build/tmp/sysroots/<machine>/usr/include/linux/v4l2-mediabus.h - needed values not present. Include path set to this for compilation of media-ctl
2. build/tmp/sysroots/<machine>/usr/src/kernel/include/linux/v4l2-mediabus.h - needed values present. Same as (3) file
3. build/tmp/work/<machine>-poky-linux-gnueabi/linux-yocto/3.4+git<srcrev>/git/include/linux/v4l2-mediabus.h - needed values present. Same as (2) file
My doubt is why the above files are different ? why the (1) file is not the same (2) or (3) ? which yocto config is creating this ?
I though the (3) file should have been copied to (1) and (2). Looks its different.
For my problem, either I need to change the compilation include path (where I need to change ?) or fix this difference issue (how ?)
Anyone has any faced this issue before ?
Regards,
B.Sathish Kumar
::DISCLAIMER::
----------------------------------------------------------------------------------------------------------------------------------------------------
The contents of this e-mail and any attachment(s) are confidential and intended for the named recipient(s) only.
E-mail transmission is not guaranteed to be secure or error-free as information could be intercepted, corrupted,
lost, destroyed, arrive late or incomplete, or may contain viruses in transmission. The e mail and its contents
(with or without referred errors) shall therefore not attach any liability on the originator or HCL or its affiliates.
Views or opinions, if any, presented in this email are solely those of the author and may not necessarily reflect the
views or opinions of HCL or its affiliates. Any form of reproduction, dissemination, copying, disclosure, modification,
distribution and / or publication of this message without the prior written consent of authorized representative of
HCL is strictly prohibited. If you have received this email in error please delete it and notify the sender immediately.
Before opening any email and/or attachments, please check them for viruses and other defects.
----------------------------------------------------------------------------------------------------------------------------------------------------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/linux-yocto/attachments/20140407/bbe99adb/attachment.html>
More information about the linux-yocto
mailing list