summaryrefslogtreecommitdiff
path: root/pkg/mtdev/gen.lua
blob: 564df991ec1fa694f2edb017d17e3f5874b62a13 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
cflags{
	'-I $srcdir/include',
	'-isystem $builddir/pkg/linux-headers/include',
}

pkg.hdrs = copy('$outdir/include', '$srcdir/include', {
	'mtdev.h',
	'mtdev-plumbing.h',
})
pkg.deps = {
	'pkg/linux-headers/headers',
}

lib('libmtdev.a', {
	'src/caps.c',
	'src/core.c',
	'src/iobuf.c',
	'src/match.c',
	'src/match_four.c',
})

fetch 'git'