diff options
| author | Michael Forney <mforney@mforney.org> | 2017-09-17 00:03:34 -0700 |
|---|---|---|
| committer | Michael Forney <mforney@mforney.org> | 2017-09-25 19:23:06 -0700 |
| commit | ba94a8513d9a0aadb3f2c834c74b64aa644c61e8 (patch) | |
| tree | 48ac6c85baa7b9d960b9e1e726a906e61ca60967 /pkg/efibootmgr/gen.lua | |
| parent | cb362b531d79708a259bbf070dee5104fd63df08 (diff) | |
Rewrite ninja generation scripts in Lua
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' |
