forked from kamarush/Xperia-2011-KRsH-Kernel-2.6.32.9-ICS
-
Notifications
You must be signed in to change notification settings - Fork 8
/
05_makeall
executable file
·27 lines (21 loc) · 960 Bytes
/
05_makeall
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
turbov='v3.0'
sed -i 's/<text>Kernel .*<\/text>/<text>Kernel '$turbov'<\/text>/g' ./ramdisk-twrp/res/ui.xml
# zeus/zeusc (Play)
sed -i 's/CONFIG_LOCALVERSION=.*/CONFIG_LOCALVERSION=\"$(KERNEL_LOCAL_VERSION)-Turbo_'$turbov'\"/g' ./arch/arm/configs/turbo_zeus_defconfig
./01_makeconfig zeus
./03_makekernel
./04_makebootimg_bcm4329
mv -f ./boot.img ./boot_zeus_turbo-$turbov.img
# phoenix (Neo L)
sed -i 's/CONFIG_LOCALVERSION=.*/CONFIG_LOCALVERSION=\"$(KERNEL_LOCAL_VERSION)-Turbo_'$turbov'\"/g' ./arch/arm/configs/turbo_phoenix_defconfig
./01_makeconfig phoenix
./03_makekernel
./04_makebootimg_bcm4329
mv -f ./boot.img ./boot_phoenix_turbo-$turbov.img
# ayame (Arc S)
# NOT FINISHED YET
#sed -i 's/CONFIG_LOCALVERSION=.*/CONFIG_LOCALVERSION=\"$(KERNEL_LOCAL_VERSION)-Turbo_'$turbov'\"/g' ./arch/arm/configs/turbo_ayame_defconfig
#./01_makeconfig ayame
#./03_makekernel
#/bin/bash ./04_makebootimg_wl12xx
#mv -f ./boot.img ./boot_ayame_turbo-$turbov.img