[oe] [PATCH] cacaoh-native: Removed legacy style staging

Fahad Usman fahad_usman at mentor.com
Tue Aug 17 11:08:34 UTC 2010


* converted do_stage to do_install

* replaced ${STAGING_BINDIR} with ${D}${bindir}

* bumped the PR in the .bb files

Signed-off-by: Fahad Usman <fahad_usman at mentor.com>
---
 recipes/cacao/cacaoh-native.inc       |    6 +++---
 recipes/cacao/cacaoh-native_0.99.3.bb |    2 +-
 recipes/cacao/cacaoh-native_0.99.4.bb |    2 +-
 3 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/recipes/cacao/cacaoh-native.inc b/recipes/cacao/cacaoh-native.inc
index a44c503..d255df4 100644
--- a/recipes/cacao/cacaoh-native.inc
+++ b/recipes/cacao/cacaoh-native.inc
@@ -20,7 +20,7 @@ do_compile() {
   oe_runmake -C src/vmcore libvmcore.la
   oe_runmake -C src/cacaoh cacaoh
 }
-
-do_stage() {
-	install -m 0755 src/cacaoh/.libs/cacaoh ${STAGING_BINDIR}/cacaoh-${PV}
+do_install() {
+	install -d ${D}${bindir}/cacaoh-${PV}
+	install -m 0755 src/cacaoh/.libs/cacaoh ${D}${bindir}/cacaoh-${PV}
 }
diff --git a/recipes/cacao/cacaoh-native_0.99.3.bb b/recipes/cacao/cacaoh-native_0.99.3.bb
index b3baee0..b321329 100644
--- a/recipes/cacao/cacaoh-native_0.99.3.bb
+++ b/recipes/cacao/cacaoh-native_0.99.3.bb
@@ -1,6 +1,6 @@
 require cacaoh-native.inc
 
-PR = "r1"
+PR = "r2"
 
 SRC_URI = "http://www.complang.tuwien.ac.at/cacaojvm/download/cacao-${PV}/cacao-${PV}.tar.bz2"
 
diff --git a/recipes/cacao/cacaoh-native_0.99.4.bb b/recipes/cacao/cacaoh-native_0.99.4.bb
index a9effc0..e269e43 100644
--- a/recipes/cacao/cacaoh-native_0.99.4.bb
+++ b/recipes/cacao/cacaoh-native_0.99.4.bb
@@ -1,6 +1,6 @@
 require cacaoh-native.inc
 
-PR = "r0"
+PR = "r1"
 
 SRC_URI = "http://www.complang.tuwien.ac.at/cacaojvm/download/cacao-${PV}/cacao-${PV}.tar.bz2"
 
-- 
1.6.3.3





More information about the Openembedded-devel mailing list