forked from parazyd/arm-sdk
-
Notifications
You must be signed in to change notification settings - Fork 0
/
config
124 lines (105 loc) · 3.35 KB
/
config
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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
#!/usr/bin/env zsh
# Copyright (c) 2016-2017 Dyne.org Foundation
# arm-sdk is written and maintained by Ivan J. <parazyd@dyne.org>
#
# This file is part of arm-sdk
#
# This source code is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This software is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this source code. If not, see <http://www.gnu.org/licenses/>.
## arm-sdk configuration
## ---------------------
## options for `make` when building kernel
MAKEOPTS="-j$(( $(grep -c 'processor' /proc/cpuinfo) + 1 ))"
## uncomment if you wish to create stage4 tarballs for faster rebuilding
# TAR_STAGE4=true
## devuan packaged toolchain
devuantc="arm-none-eabi-"
## linaro armhf toolchain
armhftc="arm-linux-gnueabihf-"
## linaro armel toolchain
armeltc="arm-linux-gnueabi-"
## linaro arm64 toolchain
arm64tc="aarch64-linux-gnu-"
export PATH="$R/gcc/linaro-armhf/bin:$R/gcc/linaro-armel/bin:$R/gcc/linaro-arm64/bin"
export PATH="$PATH:/usr/sbin:/sbin:/usr/bin:/bin"
## static qemu arm binaries
armel_qemu_bin="/usr/bin/qemu-arm-static"
armhf_qemu_bin="/usr/bin/qemu-arm-static"
arm64_qemu_bin="/usr/bin/qemu-aarch64-static"
## extra_packages for all images
extra_packages+=(fake-hwclock busybox-static ntp)
extra_packages+=(fbterm pciutils usbutils)
purge_packages+=()
## linux kernel firmware
linuxfirmware="https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git"
## linux mainline kernel
linuxmainline="git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git"
## u-boot mainline
ubootmainline="git://git.denx.de/u-boot.git"
arrs+=(uboot_configs board_dtbs)
uboot_configs=(
A10-OLinuXino-Lime_defconfig
A20-OLinuXino-Lime2_defconfig
A20-OLinuXino-Lime_defconfig
A20-OLinuXino_MICRO_defconfig
Bananapi_defconfig
Bananapro_defconfig
CHIP_defconfig
CHIP_pro_defconfig
Cubieboard2_defconfig
Cubieboard4_defconfig
Cubieboard_defconfig
Cubietruck_defconfig
Cubietruck_plus_defconfig
Lamobo_R1_defconfig
orangepi_2_defconfig
Orangepi_defconfig
orangepi_lite_defconfig
Orangepi_mini_defconfig
orangepi_plus_defconfig
orangepi_zero_defconfig
q8_a33_tablet_1024x600_defconfig
q8_a33_tablet_800x480_defconfig
Sinovoip_BPI_M2_defconfig
)
board_dtbs=(
sun4i-a10-olinuxino-lime.dtb
sun7i-a20-olinuxino-lime2.dtb
sun7i-a20-olinuxino-lime.dtb
sun7i-a20-olinuxino-micro.dtb
sun7i-a20-bananapi.dtb
sun7i-a20-bananapro.dtb
sun5i-r8-chip.dtb
sun5i-gr8-chip-pro.dtb
sun7i-a20-cubieboard2.dtb
sun9i-a80-cubieboard4.dtb
sun4i-a10-cubieboard.dtb
sun7i-a20-cubietruck.dtb
sun8i-a83t-cubietruck-plus.dtb
sun7i-a20-lamobo-r1.dtb
sun8i-h3-orangepi-2.dtb
sun7i-a20-orangepi.dtb
sun8i-h3-orangepi-lite.dtb
sun7i-a20-orangepi-mini.dtb
sun8i-h3-orangepi-plus.dtb
sun8i-h2-plus-orangepi-zero.dtb
sun8i-a33-q8-tablet.dtb
sun6i-a31s-sinovoip-bpi-m2.dtb
)
## http://git.denx.de/?p=u-boot.git;a=blob;f=board/sunxi/README.pine64
uboot64_configs=(
pine64_plus_defconfig
)
board64_dtbs=(
allwinner/sun50i-a64-pine64-plus.dtb
)