logo

oasis

Own branch of Oasis Linux (upstream: <https://git.sr.ht/~mcf/oasis/>) git clone https://anongit.hacktivis.me/git/oasis.git

config.lua (1477B)


  1. local sets = dofile(basedir..'/sets.lua')
  2. return {
  3. -- build output directory
  4. builddir='out',
  5. -- install prefix
  6. prefix='',
  7. -- compress man pages
  8. gzman=false,
  9. -- package/file selection
  10. fs={
  11. -- Each entry contains a list of packages, a list of patterns
  12. -- matching files to include from those packages, and a list of
  13. -- patterns matching files to exclude. If no patterns are
  14. -- specified, all files from the package are included.
  15. --{sets.core, exclude={'^include/', '^lib/.*%.a$'}},
  16. {sets.core, sets.extra, sets.devel, sets.media, sets.net, sets.desktop, 'zfs', exclude={}},
  17. -- You may also specify a list of patterns to include or exclude
  18. -- for any packages not matching any entries. If no patterns are
  19. -- specified, all files from the package are excluded.
  20. -- include={...}, exclude={...},
  21. },
  22. -- target toolchain and flags
  23. target={
  24. platform='x86_64-pc-linux-musl',
  25. cflags='-Oz -march=x86-64 -fPIE -pipe -Werror=implicit-function-declaration -fwrapv',
  26. ldflags='-s -static-pie',
  27. },
  28. -- host toolchain and flags
  29. host={
  30. platform='x86_64-pc-linux-musl',
  31. cflags='-O2 -march=x86-64 -fPIE -pipe -Werror=implicit-function-declaration -fwrapv',
  32. ldflags='-s -static-pie',
  33. },
  34. -- output git repository
  35. repo={
  36. path='$outdir/root.git',
  37. flags='--bare',
  38. tag='tree',
  39. branch='master',
  40. },
  41. -- GPU driver (possible_values: amdgpu intel nouveau)
  42. video_drivers={amdgpu=true}
  43. }