summaryrefslogtreecommitdiff
path: root/recipes/unifdef/unifdef-native_2.6.18+git.bb
blob: ae3eb4f13a44f258c4031c2f73fdbbedd59b8a4b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
DESCRIPTION = "Kernel header preprocessor"
SECTION = "devel"
LICENSE = "GPL"

SRC_URI = "file://unifdef.c"

inherit native

do_compile() {
	${CC} ${CFLAGS} ${LDFLAGS} -o unifdef ${WORKDIR}/unifdef.c
}

NATIVE_INSTALL_WORKS = "1"

do_install() {
	install -d ${D}${bindir}/
	install -m 0755 unifdef ${D}${bindir}
}