summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKoen Kooi <koen@openembedded.org>2008-11-19 14:40:27 +0100
committerKoen Kooi <koen@openembedded.org>2008-11-19 14:40:27 +0100
commit71781609dc1ab7d434e95626c7d25ea3624d428e (patch)
treed9ea09929377db14ae79afef0f9661eb67337fb4
parent8cc4e4dc83ad9ec9ea1adf8e0f72218f763ac00d (diff)
module.bbclass: also supply KDIR, some projects use that to get to the kernel source
-rw-r--r--classes/module.bbclass1
1 files changed, 1 insertions, 0 deletions
diff --git a/classes/module.bbclass b/classes/module.bbclass
index 1d0f1dd4f8..bb68295a5c 100644
--- a/classes/module.bbclass
+++ b/classes/module.bbclass
@@ -7,6 +7,7 @@ module_do_compile() {
unset CFLAGS CPPFLAGS CXXFLAGS LDFLAGS
oe_runmake KERNEL_PATH=${STAGING_KERNEL_DIR} \
KERNEL_SRC=${STAGING_KERNEL_DIR} \
+ KDIR=${STAGING_KERNEL_DIR} \
KERNEL_VERSION=${KERNEL_VERSION} \
CC="${KERNEL_CC}" LD="${KERNEL_LD}" \
AR="${KERNEL_AR}" \