image.mk: use cross toolchain cpp for processing dts file instead of relying on the host compiler
Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 47937
This commit is contained in:
parent
3e807886d0
commit
caf3a14a3c
1 changed files with 1 additions and 1 deletions
|
@ -142,7 +142,7 @@ endef
|
||||||
# $(3) extra CPP flags
|
# $(3) extra CPP flags
|
||||||
# $(4) extra DTC flags
|
# $(4) extra DTC flags
|
||||||
define Image/BuildDTB
|
define Image/BuildDTB
|
||||||
$(CPP) -nostdinc -x assembler-with-cpp \
|
$(TARGET_CROSS)cpp -nostdinc -x assembler-with-cpp \
|
||||||
-I$(DTS_DIR) \
|
-I$(DTS_DIR) \
|
||||||
-I$(DTS_DIR)/include \
|
-I$(DTS_DIR)/include \
|
||||||
-undef -D__DTS__ $(3) \
|
-undef -D__DTS__ $(3) \
|
||||||
|
|
Loading…
Reference in a new issue