projects
/
openwrt
/
staging
/
kaloz.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5c2c0f8
)
rules.mk: add missing CPP definition
author
BangLang Huang
<banglang.huang@foxmail.com>
Mon, 14 Aug 2017 04:49:10 +0000
(12:49 +0800)
committer
John Crispin
<john@phrozen.org>
Wed, 23 Aug 2017 16:42:39 +0000
(18:42 +0200)
Signed-off-by: BangLang Huang <banglang.huang@foxmail.com>
rules.mk
patch
|
blob
|
history
diff --git
a/rules.mk
b/rules.mk
index ed796a54024adc4d4cbcb13d46a03bf6e0c1c8f5..43d8efe90db757a4342202cb87d4dc374dc6b385 100644
(file)
--- 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 \