-
Notifications
You must be signed in to change notification settings - Fork 105
Expand file tree
/
Copy pathsystem.sh.gitlab
More file actions
44 lines (33 loc) · 1007 Bytes
/
system.sh.gitlab
File metadata and controls
44 lines (33 loc) · 1007 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
41
42
43
44
#!/bin/sh
# SPDX-FileCopyrightText: Robert Nelson <robertcnelson@gmail.com>
#
# SPDX-License-Identifier: MIT
#copy as "system.sh" and tweak for your system
ARCH=$(uname -m)
#ARM Native gcc compiler (running gcc on arm target)
if [ "x${ARCH}" = "xarmv7l" ] || [ "x${ARCH}" = "xaarch64" ] ; then
#Native arm gcc compiler
CC=
fi
###REQUIRED:
#ARM GCC CROSS Compiler:
#if CC is not set, a known working linaro based gcc compiler will be downloaded and utilized.
#CC=<enter full path>/bin/arm-none-eabi-
#CC=<enter full path>/bin/arm-linux-gnueabi-
#CC=<enter full path>/bin/arm-linux-gnueabihf-
CC=arm-linux-gnueabihf-
###OPTIONAL:
###OPTIONAL: CORES: number of CPU cores to use for compilation
#CORES=4
###OPTIONAL: LINUX_GIT: specify location of locally cloned git tree.
#
LINUX_GIT=/opt/linux-src/
###ADVANCED: RUN_BISECT: used with ./scripts/bisect.sh
#
#RUN_BISECT=1
###ADVANCED: AUTO_BUILD: Easier integration with Jenkins/Buildbot/etc..
#
AUTO_BUILD=1
USE_LOCAL_GIT_MIRROR=1
#DTBS_CHECK=1
#