[OpenWrt-devel][ at91 patches 4/4] target/linux/at91: change dtb file path

Sandeep Sheriker M sandeep.sheriker at microchip.com
Sat Aug 22 15:55:50 EDT 2020


changing dtb file path since the dtb files are build in KDIR folder
with image- prefix.

Signed-off-by: Sandeep Sheriker M <sandeep.sheriker at microchip.com>
---
 target/linux/at91/image/Makefile | 9 ++++-----
 1 file changed, 4 insertions(+), 5 deletions(-)

diff --git a/target/linux/at91/image/Makefile b/target/linux/at91/image/Makefile
index ff801dae86..5d2cee28a4 100644
--- a/target/linux/at91/image/Makefile
+++ b/target/linux/at91/image/Makefile
@@ -55,17 +55,16 @@ endef
 define Device/evaluation-dtb
   $(Device/evaluation)
   $(Device/dtb)
-  $(Device/evaluation-zImage)
-  IMAGES += dtb
-  IMAGE/dtb := install-dtb
+  #IMAGES += dtb
+  #IMAGE/dtb := install-dtb
   KERNEL_SUFFIX := -fit-zImage.itb
-  KERNEL := kernel-bin | gzip | fit gzip $$(DTS_DIR)/$$(DEVICE_DTS).dtb
+  KERNEL := kernel-bin | gzip | fit gzip $$(KDIR)/image-$$(DEVICE_DTS).dtb
 endef
 
 define Device/evaluation-fit
   $(Device/evaluation)
   KERNEL_SUFFIX := -fit-uImage.itb
-  KERNEL := kernel-bin | lzma | fit lzma $$(DTS_DIR)/$$(DEVICE_DTS).dtb
+  KERNEL := kernel-bin | lzma | fit lzma $$(KDIR)/image-$$(DEVICE_DTS).dtb
 endef
 
 define Device/production
-- 
2.25.1




More information about the openwrt-devel mailing list