~pfalcon/linaro-ci/pfalcon

« back to all changes in this revision

Viewing changes to jenkins_kernel_build_inst

  • Committer: Deepti B. Kalakeri
  • Date: 2012-05-28 07:57:57 UTC
  • mfrom: (67.1.2 enable_custom_gcc_usage)
  • Revision ID: deepti.kalakeri@linaro.org-20120528075757-e4n7d90toabtkxyq
Enable using customized toolchain to be used to build the kernel

Show diffs side-by-side

added added

removed removed

Lines of Context:
30
30
if test -z "$lava_test_plan"; then
31
31
  lava_test_plan="ltp, pwrmgmt"
32
32
fi
 
33
 
 
34
if test -z "$toolchain_url"; then
 
35
  gcc_compiler=`which arm-linux-gnueabi-gcc`
 
36
else
 
37
  wget -cq $toolchain_url
 
38
  toolchain_tar_filename=`basename $toolchain_url`
 
39
  mkdir "toolchain"
 
40
  tar -C "toolchain"  --strip-components 1 -xf $toolchain_tar_filename
 
41
  gcc_compiler=`find $PWD/toolchain/bin/arm-linux-gnueabi-gcc |head -n1`
 
42
fi
 
43
 
33
44
if test -z "$git_reset"; then
34
45
  git_reset=false
35
46
fi
42
53
export git_web_url
43
54
export submit_job
44
55
export lava_test_plan
 
56
export gcc_cc_version=`sh $PWD/scripts/gcc-version.sh -p $gcc_compiler`
45
57
export bundle_stream_name=`echo $JOB_NAME | sed -e 's/_.*//' -e 's/\./_/g'`
 
58
export TOOLCHAIN_PREFIX=`echo $gcc_compiler | sed -e 's/-gcc$/-/'`
46
59
kernel_config_name=`echo ${kernel_config} | sed -e 's/_defconfig//g'`
47
60
 
48
61
if $git_reset = "true" ; then