meta-openembedded/meta-oe/recipes-core/emlog/kernel-module-emlog_git.bb
Khem Raj 10039570ec 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>
2019-12-01 11:24:26 -08:00

11 lines
145 B
BlitzBasic

require emlog.inc
inherit module
EXTRA_OEMAKE += " \
KDIR=${STAGING_KERNEL_DIR} \
KVER=${KERNEL_VERSION} \
"
MAKE_TARGETS = "modules"