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/libpciaccess | |
| parent | cb362b531d79708a259bbf070dee5104fd63df08 (diff) | |
Rewrite ninja generation scripts in Lua
Diffstat (limited to 'pkg/libpciaccess')
| -rw-r--r-- | pkg/libpciaccess/gen.lua | 22 | ||||
| -rw-r--r-- | pkg/libpciaccess/gen.rc | 21 |
2 files changed, 22 insertions, 21 deletions
diff --git a/pkg/libpciaccess/gen.lua b/pkg/libpciaccess/gen.lua new file mode 100644 index 00000000..31610ce7 --- /dev/null +++ b/pkg/libpciaccess/gen.lua @@ -0,0 +1,22 @@ +cflags{ + '-Wno-deprecated-declarations', + '-D HAVE_CONFIG_H', + '-I include', + '-I $dir', + '-I $srcdir/include', +} + +lib('libpciaccess.a', [[src/( + common_bridge.c + common_iterator.c + common_init.c + common_interface.c + common_io.c + common_capability.c + common_device_name.c + common_map.c + common_vgaarb.c + linux_sysfs.c linux_devmem.c +)]]) + +fetch 'git' diff --git a/pkg/libpciaccess/gen.rc b/pkg/libpciaccess/gen.rc deleted file mode 100644 index ce3e75cf..00000000 --- a/pkg/libpciaccess/gen.rc +++ /dev/null @@ -1,21 +0,0 @@ -cflags\ - -Wno-deprecated-declarations\ - -D HAVE_CONFIG_H\ - -I include\ - -I '$dir' \ - -I '$srcdir'/include - -lib libpciaccess.a src/^(\ - common_bridge.c\ - common_iterator.c\ - common_init.c\ - common_interface.c\ - common_io.c\ - common_capability.c\ - common_device_name.c\ - common_map.c\ - common_vgaarb.c\ - linux_sysfs.c linux_devmem.c\ -) - -fetch git |
