[meta-xilinx] Kernel module recipe
Bruce Ashfield
bruce.ashfield at gmail.com
Thu Sep 17 10:28:52 PDT 2015
On Thu, Sep 17, 2015 at 12:30 AM, Andreas Galauner <andreas at galauner.de> wrote:
> On 17.09.2015 02:02, Edward Wingate wrote:
>> Can anyone tell me what I'm doing wrong? Should I not be using the
>> out-of-kernel template recipe to do this? Thanks for any help.
>
> I encountered this kind of error as well with out-of-tree builds on fido.
> It turns out, that there is a race condition when building the kernel
> and out-of-tree modules where an incomplete version of the
> Module.symvers file is copied from the kernel build directory into the
> staging directory which is then used to build the modules.
>
> See this thread:
> http://comments.gmane.org/gmane.linux.embedded.yocto.general/24484
>
> I don't know if this is already fixed in the current yocto master, I'm
> still on fido.
Not fixed in master .. but actively being worked on right now!
Bruce
>
> I fixed this by adding these few lines to my kernel recipes:
>
>> #fix for fido out-of-tree-module builds
>> do_install_append() {
>> cp -f ${KBUILD_OUTPUT}/Module.symvers ${STAGING_KERNEL_BUILDDIR}
>> }
>
> Adding these lines to a .bbappend file in your own overlay should work
> as well.
>
> - Andy
>
> --
> _______________________________________________
> meta-xilinx mailing list
> meta-xilinx at yoctoproject.org
> https://lists.yoctoproject.org/listinfo/meta-xilinx
--
"Thou shalt not follow the NULL pointer, for chaos and madness await
thee at its end"
More information about the meta-xilinx
mailing list