summaryrefslogtreecommitdiff
path: root/classes/module.oeclass
diff options
context:
space:
mode:
authorMichael Lauer <mickey@vanille-media.de>2004-08-05 11:35:30 +0000
committerMichael Lauer <mickey@vanille-media.de>2004-08-05 11:35:30 +0000
commit9e07751bbfff494a3e3ea1b622112cfcffe69a69 (patch)
treebe556d23c4fa9425642e4233ae6ae90e11210436 /classes/module.oeclass
parent6ac49090d6253e542ecb58a3a051ca344a68ba9e (diff)
add module-base which sets variables. module now inherits module-base. inherit module-base when you build packages which need to know about kernel variables.
BKrev: 41121b82qghzmTY7limvubwIaCIvkQ
Diffstat (limited to 'classes/module.oeclass')
-rw-r--r--classes/module.oeclass12
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