summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--mk/kernel-vars.mk6
1 files changed, 4 insertions, 2 deletions
diff --git a/mk/kernel-vars.mk b/mk/kernel-vars.mk
index 9c9461ee1..cd5ef32ea 100644
--- a/mk/kernel-vars.mk
+++ b/mk/kernel-vars.mk
@@ -5,7 +5,8 @@ KERNEL_MAKE_OPTS:= -C "${LINUX_DIR}" V=1
ifneq ($(ADK_NATIVE),y)
KERNEL_MAKE_OPTS+= CROSS_COMPILE="$(TARGET_CROSS)" ARCH=$(ARCH) \
CC="$(TARGET_CC)" HOSTCC="${CC_FOR_BUILD}" \
- HOSTCFLAGS='${CFLAGS_FOR_BUILD}'
+ HOSTCFLAGS='${CFLAGS_FOR_BUILD}' \
+ CONFIG_SHELL='${SHELL}'
endif
ifeq (${ADK_TARGET_BROADCOM_MODEL_LINKSYS_WRT54G},y)
ADK_KCPPFLAGS+= -DBCM47XX_OVERRIDE_FLASHSIZE=0x400000 \
@@ -23,4 +24,5 @@ ADK_KCPPFLAGS+= -DBCM47XX_OVERRIDE_FLASHSIZE=0x800000 \
-DBCM47XX_OVERRIDE_CFESIZE=0x40000
endif
-KERNEL_MAKE_ENV+= KCPPFLAGS='${ADK_KCPPFLAGS}' PATH="${TOOLS_DIR}:$$PATH"
+KERNEL_MAKE_ENV+= KCPPFLAGS='${ADK_KCPPFLAGS}' \
+ PATH="${TOOLS_DIR}:$$PATH"