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 (1522B)


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