summaryrefslogtreecommitdiffstats
path: root/rules.mk
diff options
context:
space:
mode:
authorBangLang Huang <banglang.huang@foxmail.com>2017-08-14 12:49:10 +0800
committerJohn Crispin <john@phrozen.org>2017-08-23 18:42:39 +0200
commit569f74ef49bae9326a723050a400346686983d86 (patch)
treeec90609bab96a37d4ddee35d6fe6f0e5f9d05e3b /rules.mk
parent5c2c0f8a327c5e971ae4f4e2af63f0cad2b1e8f5 (diff)
downloadopenwrt-569f74ef49bae9326a723050a400346686983d86.tar.gz
openwrt-569f74ef49bae9326a723050a400346686983d86.tar.bz2
openwrt-569f74ef49bae9326a723050a400346686983d86.zip
rules.mk: add missing CPP definition
Signed-off-by: BangLang Huang <banglang.huang@foxmail.com>
Diffstat (limited to 'rules.mk')
-rw-r--r--rules.mk2
1 files changed, 2 insertions, 0 deletions
diff --git a/rules.mk b/rules.mk
index ed796a5402..43d8efe90d 100644
--- a/rules.mk
+++ b/rules.mk
@@ -260,6 +260,7 @@ endif
BUILD_KEY=$(TOPDIR)/key-build
TARGET_CC:=$(TARGET_CROSS)gcc
+TARGET_CPP:=$(TARGET_CROSS)cpp
TARGET_CXX:=$(TARGET_CROSS)g++
KPATCH:=$(SCRIPT_DIR)/patch-kernel.sh
SED:=$(STAGING_DIR_HOST)/bin/sed -i -e
@@ -300,6 +301,7 @@ TARGET_CONFIGURE_OPTS = \
NM="$(TARGET_NM)" \
CC="$(TARGET_CC)" \
GCC="$(TARGET_CC)" \
+ CPP="$(TARGET_CPP)" \
CXX="$(TARGET_CXX)" \
RANLIB="$(TARGET_RANLIB)" \
STRIP=$(TARGET_CROSS)strip \