diff options
author | Zach Pfeffer <zach.pfeffer@linaro.org> | 2013-01-24 13:16:59 -0600 |
---|---|---|
committer | Zach Pfeffer <zach.pfeffer@linaro.org> | 2013-01-24 13:16:59 -0600 |
commit | 5ec684db74cc09946aa8058372931ab9f71c1848 (patch) | |
tree | 6997e683be946cd1e484f22100747c7e8e023e98 | |
parent | 827f9be52a2fdb96a1742d2548a6db4c52feff52 (diff) | |
download | at-5ec684db74cc09946aa8058372931ab9f71c1848.tar.gz |
tools: add an optional param to build to target a project
Signed-off-by: Zach Pfeffer <zach.pfeffer@linaro.org>
-rwxr-xr-x | tools.sh | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -143,7 +143,12 @@ function build() { export ANDROID_64=true . build/envsetup.sh - make -j${CPUS} boottarball systemtarball userdatatarball + + if [ -z "$1" ]; then + make -j${CPUS} boottarball systemtarball userdatatarball showcommands 2>&1 | tee build_log.txt + else + make -j${CPUS} $1 showcommands 2>&1 | tee build_log.txt + fi } export BUILD_DOC="just make boot stuff (rebuilds ramdisk.img)" |