From 90ceb0aeb1a4fb72cfab1c06384060b8ba09b3ab Mon Sep 17 00:00:00 2001 From: =?utf8?q?Adri=C3=A0=20Llaudet?= Date: Thu, 8 Feb 2018 12:02:24 +0100 Subject: [PATCH] imx6: use DTS_DIR at image build code MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit 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 --- target/linux/imx6/image/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 \ -- 2.30.2