Author: nbd
Date: 2015-12-19 12:15:41 +0100 (Sat, 19 Dec 2015)
New Revision: 47937

Modified:
   trunk/include/image.mk
Log:
image.mk: use cross toolchain cpp for processing dts file instead of relying on 
the host compiler

Signed-off-by: Felix Fietkau <[email protected]>

Modified: trunk/include/image.mk
===================================================================
--- trunk/include/image.mk      2015-12-19 11:07:29 UTC (rev 47936)
+++ trunk/include/image.mk      2015-12-19 11:15:41 UTC (rev 47937)
@@ -142,7 +142,7 @@
 # $(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) \
_______________________________________________
openwrt-commits mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-commits

Reply via email to