diff options
Diffstat (limited to 'pkg/efibootmgr/gen.lua')
| -rw-r--r-- | pkg/efibootmgr/gen.lua | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/pkg/efibootmgr/gen.lua b/pkg/efibootmgr/gen.lua new file mode 100644 index 00000000..1ebb96dc --- /dev/null +++ b/pkg/efibootmgr/gen.lua @@ -0,0 +1,15 @@ +cflags{ + [[-D 'EFIBOOTMGR_VERSION="14"']], + [[-D 'DEFAULT_LOADER="/linux"']], + '-I $srcdir/src/include', + '-I $builddir/pkg/efivar/include', +} + +exe('efibootmgr', [[ + src/(efibootmgr.c efi.c unparse_path.c) + $builddir/pkg/efivar/(libefiboot.a libefivar.a) +]], {'pkg/efivar/headers'}) +file('bin/efibootmgr', '755', '$outdir/efibootmgr') +man{'src/efibootmgr.8'} + +fetch 'git' |
