-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathcreateKernels
More file actions
executable file
·69 lines (59 loc) · 1.01 KB
/
createKernels
File metadata and controls
executable file
·69 lines (59 loc) · 1.01 KB
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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
echo "commit dir = $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 $VTAG
#save original config
mv .config .config_save
#compile form clean base
make clean
echo
echo ta_off
cp .config-ta_off .config
./mka
cd ..
./anykernelmaker $BASEDIR $VTAG-ta-vsyncOff-$DATUM $1
cd $BASEDIR
make clean
echo
echo ta_on
cp .config-ta_on .config
./mka
cd ..
./anykernelmaker $BASEDIR $VTAG-ta-vsync-$DATUM $1
#cd $BASEDIR
#
#make clean
#echo
#echo roqu_off
#cp .config-roqu_off .config
#./mka
#cd ..
#./anykernelmaker $BASEDIR $VTAG-roqu-vsyncOff-$DATUM $1
#cd $BASEDIR
#
#make clean
#echo
#echo roqu_on
#cp .config-roqu_on .config
#./mka
#cd ..
#./anykernelmaker $BASEDIR $VTAG-roqu-vsync-$DATUM $1
echo
cd $1
git status
echo
git pull
git add .
git commit -a -m "$DATUM"
git push
cd ..
cd $BASEDIR
#restore original config
mv .config_save .config