aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYongqin Liu <yongqin.liu@linaro.org>2017-02-16 13:15:02 +0800
committerVishal Bhoj <vishal.bhoj@linaro.org>2017-02-16 05:20:34 +0000
commit9be173a8907766be24862e9893fbf2e32ddb994f (patch)
treede4e994f7d7457506c80dd82b7a468cf68ddf381
parent849c0662be7e27d295f96eddd4b26fe1a605d691 (diff)
downloadlinaro-android-build-tools-9be173a8907766be24862e9893fbf2e32ddb994f.tar.gz
create-user-build-script: update for x15 build
export variants of TARGET_BUILD_UBOOT and BOARD_USES_FULL_RECOVERY_IMAGE, also install liblz4-tool package Change-Id: Idfd44fa868306cfce06b816b3a8e30606043eeea Signed-off-by: Yongqin Liu <yongqin.liu@linaro.org>
-rwxr-xr-xbuild-scripts/create-user-build-script4
1 files changed, 3 insertions, 1 deletions
diff --git a/build-scripts/create-user-build-script b/build-scripts/create-user-build-script
index 973ec82..7fb3753 100755
--- a/build-scripts/create-user-build-script
+++ b/build-scripts/create-user-build-script
@@ -81,7 +81,7 @@ echo
echo "Setting up Ubuntu software repositories..."
sudo apt-get update
sudo apt-get install software-properties-common
-PKGS='git-core gnupg flex bison gperf build-essential zip curl zlib1g-dev g++-multilib libc6-dev-i386 lib32ncurses5-dev x11proto-core-dev libx11-dev lib32z-dev ccache libgl1-mesa-dev libxml2-utils xsltproc unzip vim-common python-parted python-yaml wget uuid-dev python-mako u-boot-tools bc acpica-tools python-wand python-crypto mtools'
+PKGS='git-core gnupg flex bison gperf build-essential zip curl zlib1g-dev g++-multilib libc6-dev-i386 lib32ncurses5-dev x11proto-core-dev libx11-dev lib32z-dev ccache libgl1-mesa-dev libxml2-utils xsltproc unzip vim-common python-parted python-yaml wget uuid-dev python-mako u-boot-tools bc acpica-tools python-wand python-crypto mtools liblz4-tool'
if [[ \${UBUNTU} =~ "trusty" || \${UBUNTU} =~ "utopic" || \${UBUNTU} =~ "vivid" || \${UBUNTU} =~ "wily" || \${UBUNTU} =~ "xenial" ]]; then
echo
@@ -212,6 +212,8 @@ EOF
export_config_env_var "TARGET_OPTIMIZE_FOR_SIZE"
export_config_env_var "USE_CLANG_PLATFORM_BUILD"
export_config_env_var "TARGET_SYSTEMIMAGES_USE_SQUASHFS"
+ export_config_env_var "TARGET_BUILD_UBOOT"
+ export_config_env_var "BOARD_USES_FULL_RECOVERY_IMAGE"
}