summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephen Warren <swarren@nvidia.com>2014-02-25 11:20:14 -0700
committerStephen Warren <swarren@nvidia.com>2014-02-25 11:20:14 -0700
commitc3e69636b5b77c33b66c3191fecc35d240b88ae9 (patch)
tree6c0864118e188212c8f1bb5cceabd8380642dd51
parent8a1a7c9b4357f898d96d946aeddcc2227461189b (diff)
downloadtegra-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-xbuild4
1 files changed, 2 insertions, 2 deletions
diff --git a/build b/build
index 6142f31..f1df6ce 100755
--- a/build
+++ b/build
@@ -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)