summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/makedevs/makedevs_1.0.0.bb
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-devtools/makedevs/makedevs_1.0.0.bb')
-rw-r--r--meta/recipes-devtools/makedevs/makedevs_1.0.0.bb21
1 files changed, 21 insertions, 0 deletions
diff --git a/meta/recipes-devtools/makedevs/makedevs_1.0.0.bb b/meta/recipes-devtools/makedevs/makedevs_1.0.0.bb
new file mode 100644
index 0000000000..5db2d9b142
--- /dev/null
+++ b/meta/recipes-devtools/makedevs/makedevs_1.0.0.bb
@@ -0,0 +1,21 @@
1DESCRIPTION = "A tool to make device nodes"
2LICENSE = "GPLv2"
3SECTION = "base"
4PRIORITY = "required"
5SRC_URI = "file://makedevs.c"
6PR = "r6"
7
8do_configure() {
9 install -m 0644 ${WORKDIR}/makedevs.c ${S}/
10}
11
12do_compile() {
13 ${CC} ${CFLAGS} -o ${S}/makedevs ${S}/makedevs.c
14}
15
16do_install() {
17 install -d ${D}${base_sbindir}
18 install -m 0755 ${S}/makedevs ${D}${base_sbindir}/makedevs
19}
20
21BBCLASSEXTEND = "native"