summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/unifdef/unifdef-native_2.6.18+git.bb
blob: 9a286842367c7dc29a1ddaf1de6346d1fcc4d532 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
SUMMARY = "Kernel header preprocessor"
SECTION = "devel"
LICENSE = "BSD-2-Clause"

PR = "r1"

LIC_FILES_CHKSUM = "file://${WORKDIR}/unifdef.c;endline=32;md5=1a33f5c39aa718a89058721df61979bd"

SRC_URI = "file://unifdef.c"

inherit native

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

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