From ba94a8513d9a0aadb3f2c834c74b64aa644c61e8 Mon Sep 17 00:00:00 2001 From: Michael Forney Date: Sun, 17 Sep 2017 00:03:34 -0700 Subject: Rewrite ninja generation scripts in Lua --- pkg/libpciaccess/gen.lua | 22 ++++++++++++++++++++++ pkg/libpciaccess/gen.rc | 21 --------------------- 2 files changed, 22 insertions(+), 21 deletions(-) create mode 100644 pkg/libpciaccess/gen.lua delete mode 100644 pkg/libpciaccess/gen.rc (limited to 'pkg/libpciaccess') 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 -- cgit v1.2.3