summaryrefslogtreecommitdiff
path: root/packages/unifdef/unifdef-native_2.6.18+git.bb
blob: f2992ca70904b655f9618c8292c4071b8611b511 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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
}

do_stage() {
	install -m 0755 unifdef ${STAGING_BINDIR}
}

do_install() {
	:
}