summaryrefslogtreecommitdiff
path: root/makedevs/makedevs-native_1.0.0.oe
blob: 52c560fad7515ee4a35a5c6e9b71b47372c841e3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
inherit native 

FILESDIR = "${@os.path.dirname(oe.data.getVar('FILE',d,1))}/makedevs-${PV}"
S = "${WORKDIR}/makedevs-native-${PV}"

do_configure() {
        cp -f ${WORKDIR}/makedevs.c ${S}/
}

do_compile() {
        ${CC} ${CFLAGS} -o ${S}/makedevs ${S}/makedevs.c
}

do_stage() {
	install -d ${STAGING_BINDIR}/
        install -m 0755 ${S}/makedevs ${STAGING_BINDIR}/
}