Files
2026-09-01 11:45:46 +02:00

74 lines
2.2 KiB
Plaintext

# Keru OS / Kama — global make.conf template
#
# This is the single source of truth for a build. The TUI installer writes
# this file; Kama reads it. Every swappable choice in Keru lives here.
## ---------------------------------------------------------------------------
## Profile (the "swappables") — chosen at install time
## ---------------------------------------------------------------------------
# Which init system gets installed
# runit (default) | s6 | openrc | systemd | busybox-init | sysvinit | dinit | shepherd
INIT=runit
# Which libc the toolchain and packages build against
# glibc (default) | musl | uclibc-ng
LIBC=glibc
# Which filesystem the target root is formatted as
# ext4 (default) | ext2 | ext3 | btrfs | xfs | zfs | f2fs | jfs | reiserfs | swap
TARGET_FS=ext4
# Which kernel you want built
# linux (default) | linux-lts | linux-hardened | linux-cachyos | linux-zen
KERNEL=linux
# Which privilege-elevation tool gets installed
# doas (default) | sudo | opendoas | su
SUDO=doas
# Base package set pulled into every install
# (kernel, init, sudo, and net are selected separately below)
BASE_PACKAGES=(base toolchain openssh)
# Locale / clock / keymap applied to the target
LOCALE=en_US.UTF-8
TIMEZONE=UTC
KEYMAP=us
## ---------------------------------------------------------------------------
## Build environment
## ---------------------------------------------------------------------------
# Compiler / linker flags passed to every recipe build
CFLAGS="-O2 -march=x86-64"
CXXFLAGS="$CFLAGS"
LDFLAGS="-s"
# Parallelism
JOBS=$(nproc)
MAKEFLAGS="-j$JOBS"
# Mirror for source tarballs (unset: fetch straight from upstream)
# SOURCE_MIRROR="https://mirror.example.org/sources"
# Where the new target root lives on the build host
ROOT=/tmp/keru/root
# Persistent source + build cache (survives across installs)
CACHEDIR=/var/cache/kama
## ---------------------------------------------------------------------------
## Kama behaviour
## ---------------------------------------------------------------------------
# Remove temp build-time deps as soon as they're done (AUR-style).
# Set to 0 to keep them for debugging.
PURGE_TEMP_DEPS=1
# Stop on first recipe failure
FAIL_FAST=1