summaryrefslogtreecommitdiff
path: root/meta
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@linux.intel.com>2009-11-17 12:36:10 +0000
committerRichard Purdie <rpurdie@linux.intel.com>2009-11-17 12:36:10 +0000
commit49abf93f5a0b8c4055cac3f6e76937971b1ac4dd (patch)
tree361d2fa8dd0167b9ffe1f329b95eda0c8578f0ae /meta
parenta7d453bdcd39e4320e82b5a1c65c99e92a284fcc (diff)
downloadopenembedded-core-49abf93f5a0b8c4055cac3f6e76937971b1ac4dd.tar.gz
openembedded-core-49abf93f5a0b8c4055cac3f6e76937971b1ac4dd.tar.bz2
openembedded-core-49abf93f5a0b8c4055cac3f6e76937971b1ac4dd.tar.xz
openembedded-core-49abf93f5a0b8c4055cac3f6e76937971b1ac4dd.zip
genext2fs: Convert to use do_install for staging and use BBCLASSEXTEND for native recipe
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'meta')
-rw-r--r--meta/packages/genext2fs/genext2fs-native_1.3.bb11
-rw-r--r--meta/packages/genext2fs/genext2fs_1.3.bb3
2 files changed, 3 insertions, 11 deletions
diff --git a/meta/packages/genext2fs/genext2fs-native_1.3.bb b/meta/packages/genext2fs/genext2fs-native_1.3.bb
deleted file mode 100644
index 2e26fa011..000000000
--- a/meta/packages/genext2fs/genext2fs-native_1.3.bb
+++ /dev/null
@@ -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 () {
- :
-}
diff --git a/meta/packages/genext2fs/genext2fs_1.3.bb b/meta/packages/genext2fs/genext2fs_1.3.bb
index e57f78ae5..be67f5b3c 100644
--- a/meta/packages/genext2fs/genext2fs_1.3.bb
+++ b/meta/packages/genext2fs/genext2fs_1.3.bb
@@ -10,6 +10,9 @@ do_compile () {
oe_runmake
}
+NATIVE_INSTALL_WORKS = "1"
do_install () {
oe_runmake 'DESTDIR=${D}' install
}
+
+BBCLASSEXTEND = "native"