From: AdriĆ  Llaudet Date: Thu, 8 Feb 2018 11:02:24 +0000 (+0100) Subject: imx6: use DTS_DIR at image build code X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=90ceb0aeb1a4fb72cfab1c06384060b8ba09b3ab;p=openwrt%2Fstaging%2Flinusw.git imx6: use DTS_DIR at image build code Use "$(DTS_DIR)", defined at include/image.mk, instead of "$(LINUX_DIR)/arch/$(LINUX_KARCH)/boot/dts" in order to generalize and allow a better Device/* device-tree parameterization (i.e. DEVICE_DTS_DIR and DTS_DIR). Signed-off-by: AdriĆ  Llaudet --- diff --git a/target/linux/imx6/image/Makefile b/target/linux/imx6/image/Makefile index 7f35c56b79..cef08f227e 100644 --- a/target/linux/imx6/image/Makefile +++ b/target/linux/imx6/image/Makefile @@ -22,7 +22,7 @@ define Build/boot-overlay $(foreach dts,$(DEVICE_DTS), \ $(CP) \ - $(LINUX_DIR)/arch/$(ARCH)/boot/dts/$(dts).dtb \ + $(DTS_DIR)/$(dts).dtb \ $@.boot/$(IMG_PREFIX)-$(dts).dtb; \ ln -sf \ $(IMG_PREFIX)-$(dts).dtb \