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

index 6695fbd..8ddbc7c 100644 (file)
@@ -13,6 +13,8 @@ PR = "r1"
 
 SRC_URI = "file://ecj.in"
 
+NATIVE_INSTALL_WORKS = "1"
+
 S = "${WORKDIR}"
 
 inherit native
@@ -27,7 +29,7 @@ do_compile() {
   cat ecj.in >> ecj-initial
 }
 
-do_stage() {
-  install -d ${STAGING_BINDIR}
-  install -m 755 ${S}/ecj-initial ${STAGING_BINDIR}
+do_install() {
+  install -d ${D}${bindir}
+  install -m 755 ${S}/ecj-initial ${D}${bindir}
 }