summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnders Roxell <anders.roxell@linaro.org>2014-06-30 12:50:29 +0200
committerAnders Roxell <anders.roxell@linaro.org>2014-06-30 13:05:33 +0200
commit9f2c972a0ebd1041387230f1da0c664279e11f09 (patch)
treebdf9ed3deba3d4d616e2ac2fa7475ab272ce7b69
parent4a87b389b149f2750d02edd0881311077bf27b57 (diff)
downloadlinux-lng-9f2c972a0ebd1041387230f1da0c664279e11f09.tar.gz
create a variable for GCC_VERSION
Signed-off-by: Anders Roxell <anders.roxell@linaro.org>
-rwxr-xr-xlinux-lng.sh7
1 files changed, 4 insertions, 3 deletions
diff --git a/linux-lng.sh b/linux-lng.sh
index 4569fdd..36355a4 100755
--- a/linux-lng.sh
+++ b/linux-lng.sh
@@ -9,6 +9,7 @@ export linux_branch_version="${linux_branch_version:-"v3.14.x"}"
export linux_branch="${linux_branch:-"linux-lng-${linux_branch_version}"}"
endian=${endian:-le}
TC_RELEASE="${TC_RELEASE:-14.05}"
+GCC_VERSION="${GCC_VERSION:-4.8}"
export ARCH=arm
if [ -z "${WORKSPACE}" ]; then
@@ -81,9 +82,9 @@ cp -a builddir-*-${kernel_flavour}/.config kernel_config_${hwpack}
# Get rootfs
rm -f linaro-image-lng-generic*.tar.gz
-export ROOTFS_BUILD_NUMBER=`wget -q --no-check-certificate -O - https://ci.linaro.org/jenkins/job/openembedded-${rootfs_arch}-rootfs/gcc_version=4.8,label=build,rootfs=lng/lastSuccessfulBuild/buildNumber`
-export ROOTFS_BUILD_TIMESTAMP=`wget -q --no-check-certificate -O - https://ci.linaro.org/jenkins/job/openembedded-${rootfs_arch}-rootfs/gcc_version=4.8,label=build,rootfs=lng/lastSuccessfulBuild/buildTimestamp?format=yyyyMMdd`
-export ROOTFS_BUILD_URL="http://snapshots.linaro.org/openembedded/images/lng-${rootfs_arch}-gcc-4.8/${ROOTFS_BUILD_NUMBER}/linaro-image-lng-generic${rootfs_arch}-${ROOTFS_BUILD_TIMESTAMP}-${ROOTFS_BUILD_NUMBER}.rootfs.tar.gz"
+export ROOTFS_BUILD_NUMBER=`wget -q --no-check-certificate -O - https://ci.linaro.org/jenkins/job/openembedded-${rootfs_arch}-rootfs/gcc_version=${GCC_VERSION},label=build,rootfs=lng/lastSuccessfulBuild/buildNumber`
+export ROOTFS_BUILD_TIMESTAMP=`wget -q --no-check-certificate -O - https://ci.linaro.org/jenkins/job/openembedded-${rootfs_arch}-rootfs/gcc_version=${GCC_VERSION},label=build,rootfs=lng/lastSuccessfulBuild/buildTimestamp?format=yyyyMMdd`
+export ROOTFS_BUILD_URL="http://snapshots.linaro.org/openembedded/images/lng-${rootfs_arch}-gcc-${GCC_VERSION}/${ROOTFS_BUILD_NUMBER}/linaro-image-lng-generic${rootfs_arch}-${ROOTFS_BUILD_TIMESTAMP}-${ROOTFS_BUILD_NUMBER}.rootfs.tar.gz"
wget --progress=dot -e dotbytes=2M ${ROOTFS_BUILD_URL}
# Create pre-built image(s)