mirror of https://github.com/hak5/openwrt.git
build: qsdk-ipq-*: include dtc in PATH before calling mkimage
Use 'dtc' from kernel sources instead of relying on host tool.
Fixes: bf4630e5ad
("build: add helpers for generating QSDK sysupgrade compatible images")
Signed-off-by: Piotr Dymacz <pepe2k@gmail.com>
openwrt-19.07
parent
9bf63d0339
commit
fe90e48c39
|
@ -297,14 +297,14 @@ endef
|
||||||
define Build/qsdk-ipq-factory-nand
|
define Build/qsdk-ipq-factory-nand
|
||||||
$(TOPDIR)/scripts/mkits-qsdk-ipq-image.sh \
|
$(TOPDIR)/scripts/mkits-qsdk-ipq-image.sh \
|
||||||
$@.its ubi $@
|
$@.its ubi $@
|
||||||
mkimage -f $@.its $@.new
|
PATH=$(LINUX_DIR)/scripts/dtc:$(PATH) mkimage -f $@.its $@.new
|
||||||
@mv $@.new $@
|
@mv $@.new $@
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define Build/qsdk-ipq-factory-nor
|
define Build/qsdk-ipq-factory-nor
|
||||||
$(TOPDIR)/scripts/mkits-qsdk-ipq-image.sh \
|
$(TOPDIR)/scripts/mkits-qsdk-ipq-image.sh \
|
||||||
$@.its hlos $(IMAGE_KERNEL) rootfs $(IMAGE_ROOTFS)
|
$@.its hlos $(IMAGE_KERNEL) rootfs $(IMAGE_ROOTFS)
|
||||||
mkimage -f $@.its $@.new
|
PATH=$(LINUX_DIR)/scripts/dtc:$(PATH) mkimage -f $@.its $@.new
|
||||||
@mv $@.new $@
|
@mv $@.new $@
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue