summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/makedevs/makedevs_1.0.1.bb
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-devtools/makedevs/makedevs_1.0.1.bb')
-rw-r--r--meta/recipes-devtools/makedevs/makedevs_1.0.1.bb28
1 files changed, 28 insertions, 0 deletions
diff --git a/meta/recipes-devtools/makedevs/makedevs_1.0.1.bb b/meta/recipes-devtools/makedevs/makedevs_1.0.1.bb
new file mode 100644
index 0000000000..6aa75a8743
--- /dev/null
+++ b/meta/recipes-devtools/makedevs/makedevs_1.0.1.bb
@@ -0,0 +1,28 @@
1DESCRIPTION = "A tool to make device nodes"
2LICENSE = "GPLv2"
3LIC_FILES_CHKSUM = "file://COPYING;md5=393a5ca445f6965873eca0259a17f833"
4SECTION = "base"
5SRC_URI = "file://makedevs.c \
6 file://COPYING.patch"
7
8FILES_${PN}_append_class-nativesdk = " ${datadir}"
9
10do_configure() {
11 install -m 0644 ${WORKDIR}/makedevs.c ${S}/
12}
13
14do_compile() {
15 ${CC} ${CFLAGS} ${LDFLAGS} -o ${S}/makedevs ${S}/makedevs.c
16}
17
18do_install() {
19 install -d ${D}${base_sbindir}
20 install -m 0755 ${S}/makedevs ${D}${base_sbindir}/makedevs
21}
22
23do_install_append_class-nativesdk() {
24 install -d ${D}${datadir}
25 install -m 644 ${COREBASE}/meta/files/device_table-minimal.txt ${D}${datadir}/
26}
27
28BBCLASSEXTEND = "native nativesdk"