[oe-commits] Henning Heinold : ecj-bootstrap-native: convert to new staging system

git version control git at git.openembedded.org
Sat May 15 23:57:41 UTC 2010


Module: openembedded.git
Branch: org.openembedded.dev
Commit: 0664036a821f0e9384e1ccbbed24f74055c04968
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=0664036a821f0e9384e1ccbbed24f74055c04968

Author: Henning Heinold <heinold at inf.fu-berlin.de>
Date:   Sat May 15 23:41:19 2010 +0200

ecj-bootstrap-native: convert to new staging system

---

 recipes/ecj/ecj-bootstrap-native.bb |   10 ++++++----
 1 files changed, 6 insertions(+), 4 deletions(-)

diff --git a/recipes/ecj/ecj-bootstrap-native.bb b/recipes/ecj/ecj-bootstrap-native.bb
index 6c80de7..594b08c 100644
--- a/recipes/ecj/ecj-bootstrap-native.bb
+++ b/recipes/ecj/ecj-bootstrap-native.bb
@@ -21,6 +21,8 @@ PR = "r2"
 
 JAR = "ecj-bootstrap.jar"
 
+NATIVE_INSTALL_WORKS = "1"
+
 inherit native
 
 do_compile() {
@@ -31,8 +33,8 @@ do_compile() {
   cat ecj.in >> ecj-bootstrap
 }
 
-do_stage() {
-  install -d ${STAGING_BINDIR}
-  install -m 755 ${S}/ecj-bootstrap ${STAGING_BINDIR}
-  install -m 755 ${S}/ecj-bootstrap ${STAGING_BINDIR}/javac
+do_install() {
+  install -d ${D}${bindir}
+  install -m 755 ${S}/ecj-bootstrap ${D}${bindir}
+  install -m 755 ${S}/ecj-bootstrap ${D}${bindir}/javac
 }





More information about the Openembedded-commits mailing list