-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathbuild.sh
More file actions
executable file
·29 lines (22 loc) · 831 Bytes
/
build.sh
File metadata and controls
executable file
·29 lines (22 loc) · 831 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
#!/usr/bin/env bash
set -euo pipefail
rm -rf out
if ! podman run -it --rm docker.io/debian:trixie true; then
echo "error: podman must be installed on your machine"
exit 1
fi
# host != arm64
if ! podman run -it --rm --platform linux/arm64 docker.io/arm64v8/debian:trixie true; then
echo "error: qemu-user-static must be installed on your machine"
exit 1
fi
./container.sh ccache -M 50GB
./build_kernel.sh
echo '-------------------------------------------------------------------------'
./build_uboot.sh
echo '-------------------------------------------------------------------------'
./build_arm_trusted_firmware.sh
echo '-------------------------------------------------------------------------'
./build_rootfs.sh
echo '-------------------------------------------------------------------------'
du -hc out/*