diff options
Diffstat (limited to 'poky/meta/recipes-devtools/makedevs/makedevs_1.0.1.bb')
-rw-r--r-- | poky/meta/recipes-devtools/makedevs/makedevs_1.0.1.bb | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/poky/meta/recipes-devtools/makedevs/makedevs_1.0.1.bb b/poky/meta/recipes-devtools/makedevs/makedevs_1.0.1.bb new file mode 100644 index 000000000..92d5870f4 --- /dev/null +++ b/poky/meta/recipes-devtools/makedevs/makedevs_1.0.1.bb @@ -0,0 +1,26 @@ +SUMMARY = "Tool for creating device nodes" +LICENSE = "GPLv2" +LIC_FILES_CHKSUM = "file://COPYING;md5=393a5ca445f6965873eca0259a17f833" +SECTION = "base" +SRC_URI = "file://makedevs.c \ + file://COPYING.patch" + +S = "${WORKDIR}" + +FILES_${PN}_append_class-nativesdk = " ${datadir}" + +do_compile() { + ${CC} ${CFLAGS} ${LDFLAGS} -o ${S}/makedevs ${S}/makedevs.c +} + +do_install() { + install -d ${D}${base_sbindir} + install -m 0755 ${S}/makedevs ${D}${base_sbindir}/makedevs +} + +do_install_append_class-nativesdk() { + install -d ${D}${datadir} + install -m 644 ${COREBASE}/meta/files/device_table-minimal.txt ${D}${datadir}/ +} + +BBCLASSEXTEND = "native nativesdk" |