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>
This commit is contained in:
Khem Raj
2019-11-30 23:57:11 -08:00
parent 310047ec9f
commit 10039570ec
@@ -7,6 +7,4 @@ EXTRA_OEMAKE += " \
KVER=${KERNEL_VERSION} \
"
do_compile() {
oe_runmake modules
}
MAKE_TARGETS = "modules"