diff options
Diffstat (limited to 'classes/module.oeclass')
-rw-r--r-- | classes/module.oeclass | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/classes/module.oeclass b/classes/module.oeclass index 68291b2918..53ca7d1929 100644 --- a/classes/module.oeclass +++ b/classes/module.oeclass @@ -1,17 +1,7 @@ RDEPENDS_append = " kernel (${KERNEL_VERSION})" DEPENDS_append = " virtual/kernel" -export ARCH = "${TARGET_ARCH}" -export OS = "${TARGET_OS}" -export CROSS_COMPILE = "${TARGET_PREFIX}" - - -export KERNEL_VERSION = ${@base_read_file('${STAGING_DIR}/${HOST_SYS}/kernel/kernel-abiversion')} -export KERNEL_SOURCE = ${@base_read_file('${STAGING_DIR}/${HOST_SYS}/kernel/kernel-source')} -KERNEL_CCSUFFIX = ${@base_read_file('${STAGING_DIR}/${HOST_SYS}/kernel/kernel-ccsuffix')} -KERNEL_LDSUFFIX = ${@base_read_file('${STAGING_DIR}/${HOST_SYS}/kernel/kernel-ldsuffix')} -KERNEL_CC = "${CCACHE}${HOST_PREFIX}gcc${KERNEL_CCSUFFIX}" -KERNEL_LD = "${LD}${KERNEL_LDSUFFIX}" +inherit module-base module_do_compile() { unset CFLAGS CPPFLAGS CXXFLAGS LDFLAGS |