[openwrt/openwrt] imx6: use DTS_DIR at image build code

LEDE Commits lede-commits at lists.infradead.org
Sat Feb 10 12:46:49 PST 2018


hauke pushed a commit to openwrt/openwrt.git, branch master:
https://git.lede-project.org/90ceb0aeb1a4fb72cfab1c06384060b8ba09b3ab

commit 90ceb0aeb1a4fb72cfab1c06384060b8ba09b3ab
Author: Adrià Llaudet <adria.llaudet at gmail.com>
AuthorDate: Thu Feb 8 12:02:24 2018 +0100

    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 at gmail.com>
---
 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 7f35c56..cef08f2 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 \



More information about the lede-commits mailing list