summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnders Roxell <anders.roxell@linaro.org>2014-06-30 13:05:23 +0200
committerAnders Roxell <anders.roxell@linaro.org>2014-06-30 13:05:23 +0200
commit84063687e1080957e66b4ec8494332dc6ebd2415 (patch)
tree090b2d79bdac10533560ff15aecac7002e197ebb
parent4231d5660f030e1327f942413fbc2a3d3f99236c (diff)
downloadlinux-lng-preempt-rt-84063687e1080957e66b4ec8494332dc6ebd2415.tar.gz
create a variable for GCC_VERSION
Signed-off-by: Anders Roxell <anders.roxell@linaro.org>
-rwxr-xr-xlinux-lng-preempt-rt.sh7
1 files changed, 4 insertions, 3 deletions
diff --git a/linux-lng-preempt-rt.sh b/linux-lng-preempt-rt.sh
index d11b83b..ff053f9 100755
--- a/linux-lng-preempt-rt.sh
+++ b/linux-lng-preempt-rt.sh
@@ -9,6 +9,7 @@ export linux_branch_version="${linux_branch_version:-"v3.14.x"}"
export linux_branch="${linux_branch:-"linux-lng-preempt-rt-${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)