summaryrefslogtreecommitdiff
path: root/makedevs/makedevs_1.0.0.oe
blob: 759884c387e4551bd0dbf92e7eb3f7a98c486c3b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
DESCRIPTION = "A tool to make device nodes"
SECTION = "base"
PRIORITY = "required"
SRC_URI = "file://makedevs.c"
S = "${WORKDIR}/makedevs-${PV}"
PR = "r2"

do_configure() {
	install -m 0644 ${WORKDIR}/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
}