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