ecj-bootstrap-native: convert to new staging system
authorHenning Heinold <heinold@inf.fu-berlin.de>
Sat, 15 May 2010 21:41:19 +0000 (23:41 +0200)
committerHenning Heinold <heinold@inf.fu-berlin.de>
Sat, 15 May 2010 22:27:12 +0000 (00:27 +0200)
recipes/ecj/ecj-bootstrap-native.bb

index 6c80de7..594b08c 100644 (file)
@@ -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
 }