-
Notifications
You must be signed in to change notification settings - Fork 23
/
Copy pathbuild_kernel_all.sh
executable file
·50 lines (37 loc) · 1.31 KB
/
build_kernel_all.sh
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
#!/bin/sh
export KERNELDIR=`readlink -f .`
cd $KERNELDIR;
mkdir -p $KERNELDIR/../BUILT_OUTPUTS
chmod 777 $KERNELDIR/../BUILT_OUTPUTS
rm -rf $KERNELDIR/../BUILT_OUTPUTS/*
chmod 777 $KERNELDIR/build_kernel_*
echo "Building N7100 .....";
./build_kernel_n7100.sh && sleep 10 && rm .config;
mv BUILT_*/ ../BUILT_OUTPUTS/
echo "Building N7100 CM .....";
./build_kernel_CM_n7100.sh && sleep 10 && rm .config;
mv BUILT_*/ ../BUILT_OUTPUTS/
echo "Building N7105 .....";
./build_kernel_n7105.sh && sleep 10 && rm .config;
mv BUILT_*/ ../BUILT_OUTPUTS/
echo "Building N7105 CM .....";
./build_kernel_CM_n7105.sh && sleep 10 && rm .config;
mv BUILT_*/ ../BUILT_OUTPUTS/
echo "Building I605 .....";
./build_kernel_i605.sh && sleep 10 && rm .config;
mv BUILT_*/ ../BUILT_OUTPUTS/
echo "Building I605 CM .....";
./build_kernel_CM_i605.sh && sleep 10 && rm .config;
mv BUILT_*/ ../BUILT_OUTPUTS/
echo "Building I9300 .....";
./build_kernel_i9300.sh && sleep 10 && rm .config;
mv BUILT_*/ ../BUILT_OUTPUTS/
echo "Building I9300 CM .....";
./build_kernel_CM_i9300.sh && sleep 10 && rm .config;
mv BUILT_*/ ../BUILT_OUTPUTS/
echo "Building I9305 .....";
./build_kernel_i9305.sh && sleep 10 && rm .config;
mv BUILT_*/ ../BUILT_OUTPUTS/
echo "Building I9305 CM .....";
./build_kernel_CM_i9305.sh && sleep 10 && rm .config;
mv BUILT_*/ ../BUILT_OUTPUTS/