From: BangLang Huang Date: Mon, 14 Aug 2017 04:49:10 +0000 (+0800) Subject: rules.mk: add missing CPP definition X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=569f74ef49bae9326a723050a400346686983d86;p=openwrt%2Fstaging%2Fjogo.git rules.mk: add missing CPP definition Signed-off-by: BangLang Huang --- 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 \