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:
parent
a7d453bdcd
commit
49abf93f5a
|
@ -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 () {
|
||||
:
|
||||
}
|
|
@ -10,6 +10,9 @@ do_compile () {
|
|||
oe_runmake
|
||||
}
|
||||
|
||||
NATIVE_INSTALL_WORKS = "1"
|
||||
do_install () {
|
||||
oe_runmake 'DESTDIR=${D}' install
|
||||
}
|
||||
|
||||
BBCLASSEXTEND = "native"
|
||||
|
|
Loading…
Reference in New Issue