jikes-initial: make it build with new style staging
authorKoen Kooi <koen@openembedded.org>
Fri, 14 May 2010 15:36:41 +0000 (17:36 +0200)
committerKoen Kooi <koen@openembedded.org>
Fri, 14 May 2010 16:16:01 +0000 (18:16 +0200)
recipes/jikes/jikes-initial.bb

index 0e2f4d0..bf2fdd1 100644 (file)
@@ -2,8 +2,6 @@ SUMMARY = "Initial Java 1.4-compatible (and not higher) compiler"
 
 DEPENDS = "jikes-native classpath-initial"
 
-SRC_URI = ""
-
 S = "${WORKDIR}"
 
 inherit native
@@ -17,7 +15,9 @@ do_compile() {
   echo "${STAGING_BINDIR_NATIVE}/jikes -bootclasspath ${STAGING_DATADIR_NATIVE}/classpath-initial/glibj.zip \$@" >> jikes-initial
 }
 
-do_stage() {
-  install -d ${STAGING_BINDIR}
-  install -m 0755 jikes-initial ${STAGING_BINDIR}
+do_install() {
+  install -d ${D}${bindir}
+  install -m 0755 jikes-initial ${D}${bindir}
 }
+
+NATIVE_INSTALL_WORKS = "1"