genext2fs: Convert to use do_install for staging and use BBCLASSEXTEND for native recipe

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
This commit is contained in:
Richard Purdie 2009-11-17 12:36:10 +00:00
parent a7d453bdcd
commit 49abf93f5a
2 changed files with 3 additions and 11 deletions

View File

@ -1,11 +0,0 @@
require genext2fs_${PV}.bb
inherit native
FILESPATH = "${@base_set_filespath([ '${FILE_DIRNAME}/genext2fs-${PV}', '${FILE_DIRNAME}/genext2fs', '${FILE_DIRNAME}/files', '${FILE_DIRNAME}' ], d)}"
do_stage () {
install -m 0755 genext2fs ${STAGING_BINDIR}/
}
do_install () {
:
}

View File

@ -10,6 +10,9 @@ do_compile () {
oe_runmake
}
NATIVE_INSTALL_WORKS = "1"
do_install () {
oe_runmake 'DESTDIR=${D}' install
}
BBCLASSEXTEND = "native"