Skip to content
Permalink
Browse files

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

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

Fixes: bf4630e ("build: add helpers for generating QSDK sysupgrade compatible images")
Signed-off-by: Piotr Dymacz <pepe2k@gmail.com>
  • Loading branch information...
pepe2k committed Feb 26, 2019
1 parent 9bf63d0 commit fe90e48c39c46b3c253b65f38e392c43f6abe2f0
Showing with 2 additions and 2 deletions.
  1. +2 −2 include/image-commands.mk
@@ -297,14 +297,14 @@ endef
define Build/qsdk-ipq-factory-nand
$(TOPDIR)/scripts/mkits-qsdk-ipq-image.sh \
$@.its ubi $@
mkimage -f $@.its $@.new
PATH=$(LINUX_DIR)/scripts/dtc:$(PATH) mkimage -f $@.its $@.new
@mv $@.new $@
endef

define Build/qsdk-ipq-factory-nor
$(TOPDIR)/scripts/mkits-qsdk-ipq-image.sh \
$@.its hlos $(IMAGE_KERNEL) rootfs $(IMAGE_ROOTFS)
mkimage -f $@.its $@.new
PATH=$(LINUX_DIR)/scripts/dtc:$(PATH) mkimage -f $@.its $@.new
@mv $@.new $@
endef

0 comments on commit fe90e48

Please sign in to comment.
You can’t perform that action at this time.