summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/makedevs/makedevs_1.0.0.bb
blob: 5db2d9b142aad6841710864ef8ad624d3816cda7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
DESCRIPTION = "A tool to make device nodes"
LICENSE = "GPLv2"
SECTION = "base"
PRIORITY = "required"
SRC_URI = "file://makedevs.c"
PR = "r6"

do_configure() {
	install -m 0644 ${WORKDIR}/makedevs.c ${S}/
}

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

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

BBCLASSEXTEND = "native"