On 15-12-01 11:57 AM, Stuart Weaver wrote:
Hi All,

I’m currently merging my Yocto repo up to master (from Daisy). I’m
having problems compiling some of the out-of-tree modules that we have
which I’ve tracked down to the Makefiles looking for:

include/generated/autoconf.h

include/generated/uapi/linux/version.h

Now I originally had to heavily patch these Makefiles to include
variables like KERNEL_SRC and KERNEL_VERSION as they were just calling
shell commands (e.g. echo uname –a). However the KERNEL_SRC is pointing
to the new location of the source in ‘work-shared’ where none of the
generated .h files are.


STAGING_KERNEL_BUILDDIR is what you want. That's where all the artifacts
of the build required for external module builds are placed.

Bruce


Could someone inform on the differences in workflow and which variables
I should be using to point to the build source of the kernel (i.e.
work/corei7-intel-common-poky-linux/linuux-yocto/3.19.5…./linux-corei7-64-intel-common-standard-build)?

*Best Regards,*

*Stuart*


______________________________________________________________________
This email has been scanned by the Symantec Email Security.cloud service.
For more information please visit http://www.symanteccloud.com
______________________________________________________________________



--
_______________________________________________
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto

Reply via email to