-
Notifications
You must be signed in to change notification settings - Fork 18
/
Copy pathbuild.conf
executable file
·82 lines (65 loc) · 1.41 KB
/
build.conf
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
#
# OPENWRT build config
#
#REL=19.07.0-rc1
#REL=19.07.0-rc3
#REL=18.06.4
#REL=19.07.0
#REL=19.07.1
#REL=19.07.2
#REL=19.07.3
#REL=19.07.4
#REL=19.07.5
#REL=19.07.7
#REL=19.07.8
#REL=19.07.8
[ "$REL" ] || \
REL=23.05.5
[ "$VER" ] || \
VER=v$REL
KERNEL_REL=5.14-rc5.1-ow
KERNEL_DL=https://github.com/hyphop/khadas-linux-kernel/releases/download
KERNEL_DL=https://github.com/khadas/khadas-linux-kernel/releases/download
UBOOT_DL=https://github.com/hyphop/khadas-uboot/releases/download
UBOOT_DL=https://github.com/khadas/khadas-uboot/releases/download
UBOOT_REL=0.16.1
LABEL=OPENWRT
Label=OpenWrt
BOARD=VIM1
BOARDS="VIM1 VIM2 VIM3 VIM3L Edge"
BITS=64
PART1_LABEL=OW_BOOT
PART2_LABEL=
PART2_1_LABEL=rootfs_data
TARGET=armsr
TARGET_ARCH=armv8
OWARCH=aarch64_generic
TARGET_KERNEL_ARCH=arm64
P1OFFSET=4096
PART0SIZE=40
PART1SIZE=99
PART2SIZE=100
OVLTYPE=ext4
HOST_ARCH=x86_64
DL_PROG=wget
DL_PROG=curl
PKGS_EXTRA_VER=0.1
REP_MOD="4.14.131 4.14.151 4.14.156"
OWTMP=/tmp/openwrt_khadas
OPKG_CONF=/tmp/openwrt.opkg.conf
OPKG_LIST=/tmp/opkg-lists
COMP=gzip
COMP=zstd
CMP_BLOCK_SIZE=1M
CMP_OPTS_ZSTD="-Xcompression-level 22"
CMP_BLOCK_SIZE=256K
CMP_OPTS_ZSTD="-Xcompression-level 15"
NO_FAILSAFE=1
OVERLAY_INIT=1
OVERLAY_INIT=
## USER REWRITE VARS ##
CONF_USER="$(dirname $0)/build.conf.user"
# echo "[i] try user config $CONF_USER">&2
[ -f "$CONF_USER" ] && . $CONF_USER
# remove raw images after compressions
NO_RAW_IMG=1