[oe-commits] [meta-openembedded] 09/14: kernel-module-emlog: Use compile task from module bbclass

git at git.openembedded.org git at git.openembedded.org
Sun Dec 1 19:25:16 UTC 2019


This is an automated email from the git hooks/post-receive script.

khem pushed a commit to branch master-next
in repository meta-openembedded.

commit 10039570ec4d54b66d3fe70866758b0b0d94c07f
Author: Khem Raj <raj.khem at gmail.com>
AuthorDate: Sat Nov 30 23:57:11 2019 -0800

    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 at gmail.com>
    Cc: Fabio Berton <fabio.berton at ossystems.com.br>
---
 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 51f7226..a554a4c 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"

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list