home / docs / kama configuration
Every knob, every default, every path.
Kama's configuration is environment variables. Nothing to edit inside the script, nothing hidden — set them in the environment (export in a profile, or inline on the command line) and it's done.
| Variable | Default | What it controls |
|---|---|---|
PKGDIR | the kama-packages repo, sibling of the kama script | Where recipes are found. |
ROOT | /tmp/keru/root | Where installed files land. |
CACHEDIR | /var/cache/kama | Base for the dirty working dirs. |
MAKE_CONF | /etc/kama/make.conf | Profile settings (JOBS, CFLAGS, etc.) if present. |
SOURCE_MIRROR | unset | Mirror tried before upstream (set to e.g. mirror.example.org). |
PURGE_TEMP_DEPS | 1 | Purge temp build deps after kama make. |
JOBS | nproc | Parallel build jobs; recipes call make -j"$JOBS". |
Inside an installed Keru system, the profile at MAKE_CONF feeds the same variables into kama and the build scripts. Your make.conf reference lists the full set.
MAKE_CONF exists it is sourced; missing is not an error.JOBS and CFLAGS from build-host detection.