diff options
| author | Michael Forney <mforney@mforney.org> | 2020-06-23 12:23:16 -0700 |
|---|---|---|
| committer | Michael Forney <mforney@mforney.org> | 2020-06-23 12:24:16 -0700 |
| commit | c6f680a6aff351e85375cdf9a98592d13e8802b5 (patch) | |
| tree | 55c6f43582a62fa2487227612dfc9cfb9dfb372f /pkg/hotplugd/gen.lua | |
| parent | adfc19c759066dfb2649f2fe5882541c22e6093d (diff) | |
Rename devd to hotplugd
Diffstat (limited to 'pkg/hotplugd/gen.lua')
| -rw-r--r-- | pkg/hotplugd/gen.lua | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/pkg/hotplugd/gen.lua b/pkg/hotplugd/gen.lua new file mode 100644 index 00000000..14cd33cd --- /dev/null +++ b/pkg/hotplugd/gen.lua @@ -0,0 +1,12 @@ +cflags{ + '-std=c11', '-Wall', '-Wextra', '-Wpedantic', + ([[-D 'PREFIX="%s"']]):format(config.prefix), + '-isystem $builddir/pkg/linux-headers/include', +} + +pkg.deps = {'pkg/linux-headers/headers'} + +file('bin/hotplugd', '755', exe('hotplugd', {'hotplugd.c'})) +file('libexec/hotplugd-trigger', '755', exe('hotplugd-trigger', {'hotplugd-trigger.c'})) + +fetch 'git' |
