[yocto] Build external module against Yocto kernel

Patrick Turley PatrickTurley at gamestop.com
Tue Jan 22 11:52:43 PST 2013


On Jan 15, 2013, at 1:16 PM, "Zhang, Jessica" <jessica.zhang at intel.com> wrote:

> For your LDFLAGS question in another email thread, the yocto SDK is mainly produced for application developer, but seems we are hearing more usage request for it to support kernel module build as well.  As Eric pointed, can you just set LDFLAGS="" and we'll add that instruction to developer's manual?

I *can* clear the LDFLAGS variable just before building modules against the kernel. That works.

I understand history makes this difficult, and this is a problem OE/Yocto wasn't originally *intended* to solve. My use case in an outlier, and I don't presume to know what "should" be done. On the other hand, I wouldn't want anyone to feel that putting those instructions in the documentation is a "tidy" solution.




More information about the yocto mailing list