-
-
Notifications
You must be signed in to change notification settings - Fork 65
Expand file tree
/
Copy pathconfig
More file actions
25 lines (20 loc) · 506 Bytes
/
Copy pathconfig
File metadata and controls
25 lines (20 loc) · 506 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
#!/bin/false
# TODO: fancy menu?
# Cadmium flavor
# One of: arm64-chromebook, arm32-chromebook, arm64-uboot, arm64-efi
if [ "$RELEASE" = "" ]; then
FLAV=arm64-chromebook
else
FLAV=$RELEASE
fi
# RootFS type
# One of: debian, void, void-musl, arch
ROOTFS=debian
# FS type
# f2fs, ext4
FILESYSTEM=ext4
# Debian and debian-ish distro suite (Not for arch)
# sid, testing, stable
SUITE=sid
# How many threads should be used for building kernel
THREADS=$(echo "if ($(nproc) > 2) $(nproc) - 2 else 1" | bc)