logo

oasis

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

gen.lua (543B)


  1. cflags{
  2. '-std=c99', '-Wall',
  3. [[-D 'EFIBOOTMGR_VERSION="17"']],
  4. [[-D 'DEFAULT_LOADER="/linux"']],
  5. '-I $srcdir/src/include',
  6. '-isystem $builddir/pkg/efivar/include',
  7. '-isystem $builddir/pkg/efivar/include/efivar',
  8. '-isystem $builddir/pkg/linux-headers/include',
  9. }
  10. pkg.deps = {
  11. 'pkg/efivar/headers',
  12. 'pkg/linux-headers/headers',
  13. }
  14. exe('efibootmgr', [[
  15. src/(efibootmgr.c efi.c unparse_path.c)
  16. $builddir/pkg/efivar/(libefiboot.a libefivar.a)
  17. ]])
  18. file('bin/efibootmgr', '755', '$outdir/efibootmgr')
  19. man{'src/efibootmgr.8'}
  20. fetch 'git'