[oe-commits] Stefan Schmidt : cacaoh-*native: Don't rely on host libtool

git version control git at git.openembedded.org
Fri Oct 29 14:35:46 UTC 2010


Module: openembedded.git
Branch: master
Commit: 0b7b712dc5ff95238d36ee157128cdad3e2fdd7b
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=0b7b712dc5ff95238d36ee157128cdad3e2fdd7b

Author: Stefan Schmidt <stefan at datenfreihafen.org>
Date:   Fri Oct 29 15:27:33 2010 +0100

cacaoh-*native: Don't rely on host libtool

Reported-by: Martin Jansa <martin.jansa at gmail.com>
Signed-off-by: Stefan Schmidt <stefan at datenfreihafen.org>

---

 recipes/cacao/cacaoh-cldc-native_0.98.bb      |    2 +-
 recipes/cacao/cacaoh-native.inc               |    4 ++--
 recipes/cacao/cacaoh-openjdk-native.inc       |    2 +-
 recipes/cacao/cacaoh-openjdk-native_0.99.4.bb |    2 +-
 4 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/recipes/cacao/cacaoh-cldc-native_0.98.bb b/recipes/cacao/cacaoh-cldc-native_0.98.bb
index 9777433..5b0b118 100644
--- a/recipes/cacao/cacaoh-cldc-native_0.98.bb
+++ b/recipes/cacao/cacaoh-cldc-native_0.98.bb
@@ -5,7 +5,7 @@ SRC_URI = "\
   "
 
 do_stage() {
-	libtool --mode=install install -m 0755 src/cacaoh/cacaoh ${STAGING_BINDIR}/cacaoh-cldc-${PV}
+	${STAGING_BINDIR_NATIVE}/${HOST_SYS}-libtool --mode=install install -m 0755 src/cacaoh/cacaoh ${STAGING_BINDIR}/cacaoh-cldc-${PV}
 }
 
 SRC_URI[md5sum] = "8b8907c8b925761c9410bcadb9705346"
diff --git a/recipes/cacao/cacaoh-native.inc b/recipes/cacao/cacaoh-native.inc
index 655bb0c..f40497b 100644
--- a/recipes/cacao/cacaoh-native.inc
+++ b/recipes/cacao/cacaoh-native.inc
@@ -3,7 +3,7 @@ HOMEPAGE = "http://www.cacaojvm.org/"
 LICENSE = "GPL"
 DEPENDS = "libtool-native zlib-native virtual/javac-native classpath-native"
 
-INC_PR = "r4"
+INC_PR = "r5"
 
 S = "${WORKDIR}/cacao-${PV}"
 
@@ -24,7 +24,7 @@ do_compile() {
 
 do_install() {
   install -d ${D}${bindir}/cacaoh-${PV}
-  libtool --mode=install install -m 0755 src/cacaoh/cacaoh ${D}${bindir}/cacaoh-${PV}
+  ${STAGING_BINDIR_NATIVE}/${HOST_SYS}-libtool --mode=install install -m 0755 src/cacaoh/cacaoh ${D}${bindir}/cacaoh-${PV}
 }
 
 NATIVE_INSTALL_WORKS = "1"
diff --git a/recipes/cacao/cacaoh-openjdk-native.inc b/recipes/cacao/cacaoh-openjdk-native.inc
index e290a24..32f0a5e 100644
--- a/recipes/cacao/cacaoh-openjdk-native.inc
+++ b/recipes/cacao/cacaoh-openjdk-native.inc
@@ -25,5 +25,5 @@ do_compile() {
 }
 
 do_install() {
-	libtool --mode=install install -m 0755 src/cacaoh/cacaoh ${STAGING_BINDIR}/cacaoh-openjdk-${PV}
+	${STAGING_BINDIR_NATIVE}/${HOST_SYS}-libtool --mode=install install -m 0755 src/cacaoh/cacaoh ${STAGING_BINDIR}/cacaoh-openjdk-${PV}
 }
diff --git a/recipes/cacao/cacaoh-openjdk-native_0.99.4.bb b/recipes/cacao/cacaoh-openjdk-native_0.99.4.bb
index 3f2686f..fefd397 100644
--- a/recipes/cacao/cacaoh-openjdk-native_0.99.4.bb
+++ b/recipes/cacao/cacaoh-openjdk-native_0.99.4.bb
@@ -1,6 +1,6 @@
 require cacaoh-openjdk-native.inc
 
-PR = "r1"
+PR = "r2"
 
 SRC_URI[md5sum] = "63220327925ace13756ae334c55a3baa"
 SRC_URI[sha256sum] = "1dfc4903dc0172286df4f1740fd0f12749ac81d51c602290b47cbe83d51e1d56"





More information about the Openembedded-commits mailing list