diff options
Diffstat (limited to 'meta/packages/makedevs/makedevs_1.0.0.bb')
-rw-r--r-- | meta/packages/makedevs/makedevs_1.0.0.bb | 20 |
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 @@ | |||
1 | DESCRIPTION = "A tool to make device nodes" | ||
2 | LICENSE = "GPL" | ||
3 | SECTION = "base" | ||
4 | PRIORITY = "required" | ||
5 | SRC_URI = "file://makedevs.c" | ||
6 | S = "${WORKDIR}/makedevs-${PV}" | ||
7 | PR = "r2" | ||
8 | |||
9 | do_configure() { | ||
10 | install -m 0644 ${WORKDIR}/makedevs.c ${S}/ | ||
11 | } | ||
12 | |||
13 | do_compile() { | ||
14 | ${CC} ${CFLAGS} -o ${S}/makedevs ${S}/makedevs.c | ||
15 | } | ||
16 | |||
17 | do_install() { | ||
18 | install -d ${D}${base_sbindir} | ||
19 | install -m 0755 ${S}/makedevs ${D}${base_sbindir}/makedevs | ||
20 | } | ||