forked from yonglongliu/u-boot64
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmake.sh
executable file
·59 lines (54 loc) · 1.47 KB
/
make.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
50
51
52
53
54
55
56
57
58
59
if [ "$1" = "" ]
then
echo "Pleast input command : make tsharkl or make whale or sharklt8"
fi
if [ "$1" = "sp9838aea" ]
then
export PATH=$PATH:$(pwd)/../prebuilts/gcc/linux-x86/aarch64/aarch64-linux-android-4.9/bin
export BUILD_DIR=./out
export make CROSS_COMPILE=aarch64-linux-android-
export UBOOT_DEBUG_FLAG=-DDEBUG
make distclean
make sp9838aea_5mod_config
make -j4
fi
if [ "$1" = "spwhale_5modeb_volte" ]
then
export PATH=$PATH:$(pwd)/../prebuilts/gcc/linux-x86/aarch64/aarch64-linux-android-4.9/bin
export BUILD_DIR=./out
export make CROSS_COMPILE=aarch64-linux-android-
export UBOOT_DEBUG_FLAG=-DDEBUG
make distclean
make spwhale_5modeb_volte_config
make -j4
fi
if [ "$1" = "spwhale_5modeb" ]
then
export PATH=$PATH:$(pwd)/../prebuilts/gcc/linux-x86/aarch64/aarch64-linux-android-4.9/bin
export BUILD_DIR=./out
export make CROSS_COMPILE=aarch64-linux-android-
export UBOOT_DEBUG_FLAG=-DDEBUG
make distclean
make spwhale_5modeb_config
make -j4
fi
if [ "$1" = "sp9830a-5h10_ga1" ]
then
export PATH=$PATH:$(pwd)/../prebuilts/gcc/linux-x86/arm/arm-eabi-4.8/bin
export BUILD_DIR=./out
export make CROSS_COMPILE=arm-eabi-
export UBOOT_DEBUG_FLAG=-DDEBUG
make distclean
make sp9830a-5h10_ga1_config
make -j4
fi
if [ "$1" = "sp9830a-7h10_ga1" ]
then
export PATH=$PATH:$(pwd)/../prebuilts/gcc/linux-x86/arm/arm-eabi-4.8/bin
export BUILD_DIR=./out
export make CROSS_COMPILE=arm-eabi-
export UBOOT_DEBUG_FLAG=-DDEBUG
make distclean
make sp9830a-7h10_ga1_config
make -j4
fi