diff options
author | Stephen Warren <swarren@nvidia.com> | 2014-02-25 11:22:53 -0700 |
---|---|---|
committer | Stephen Warren <swarren@nvidia.com> | 2014-02-25 11:22:53 -0700 |
commit | 570547f49328f61d577b27b1b440afacdf7f6cb1 (patch) | |
tree | 72d6d0e8ed292bf12fd7aeaab0acd3531a5c77df | |
parent | c3e69636b5b77c33b66c3191fecc35d240b88ae9 (diff) | |
download | tegra-uboot-flasher-scripts-570547f49328f61d577b27b1b440afacdf7f6cb1.tar.gz |
Support U-Boot's temporary output DTB path
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@nvidia.com>
-rwxr-xr-x | build | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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) |