[oe-commits] Koen Kooi : gperf-native: convert to new style staging and BBCLASSEXTEND

git version control git at git.openembedded.org
Wed Mar 3 15:34:49 UTC 2010


Module: openembedded.git
Branch: shr/unstable
Commit: ea8857e11221916a5256af11ddb010d9d82f8f23
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=ea8857e11221916a5256af11ddb010d9d82f8f23

Author: Koen Kooi <koen at openembedded.org>
Date:   Wed Mar  3 14:28:16 2010 +0100

gperf-native: convert to new style staging and BBCLASSEXTEND

---

 recipes/gperf/gperf-native_3.0.3.bb |   10 ----------
 recipes/gperf/gperf_3.0.3.bb        |    3 +++
 2 files changed, 3 insertions(+), 10 deletions(-)

diff --git a/recipes/gperf/gperf-native_3.0.3.bb b/recipes/gperf/gperf-native_3.0.3.bb
deleted file mode 100644
index 103d1aa..0000000
--- a/recipes/gperf/gperf-native_3.0.3.bb
+++ /dev/null
@@ -1,10 +0,0 @@
-require gperf_${PV}.bb
-
-S = "${WORKDIR}/gperf-${PV}"
-
-inherit native
-
-do_stage() {
-    install -d ${STAGING_BINDIR_NATIVE}
-    install ${S}/src/gperf ${STAGING_BINDIR_NATIVE}
-}
diff --git a/recipes/gperf/gperf_3.0.3.bb b/recipes/gperf/gperf_3.0.3.bb
index 7abfb8f..30b40be 100644
--- a/recipes/gperf/gperf_3.0.3.bb
+++ b/recipes/gperf/gperf_3.0.3.bb
@@ -6,3 +6,6 @@ SRC_URI  = "${GNU_MIRROR}/gperf/gperf-${PV}.tar.gz \
             file://autoreconf.patch;patch=1"
 
 inherit autotools
+
+NATIVE_INSTALL_WORKS = "1"
+BBCLASSEXTEND = "native"





More information about the Openembedded-commits mailing list