2026-01-14 19:30:05 +01:00
|
|
|
# Modify these definitions to fit your host system
|
|
|
|
|
# PREFIX: Path on your host system where the toolchain shall be installed
|
2026-01-21 21:38:54 +01:00
|
|
|
export PREFIX="/usr/local/x86_64-karlos-toolchain"
|
2026-01-14 19:30:05 +01:00
|
|
|
# SYSROOT: Path to the 'sysroot' folder in your local copy of the karlos repository
|
2026-01-21 21:38:54 +01:00
|
|
|
#export SYSROOT="/usr/local/share/karlos/sysroot"
|
2026-01-14 19:30:05 +01:00
|
|
|
|
2026-01-21 21:38:54 +01:00
|
|
|
export MAKEFLAGS="-j $(getconf _NPROCESSORS_ONLN)"
|
2026-01-14 19:30:05 +01:00
|
|
|
|
|
|
|
|
# Do not modify the following lines
|
|
|
|
|
# TARGET: The target triplet
|
|
|
|
|
export TARGET="x86_64-karlos"
|
|
|
|
|
# Temporarily add PREFIX to PATH so the toolchain can find itself during compilation
|
2026-01-21 21:38:54 +01:00
|
|
|
export PATH="/final/$PREFIX/bin:$PATH"
|