mirror of
https://github.com/oasislinux/oasis.git
synced 2026-02-05 11:33:57 +01:00
14 lines
425 B
Lua
14 lines
425 B
Lua
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/ata_id', '755', exe('ata_id', {'ata_id.c'}))
|
|
file('libexec/hotplugd/trigger', '755', exe('trigger', {'trigger.c'}))
|
|
|
|
fetch 'git'
|