logo

oasis

Own branch of Oasis Linux (upstream: <https://git.sr.ht/~mcf/oasis/>) git clone https://anongit.hacktivis.me/git/oasis.git
commit: bf07adf977c08c02bb2291a1d04afe123cf67cf0
parent 0028dcc6018cc40a405139c48f5d036e138cb025
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date:   Wed, 30 Jul 2025 14:11:16 +0200

config.lua: add into own branch

Diffstat:

Aconfig.lua52++++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 52 insertions(+), 0 deletions(-)

diff --git a/config.lua b/config.lua @@ -0,0 +1,52 @@ +local sets = dofile(basedir..'/sets.lua') + +return { + -- build output directory + builddir='out', + + -- install prefix + prefix='', + + -- compress man pages + gzman=false, + + -- package/file selection + fs={ + -- Each entry contains a list of packages, a list of patterns + -- matching files to include from those packages, and a list of + -- patterns matching files to exclude. If no patterns are + -- specified, all files from the package are included. + --{sets.core, exclude={'^include/', '^lib/.*%.a$'}}, + {sets.core, sets.extra, sets.devel, sets.media, sets.net, sets.desktop, 'zfs', exclude={}}, + + -- You may also specify a list of patterns to include or exclude + -- for any packages not matching any entries. If no patterns are + -- specified, all files from the package are excluded. + -- include={...}, exclude={...}, + }, + + -- target toolchain and flags + target={ + platform='x86_64-pc-linux-musl', + cflags='-Oz -march=x86-64 -fPIE -pipe -Werror=implicit-function-declaration -fwrapv', + ldflags='-s -static-pie', + }, + + -- host toolchain and flags + host={ + platform='x86_64-pc-linux-musl', + cflags='-O2 -march=x86-64 -fPIE -pipe -Werror=implicit-function-declaration -fwrapv', + ldflags='-s -static-pie', + }, + + -- output git repository + repo={ + path='$outdir/root.git', + flags='--bare', + tag='tree', + branch='master', + }, + + -- GPU driver (possible_values: amdgpu intel nouveau) + video_drivers={amdgpu=true} +}