Initial scaffold
This commit is contained in:
@@ -0,0 +1,68 @@
|
||||
# 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
|
||||
INIT=runit
|
||||
|
||||
# Which libc the toolchain and packages build against
|
||||
# glibc (default) | musl
|
||||
LIBC=glibc
|
||||
|
||||
# Which filesystem the target root is formatted as
|
||||
# ext4 (default) | btrfs | xfs | zfs | f2fs
|
||||
TARGET_FS=ext4
|
||||
|
||||
# Which kernel you want built
|
||||
# linux (sane default) | linux-lts | linux-hardened
|
||||
KERNEL=linux
|
||||
|
||||
# Base package set pulled into every install
|
||||
BASE_PACKAGES=(base toolchain kernel runit nmtui 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"
|
||||
|
||||
# Mirrors for source tarballs
|
||||
SOURCE_MIRROR="https://mirror.keru.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
|
||||
Reference in New Issue
Block a user