forked from RobertCNelson/linux-dev
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathversion.sh
40 lines (32 loc) · 780 Bytes
/
version.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
#!/bin/sh
#
ARCH=$(uname -m)
if [ $(which nproc) ] ; then
CORES=$(nproc)
else
CORES=1
fi
#Debian 7 (Wheezy): git version 1.7.10.4 and later needs "--no-edit"
unset git_opts
git_no_edit=$(LC_ALL=C git help pull | grep -m 1 -e "--no-edit" || true)
if [ ! "x${git_no_edit}" = "x" ] ; then
git_opts="--no-edit"
fi
config="multi_v7_defconfig"
#toolchain="gcc_linaro_eabi_4_8"
#toolchain="gcc_linaro_eabi_4_9"
#toolchain="gcc_linaro_gnueabi_4_6"
#toolchain="gcc_linaro_gnueabihf_4_7"
#toolchain="gcc_linaro_gnueabihf_4_8"
toolchain="gcc_linaro_gnueabihf_4_9"
#Kernel/Build
KERNEL_REL=3.18
KERNEL_TAG=${KERNEL_REL}-rc4
BUILD=armv7-devel-r23
#v3.X-rcX + upto SHA
#KERNEL_SHA="a3157809772c4a5256ef68a4d5b21ea4ecc80ad4"
#git branch
#BRANCH="v3.18.x"
DISTRO=cross
DEBARCH=armhf
#