From 10039570ec4d54b66d3fe70866758b0b0d94c07f Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Sat, 30 Nov 2019 23:57:11 -0800 Subject: 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 Cc: Fabio Berton --- meta-oe/recipes-core/emlog/kernel-module-emlog_git.bb | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/meta-oe/recipes-core/emlog/kernel-module-emlog_git.bb b/meta-oe/recipes-core/emlog/kernel-module-emlog_git.bb index 51f7226ebd..a554a4c947 100644 --- a/meta-oe/recipes-core/emlog/kernel-module-emlog_git.bb +++ b/meta-oe/recipes-core/emlog/kernel-module-emlog_git.bb @@ -7,6 +7,4 @@ EXTRA_OEMAKE += " \ KVER=${KERNEL_VERSION} \ " -do_compile() { - oe_runmake modules -} +MAKE_TARGETS = "modules" -- cgit v1.2.3-54-g00ecf