diff mbox series

[oe,meta-oe,9/9] kernel-module-emlog: Use compile task from module bbclass

Message ID 20191201184622.889513-9-raj.khem@gmail.com
State Accepted
Commit 10039570ec4d54b66d3fe70866758b0b0d94c07f
Headers show
Series [oe,meta-python,1/9] python-evdev: Fix build for 32bit arches with 64bit time_t | expand

Commit Message

Khem Raj Dec. 1, 2019, 6:46 p.m. UTC
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>
 meta-oe/recipes-core/emlog/kernel-module-emlog_git.bb | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)


Openembedded-devel mailing list
diff mbox series


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 += " \
-do_compile() {
-    oe_runmake modules
+MAKE_TARGETS = "modules"