aboutsummaryrefslogtreecommitdiff
path: root/build-scripts
diff options
context:
space:
mode:
authorVishal Bhoj <vishal.bhoj@linaro.org>2013-11-20 15:28:32 +0100
committerMilo Casagrande <milo@ubuntu.com>2013-11-20 15:28:32 +0100
commit4ed50ba5460696f28b03ba70446a362a3f48510f (patch)
treefcda1de9445bf66c457a1c697c6761c66196dd86 /build-scripts
parent473b62e691a2f6426d81c775f678edef2f05e346 (diff)
parente6322a380bc74522c7efcb8f41145794d4fc2656 (diff)
Fixed kernel source variable.
Diffstat (limited to 'build-scripts')
-rwxr-xr-xbuild-scripts/create-user-build-script6
1 files changed, 6 insertions, 0 deletions
diff --git a/build-scripts/create-user-build-script b/build-scripts/create-user-build-script
index 9921c0c..06315c6 100755
--- a/build-scripts/create-user-build-script
+++ b/build-scripts/create-user-build-script
@@ -176,7 +176,13 @@ export MANIFEST_REPO=\`echo ${MANIFEST_REPO} | sed 's/\/\/.*-bot@/\/\/'"\${LINAR
export MANIFEST_BRANCH=${MANIFEST_BRANCH}
export MANIFEST_FILENAME=${MANIFEST_FILENAME}
export TARGET_PRODUCT=${TARGET_PRODUCT}
+EOF
+ if [ -n "$TARGET_KERNEL_SOURCE" ] ; then
+ cat <<EOF
export TARGET_KERNEL_SOURCE=${TARGET_KERNEL_SOURCE}
+EOF
+ fi
+ cat <<EOF
export TARGET_SIMULATOR=false
export BUILD_TINY_ANDROID=${BUILD_TINY_ANDROID}
export CPUS=\`grep -c processor /proc/cpuinfo\`