aboutsummaryrefslogtreecommitdiffstats
path: root/target
diff options
context:
space:
mode:
authorAdriĆ  Llaudet <adria.llaudet@gmail.com>2018-02-08 12:02:24 +0100
committerHauke Mehrtens <hauke@hauke-m.de>2018-02-10 21:02:53 +0100
commit90ceb0aeb1a4fb72cfab1c06384060b8ba09b3ab (patch)
treea00b0acec5ddd50ed311266145f2b5c4aecb64f8 /target
parent2fca8aa73e6357075881922b8ce5208fd9e12770 (diff)
downloadupstream-90ceb0aeb1a4fb72cfab1c06384060b8ba09b3ab.tar.gz
upstream-90ceb0aeb1a4fb72cfab1c06384060b8ba09b3ab.tar.bz2
upstream-90ceb0aeb1a4fb72cfab1c06384060b8ba09b3ab.zip
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 <adria.llaudet@gmail.com>
Diffstat (limited to 'target')
-rw-r--r--target/linux/imx6/image/Makefile2
1 files changed, 1 insertions, 1 deletions
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 \