2
0
Эх сурвалжийг харах

build: qsdk-ipq-*: include dtc in PATH before calling mkimage

Use 'dtc' from kernel sources instead of relying on host tool.

Fixes: bf4630e5adb4 ("build: add helpers for generating QSDK sysupgrade compatible images")
Signed-off-by: Piotr Dymacz <[email protected]>
Piotr Dymacz 6 жил өмнө
parent
commit
fe90e48c39

+ 2 - 2
include/image-commands.mk

@@ -297,14 +297,14 @@ endef
 define Build/qsdk-ipq-factory-nand
 	$(TOPDIR)/scripts/mkits-qsdk-ipq-image.sh \
 		[email protected] ubi $@
-	mkimage -f [email protected] [email protected]
+	PATH=$(LINUX_DIR)/scripts/dtc:$(PATH) mkimage -f [email protected] [email protected]
 	@mv [email protected] $@
 endef
 
 define Build/qsdk-ipq-factory-nor
 	$(TOPDIR)/scripts/mkits-qsdk-ipq-image.sh \
 		[email protected] hlos $(IMAGE_KERNEL) rootfs $(IMAGE_ROOTFS)
-	mkimage -f [email protected] [email protected]
+	PATH=$(LINUX_DIR)/scripts/dtc:$(PATH) mkimage -f [email protected] [email protected]
 	@mv [email protected] $@
 endef