From caf3a14a3cbdb028013078c67fac3dcc03f1a93b Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Sat, 19 Dec 2015 11:15:41 +0000 Subject: [PATCH] image.mk: use cross toolchain cpp for processing dts file instead of relying on the host compiler Signed-off-by: Felix Fietkau SVN-Revision: 47937 --- include/image.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/image.mk b/include/image.mk index 6b2fb1afd8..1522dd72c8 100644 --- a/include/image.mk +++ b/include/image.mk @@ -142,7 +142,7 @@ endef # $(3) extra CPP flags # $(4) extra DTC flags define Image/BuildDTB - $(CPP) -nostdinc -x assembler-with-cpp \ + $(TARGET_CROSS)cpp -nostdinc -x assembler-with-cpp \ -I$(DTS_DIR) \ -I$(DTS_DIR)/include \ -undef -D__DTS__ $(3) \ -- 2.30.2