diff options
Diffstat (limited to 'meta/recipes-devtools/makedevs/makedevs_1.0.1.bb')
-rw-r--r-- | meta/recipes-devtools/makedevs/makedevs_1.0.1.bb | 28 |
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 @@ | |||
1 | DESCRIPTION = "A tool to make device nodes" | ||
2 | LICENSE = "GPLv2" | ||
3 | LIC_FILES_CHKSUM = "file://COPYING;md5=393a5ca445f6965873eca0259a17f833" | ||
4 | SECTION = "base" | ||
5 | SRC_URI = "file://makedevs.c \ | ||
6 | file://COPYING.patch" | ||
7 | |||
8 | FILES_${PN}_append_class-nativesdk = " ${datadir}" | ||
9 | |||
10 | do_configure() { | ||
11 | install -m 0644 ${WORKDIR}/makedevs.c ${S}/ | ||
12 | } | ||
13 | |||
14 | do_compile() { | ||
15 | ${CC} ${CFLAGS} ${LDFLAGS} -o ${S}/makedevs ${S}/makedevs.c | ||
16 | } | ||
17 | |||
18 | do_install() { | ||
19 | install -d ${D}${base_sbindir} | ||
20 | install -m 0755 ${S}/makedevs ${D}${base_sbindir}/makedevs | ||
21 | } | ||
22 | |||
23 | do_install_append_class-nativesdk() { | ||
24 | install -d ${D}${datadir} | ||
25 | install -m 644 ${COREBASE}/meta/files/device_table-minimal.txt ${D}${datadir}/ | ||
26 | } | ||
27 | |||
28 | BBCLASSEXTEND = "native nativesdk" | ||