makedevs: Convert to BBCLASSEXTEND

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
This commit is contained in:
Richard Purdie 2009-11-05 17:13:29 +00:00
parent 1d82f91348
commit aee10f3029
2 changed files with 4 additions and 8 deletions

View File

@ -1,7 +0,0 @@
require makedevs_${PV}.bb
inherit native
do_stage() {
install -d ${STAGING_BINDIR}/
install -m 0755 ${S}/makedevs ${STAGING_BINDIR}/
}

View File

@ -3,7 +3,7 @@ LICENSE = "GPL"
SECTION = "base"
PRIORITY = "required"
SRC_URI = "file://makedevs.c"
PR = "r5"
PR = "r6"
do_configure() {
install -m 0644 ${WORKDIR}/makedevs.c ${S}/
@ -17,3 +17,6 @@ do_install() {
install -d ${D}${base_sbindir}
install -m 0755 ${S}/makedevs ${D}${base_sbindir}/makedevs
}
BBCLASSEXTEND = "native"
NATIVE_INSTALL_WORKS = "1"