forked from RobertCNelson/linux-dev
-
Notifications
You must be signed in to change notification settings - Fork 10
Expand file tree
/
Copy pathversion.sh
More file actions
40 lines (32 loc) · 732 Bytes
/
version.sh
File metadata and controls
40 lines (32 loc) · 732 Bytes
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="omap2plus_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.8
KERNEL_TAG=${KERNEL_REL}.13
BUILD=bone67
#v3.X-rcX + upto SHA
#KERNEL_SHA=""
#git branch
BRANCH="am33x-v3.8"
DISTRO=cross
DEBARCH=armhf
#