From 89a262a705476dc5a6fe62c0ffeaf18d0aef8e7f Mon Sep 17 00:00:00 2001 From: nbd 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 git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47937 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- 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.11.0