~beagleboard-kernel/+junk/2.6-dev

« back to all changes in this revision

Viewing changes to build_deb.sh

  • Committer: Robert Nelson
  • Date: 2010-02-12 22:34:21 UTC
  • Revision ID: voodoo@voodoo-e6400-20100212223421-trolbz1wxj9ipk94
script change: update build_deb and build_sgx_modules to 2.6.33+ kernels, move admin scripts to tools dir

Show diffs side-by-side

added added

removed removed

Lines of Context:
2
2
 
3
3
unset KERNEL_REL
4
4
unset KERNEL_PATCH
 
5
unset RC_PATCH
5
6
unset BUILD
6
7
unset CC
7
8
unset LINUX_GIT
32
33
        cd ${DIR}/KERNEL
33
34
        export DIR KERNEL_REL GIT BRANCH REL BOARD BISECT
34
35
        /bin/bash -e ${DIR}/patch.sh
35
 
if [ "${KERNEL_PATCH}" ] ; then
36
 
        sed -i 's/EXTRAVERSION = .'$STABLE_PATCH'/EXTRAVERSION = .'$STABLE_PATCH'-'$BUILD'/g' ${DIR}/KERNEL/Makefile
 
36
if [ "${STABLE_PATCH}" ] ; then
 
37
        sed -i 's/EXTRAVERSION = '$STABLE_PATCH'/EXTRAVERSION = '$STABLE_PATCH'-'$BUILD'/g' ${DIR}/KERNEL/Makefile
 
38
        git add .
 
39
        git commit -a -m '2.6-dev '$KERNEL_PATCH'-'$BUILD' patchset'
 
40
else if [ "${RC_PATCH}" ] ; then
 
41
        sed -i 's/EXTRAVERSION = '$RC_PATCH'/EXTRAVERSION = '$RC_PATCH'-'$BUILD'/g' ${DIR}/KERNEL/Makefile
37
42
        git add .
38
43
        git commit -a -m '2.6-dev '$KERNEL_PATCH'-'$BUILD' patchset'
39
44
else
41
46
        git add .
42
47
        git commit -a -m '2.6-dev '$KERNEL_REL'-'$BUILD' patchset'
43
48
fi
 
49
fi
44
50
        cd ${DIR}/
45
51
}
46
52