mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-01-01 13:58:06 +00:00
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>
11 lines
145 B
BlitzBasic
11 lines
145 B
BlitzBasic
require emlog.inc
|
|
|
|
inherit module
|
|
|
|
EXTRA_OEMAKE += " \
|
|
KDIR=${STAGING_KERNEL_DIR} \
|
|
KVER=${KERNEL_VERSION} \
|
|
"
|
|
|
|
MAKE_TARGETS = "modules"
|