blob: 6fe5c8bf1885ff6bc983db51d164d162d3cdc57e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
inherit native
FILESDIR = "${@os.path.dirname(oe.data.getVar('FILE',d,1))}/makedevs-${PV}"
S = "${WORKDIR}/makedevs-native-${PV}"
do_configure() {
cp -f ${FILESDIR}/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}/
}
|