From: Tomasz Maciej Nowak <tmn...@gmail.com>

Device tree blobs are arch agnostic, so we don't need to cross compile
them.

Signed-off-by: Tomasz Maciej Nowak <tmn...@gmail.com>
---
 include/image.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/image.mk b/include/image.mk
index 4b6acbe1aad6..3a92fb0c8cab 100644
--- a/include/image.mk
+++ b/include/image.mk
@@ -180,7 +180,7 @@ endef
 # $(3) extra CPP flags
 # $(4) extra DTC flags
 define Image/BuildDTB/sub
-       $(TARGET_CROSS)cpp -nostdinc -x assembler-with-cpp \
+       $(if IB, , $(TARGET_CROSS))cpp -nostdinc -x assembler-with-cpp \
                $(DTS_CPPFLAGS) \
                -I$(DTS_DIR) \
                -I$(DTS_DIR)/include \
-- 
2.44.0


_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to