| Summary: | unable to build external kernel modules with linux-yocto 3.4 | ||
|---|---|---|---|
| Product: | [Build System, Metadata & Runtime] OE-Core | Reporter: | Khem Raj <raj.khem> |
| Component: | kernel | Assignee: | Darren Hart <dvhart> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | Medium+ | CC: | bruce.ashfield, tom.zanussi |
| Version: | 1.4 | ||
| Target Milestone: | 1.4 M4 | ||
| Hardware: | All | ||
| OS: | Multiple | ||
| Whiteboard: | |||
| OS type for building Yocto: | --- | Type of Regression: | --- |
| Verified: | Documentation change: | --- | |
|
Description
Khem Raj
2013-01-24 05:19:03 UTC
The reason we clean scripts is that the binaries there are for the host and should not be deployed to the target. If you inherit from module.bbclass, it should be running do_make_scripts() to account for this. yes I am inheriting module.bbclass using
inherit module
in the external module recipe but I also pass
EXTRA_OEMAKE = "-C ${STAGING_KERNEL_DIR} M=${B} prefix=${D}"
MAKE_TARGETS = "modules"
is MAKE_TARGETS definition an issue with do_make_scripts ?
OK I have found the issue and posted a patch to fix it. http://lists.linuxtogo.org/pipermail/openembedded-core/2013-January/034951.html commit 62285873e2a6b9375a96a3de7a500205aeb18fb3 Author: Khem Raj <raj.khem@gmail.com> Date: Sat Jan 26 22:20:45 2013 -0800 module-base.bbclass: Call make instead of oe_runmake in do_make_scripts |