logo

oasis

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

config.def.lua (1244B)


  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=true,
  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. -- You may also specify a list of patterns to include or exclude
  17. -- for any packages not matching any entries. If no patterns are
  18. -- specified, all files from the package are excluded.
  19. -- include={...}, exclude={...},
  20. },
  21. -- target toolchain and flags
  22. target={
  23. platform='x86_64-linux-musl',
  24. cflags='-Os -fPIE -pipe -Werror=implicit-function-declaration',
  25. ldflags='-s -static-pie',
  26. },
  27. -- host toolchain and flags
  28. host={
  29. cflags='-O2 -pipe',
  30. ldflags='',
  31. },
  32. -- output git repository
  33. repo={
  34. path='$builddir/root.git',
  35. flags='--bare',
  36. tag='tree',
  37. branch='master',
  38. },
  39. -- GPU driver (possible_values: amdgpu intel nouveau)
  40. -- video_drivers={intel=true}
  41. }