aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYongqin Liu <yongqin.liu@linaro.org>2016-07-07 12:54:09 +0800
committerYongqin Liu <yongqin.liu@linaro.org>2016-07-07 12:54:09 +0800
commit88038d1653fdb7a0fef35ddc7218b76079a6527f (patch)
treeb57dad26f57dafb641e12057685fdfb5da059d8f
parenta10f6b26671eebf5b2fb183d55feb02dfd57d76d (diff)
downloadlinaro-android-build-tools-88038d1653fdb7a0fef35ddc7218b76079a6527f.tar.gz
create-user-build-script: add showcommands and redirect make log
1. add the showcommands for make to see more details of the compilation 2. redirect the compiling log into a file, so that we can ask user to send the compiling log for check if there are compiling problems. Change-Id: I28fa7c8ccdaa5677b9fda49276f00e39d0c16ab6 Signed-off-by: Yongqin Liu <yongqin.liu@linaro.org>
-rwxr-xr-xbuild-scripts/create-user-build-script2
1 files changed, 1 insertions, 1 deletions
diff --git a/build-scripts/create-user-build-script b/build-scripts/create-user-build-script
index 41dad69..004bbb0 100755
--- a/build-scripts/create-user-build-script
+++ b/build-scripts/create-user-build-script
@@ -311,7 +311,7 @@ build_commands()
# Build the code
source build/envsetup.sh
lunch \${LUNCH}
-make -j\${CPUS} ${MAKE_TARGETS}
+(make -j\${CPUS} ${MAKE_TARGETS} showcommands) 2>&1 |tee build-${TARGET_PRODUCT}.log
EOF
}