[flasher PATCH 3/3] Support U-Boot's temporary output DTB path

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Stephen Warren <swarren@xxxxxxxxxx>

Historically, U-Boot has generated $(obj)/u-boot.dtb. During the Kbuild
conversion, this file was moved to $(obj)/dts/dt.dtb. While this change
will be imminentely reverted in the U-Boot makefiles, it's quite easy to
support in the flasher build scripts, so we may as well. This prevents
user confusion and/or "git bisect" issues.

Signed-off-by: Stephen Warren <swarren@xxxxxxxxxx>
---
 build | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/build b/build
index f1df6ce9536b..7bfc2d9d0aa8 100755
--- a/build
+++ b/build
@@ -136,6 +136,8 @@ def import_uboot_one_board(boardname, build_uboot_dir):
     cp(src, dst)
 
     src = os.path.join(build_uboot_dir, 'u-boot.dtb')
+    if not os.path.exists(src):
+        src = os.path.join(build_uboot_dir, 'dts/dt.dtb')
     dst = os.path.join(out_board_dir, 'u-boot.dtb')
     cp(src, dst)
 
-- 
1.8.1.5

--
To unsubscribe from this list: send the line "unsubscribe linux-tegra" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [ARM Kernel]     [Linux ARM]     [Linux ARM MSM]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux