forked from coolya/android_kernel_samsung
-
Notifications
You must be signed in to change notification settings - Fork 7
/
prepcdma.sh
executable file
·24 lines (20 loc) · 841 Bytes
/
prepcdma.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
make mrproper
echo "Old build cleaned"
if [ -f arch/arm/mach-s5pv210/mach-aries.c_backup ]
then
mv arch/arm/mach-s5pv210/mach-aries.c arch/arm/mach-s5pv210/mach-aries.c_telus
mv arch/arm/mach-s5pv210/mach-aries.c_backup arch/arm/mach-s5pv210/mach-aries.c
echo " "
echo "Found mach-aries.c_backup from failed Telus building"
echo "Switching files for clean build"
echo " "
fi
if [ -f drivers/misc/samsung_modemctl/built-in.443cdma_samsung_modemctl ]
then
cp drivers/misc/samsung_modemctl/built-in.443cdma_samsung_modemctl drivers/misc/samsung_modemctl/built-in.o
#cp drivers/misc/samsung_modemctl/modemctl/built-in.443cdma_modemctl drivers/misc/samsung_modemctl/modemctl/built-in.o
echo "Built-in.o modem files for CDMA copied"
else
echo "***** built-in.443cdma files are missing *****"
echo "******** Please build old CDMA *********"
fi