added tiny c compiler and cgroups for orangepi pc

This commit is contained in:
wt
2026-02-19 18:33:22 +07:00
parent 5ce3d98d83
commit fba6a776ac
8 changed files with 71 additions and 13 deletions
+2
View File
@@ -25,6 +25,7 @@
. ./scripts/lm_sensors.sh
. ./scripts/wpa_supplicant.sh
. ./scripts/lrzsz.sh
. ./scripts/tcc.sh
#----------- Building rootfs ----------------------
rootfs() {
@@ -90,6 +91,7 @@ EOF
[ "$LIBSQLITE3_ENABLE" = "y"] && libsqlite3
[ "$LM_SENSORS_ENABLE" = "y" ] && lm_sensors
[ "$LRZSZ_ENABLE" = "y" ] && lrzsz-build
[ "$TCC_C_COMPILER_ENABLE" = "y" ] && tcc_build
if [ ! -z "$DEFAULT_HOSTNAME" ]; then
echo "$DEFAULT_HOSTNAME" > $rootfspath/etc/hostname