From 569f74ef49bae9326a723050a400346686983d86 Mon Sep 17 00:00:00 2001 From: BangLang Huang Date: Mon, 14 Aug 2017 12:49:10 +0800 Subject: [PATCH] rules.mk: add missing CPP definition Signed-off-by: BangLang Huang --- rules.mk | 2 ++ 1 file changed, 2 insertions(+) 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 \ -- 2.25.1