forked from RobertCNelson/linux-dev
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathversion.sh
42 lines (33 loc) · 786 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
41
42
#!/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
unset GIT_NOEDIT
LC_ALL=C git help pull | grep -m 1 -e "--no-edit" >/dev/null 2>&1 && GIT_NOEDIT=1
if [ "${GIT_NOEDIT}" ] ; then
GIT_OPTS="${GIT_OPTS} --no-edit"
fi
config="multi_v7_defconfig"
#toolchain="arm9_gcc_4_7"
#toolchain="gcc_arm_embedded_4_8"
#toolchain="cortex_gcc_4_6"
#toolchain="cortex_gcc_4_7"
#toolchain="cortex_gcc_4_8"
toolchain="gcc_linaro_gnueabihf_4_8"
#Kernel/Build
KERNEL_REL=3.14
KERNEL_TAG=${KERNEL_REL}-rc3
BUILD=armv7-devel-r60
#v3.X-rcX + upto SHA
#KERNEL_SHA="4675348e78fab420e70f9144b320d9c063c7cee8"
#git branch
#BRANCH="v3.14.x"
BUILDREV=1.0
DISTRO=cross
DEBARCH=armhf