diff options
author | Stephen Warren <swarren@nvidia.com> | 2014-02-25 11:20:14 -0700 |
---|---|---|
committer | Stephen Warren <swarren@nvidia.com> | 2014-02-25 11:20:14 -0700 |
commit | c3e69636b5b77c33b66c3191fecc35d240b88ae9 (patch) | |
tree | 6c0864118e188212c8f1bb5cceabd8380642dd51 | |
parent | 8a1a7c9b4357f898d96d946aeddcc2227461189b (diff) | |
download | tegra-uboot-flasher-scripts-c3e69636b5b77c33b66c3191fecc35d240b88ae9.tar.gz |
Use O= rather than BUILD_DIR= when building U-Boot
"make O=" works both before and after U-Boot's conversion to Kbuild,
whereas "make BUILD_DIR=" only works before.
Signed-off-by: Stephen Warren <swarren@nvidia.com>
-rwxr-xr-x | build | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -159,8 +159,8 @@ def build_uboot_one_board(boardname): out_board_dir = gen_out_board_dir(boardname) mkdir(out_board_dir) - run(uboot_dir, 'make BUILD_DIR=' + build_uboot_dir + ' ' + boardname + '_config') - run(uboot_dir, 'make BUILD_DIR=' + build_uboot_dir + ' -s ' + makejobs) + run(uboot_dir, 'make O=' + build_uboot_dir + ' ' + boardname + '_config') + run(uboot_dir, 'make O=' + build_uboot_dir + ' -s ' + makejobs) import_uboot_one_board(boardname, build_uboot_dir) |