forked from CyanogenMod/lge-kernel-msm7x27
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathcreateKernels
More file actions
executable file
·52 lines (44 loc) · 840 Bytes
/
createKernels
File metadata and controls
executable file
·52 lines (44 loc) · 840 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
releases=experimental-kernel-releases
echo "commit dir = $releases" #$1
VTAG=`echo $(git branch | grep "*" | sed "s/* //")`;
echo version tag = $VTAG
read -p "Press [Enter] key to start kernel creation ..."
#get date
DATUM=`date '+%Y%m%d'`
#get path
CURRENT=`pwd`
BASEDIR=`basename $CURRENT`
echo $BASEDIR
echo $releases #$1
#save original config
mv .config .config_save
#compile form clean base
make clean
echo
echo ta_off
cp .config-ta .config
./mka
cd ..
./anykernelmaker $BASEDIR $VTAG-ta-$DATUM $releases #$1
#cd $BASEDIR
#
#make clean
#echo
#echo roqu_off
#cp .config-roqu .config
#./mka
#cd ..
#./anykernelmaker $BASEDIR $VTAG-roqu-$DATUM $releases #$1
echo `pwd`
echo
cd $releases #$1
git status
echo
git pull
git add .
git commit -a -m "$VTAG"
git push
cd ..
cd $BASEDIR
#restore original config
mv .config_save .config