summaryrefslogtreecommitdiff
path: root/packages/makedevs
diff options
context:
space:
mode:
Diffstat (limited to 'packages/makedevs')
-rw-r--r--packages/makedevs/makedevs_1.0.0.bb20
1 files changed, 20 insertions, 0 deletions
diff --git a/packages/makedevs/makedevs_1.0.0.bb b/packages/makedevs/makedevs_1.0.0.bb
index e69de29bb2..da41240b5c 100644
--- a/packages/makedevs/makedevs_1.0.0.bb
+++ b/packages/makedevs/makedevs_1.0.0.bb
@@ -0,0 +1,20 @@
+DESCRIPTION = "A tool to make device nodes"
+LICENSE = "GPL"
+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}/${base_sbindir}
+ install -m 0755 ${S}/makedevs ${D}/${base_sbindir}/makedevs
+}