summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--classes/module.bbclass3
1 files changed, 2 insertions, 1 deletions
diff --git a/classes/module.bbclass b/classes/module.bbclass
index bb68295a5c..8ab92a5fef 100644
--- a/classes/module.bbclass
+++ b/classes/module.bbclass
@@ -8,7 +8,8 @@ module_do_compile() {
oe_runmake KERNEL_PATH=${STAGING_KERNEL_DIR} \
KERNEL_SRC=${STAGING_KERNEL_DIR} \
KDIR=${STAGING_KERNEL_DIR} \
- KERNEL_VERSION=${KERNEL_VERSION} \
+ KERNELDIR=${STAGING_KERNEL_DIR} \
+ KERNEL_VERSION=${KERNEL_VERSION} \
CC="${KERNEL_CC}" LD="${KERNEL_LD}" \
AR="${KERNEL_AR}" \
${MAKE_TARGETS}