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