mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-06-05 02:50:46 +00:00
kernel-module-emlog: Use compile task from module bbclass
This ensures that right CC/LD is used when building the module, which should be KERNEL_CC and KERNEL_LD, otherwise it starts to use DISTRO default ld and cc which could be non-gcc and non-bfd liker which is must for building kernel and modules Also hides a gold linker failure seen on aarch64 | aarch64-yoe-linux-musl-ld: internal error in set_address, at ../../gold/output.h:322 Signed-off-by: Khem Raj <raj.khem@gmail.com> Cc: Fabio Berton <fabio.berton@ossystems.com.br>
This commit is contained in:
@@ -7,6 +7,4 @@ EXTRA_OEMAKE += " \
|
||||
KVER=${KERNEL_VERSION} \
|
||||
"
|
||||
|
||||
do_compile() {
|
||||
oe_runmake modules
|
||||
}
|
||||
MAKE_TARGETS = "modules"
|
||||
|
||||
Reference in New Issue
Block a user