summaryrefslogtreecommitdiff
path: root/target/linux26.mk
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux26.mk')
-rw-r--r--target/linux26.mk6
1 files changed, 4 insertions, 2 deletions
diff --git a/target/linux26.mk b/target/linux26.mk
index fc1149ba9..679a07874 100644
--- a/target/linux26.mk
+++ b/target/linux26.mk
@@ -49,8 +49,10 @@ LINUX_KERNEL=$(LINUX26_KERNEL)
# kernel patches
LINUX26_PATCH_DIR=$(BR2_BOARD_PATH)/kernel-patches/
-LINUX26_MAKE_FLAGS = $(TARGET_CONFIGURE_OPTS) ARCH=$(KERNEL_ARCH) \
- PATH=$(TARGET_PATH) INSTALL_MOD_PATH=$(TARGET_DIR) \
+LINUX26_MAKE_FLAGS = HOSTCC="$(HOSTCC)" HOSTCFLAGS=$(HOSTCFLAGS) \
+ ARCH=$(KERNEL_ARCH) \
+ CFLAGS_KERNEL="$(TARGET_CFLAGS)" \
+ INSTALL_MOD_PATH=$(TARGET_DIR) \
CROSS_COMPILE=$(KERNEL_CROSS)
$(LINUX26_KCONFIG):