diff options
Diffstat (limited to 'build')
-rwxr-xr-x | build | 9 |
1 files changed, 8 insertions, 1 deletions
@@ -1,6 +1,6 @@ #!/usr/bin/env python2 -# Copyright (c) 2013, NVIDIA CORPORATION. All rights reserved. +# Copyright (c) 2013-2015 NVIDIA CORPORATION. All rights reserved. # # Permission is hereby granted, free of charge, to any person obtaining a # copy of this software and associated documentation files (the "Software"), @@ -156,6 +156,13 @@ def import_uboot_one_board(boardname, build_uboot_dir): f.write(bss_size) f.close() + get_entry = os.path.join(scripts_dir, 'elf-get-entry') + uboot_spl = os.path.join(build_uboot_dir, 'spl', 'u-boot-spl') + dst = os.path.join(out_board_dir, 'u-boot-spl-entry') + with open(dst, "wt") as dst_f: + cmd = [get_entry, uboot_spl] + subprocess.check_call(cmd, stdout=dst_f) + src = os.path.join(build_uboot_dir, 'u-boot-nodtb-tegra.bin') dst = os.path.join(out_board_dir, 'u-boot-nodtb-tegra.bin') cp(src, dst) |