summaryrefslogtreecommitdiff
path: root/makedevs/makedevs_1.0.0.oe
blob: 39d92d5471930f31fabe43495095bd48a60892a1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
SRC_URI = "file://${FILESDIR}/makedevs.c"
S = "${WORKDIR}/makedevs-${PV}"

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

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

do_install() {
	install -d ${D}/sbin
	install -m 0755 ${S}/makedevs ${D}/sbin/makedevs
}