1 # ECJ as a bootstrap compiler is a drop-in replacement for Sun's javac. It offers no more
2 # and no less features.
4 # This variant runs on the initial (not Java5-compatible runtime).
6 DESCRIPTION = "JDT Core Batch Compiler - Bootstrap variant"
7 HOMEPAGE = "http://www.eclipse.org/"
10 DEPENDS = "libecj-bootstrap"
14 SRC_URI = "file://ecj.in"
20 JAR = "ecj-bootstrap.jar"
23 # Create the start script
24 echo "#!/bin/sh" > ecj-initial
25 echo "ECJ_JAR=${STAGING_DATADIR}/java/${JAR}" >> ecj-initial
26 echo "RUNTIME=java-initial" >> ecj-initial
27 cat ecj.in >> ecj-initial
31 install -d ${STAGING_BINDIR}
32 install -m 755 ${S}/ecj-initial ${STAGING_BINDIR}