aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHenning Heinold <h.heinold@tarent.de>2011-03-25 18:07:21 +0100
committerHenning Heinold <h.heinold@tarent.de>2011-03-25 18:07:21 +0100
commitb8d3dc71dff99464245ee07a0fa27a4b48b60031 (patch)
tree1f2a728f2fa172dda295f3fa4c45096d2a1aa5ff
parentd719b8bb5bbce94697be91ed5e1cdd1fa8864392 (diff)
downloadopenembedded-b8d3dc71dff99464245ee07a0fa27a4b48b60031.zip
openembedded-b8d3dc71dff99464245ee07a0fa27a4b48b60031.tar.gz
openembedded-b8d3dc71dff99464245ee07a0fa27a4b48b60031.tar.bz2
ecj: for ecj-initial 512 mb heapsize is okay for ecj-bootstrap we need 1024
-rw-r--r--recipes/ecj/ecj-bootstrap-native.bb2
-rw-r--r--recipes/ecj/ecj-initial.bb6
-rwxr-xr-xrecipes/ecj/files/ecj-initial.in1
-rwxr-xr-xrecipes/ecj/files/ecj.in2
4 files changed, 6 insertions, 5 deletions
diff --git a/recipes/ecj/ecj-bootstrap-native.bb b/recipes/ecj/ecj-bootstrap-native.bb
index 594b08c..bdb9797 100644
--- a/recipes/ecj/ecj-bootstrap-native.bb
+++ b/recipes/ecj/ecj-bootstrap-native.bb
@@ -17,7 +17,7 @@ SRC_URI = "file://ecj.in"
S = "${WORKDIR}"
-PR = "r2"
+PR = "r3"
JAR = "ecj-bootstrap.jar"
diff --git a/recipes/ecj/ecj-initial.bb b/recipes/ecj/ecj-initial.bb
index 8ddbc7c..1809cd6 100644
--- a/recipes/ecj/ecj-initial.bb
+++ b/recipes/ecj/ecj-initial.bb
@@ -9,9 +9,9 @@ LICENSE = "EPL"
DEPENDS = "libecj-bootstrap"
-PR = "r1"
+PR = "r2"
-SRC_URI = "file://ecj.in"
+SRC_URI = "file://ecj-initial.in"
NATIVE_INSTALL_WORKS = "1"
@@ -26,7 +26,7 @@ do_compile() {
echo "#!/bin/sh" > ecj-initial
echo "ECJ_JAR=${STAGING_DATADIR}/java/${JAR}" >> ecj-initial
echo "RUNTIME=java-initial" >> ecj-initial
- cat ecj.in >> ecj-initial
+ cat ecj-initial.in >> ecj-initial
}
do_install() {
diff --git a/recipes/ecj/files/ecj-initial.in b/recipes/ecj/files/ecj-initial.in
new file mode 100755
index 0000000..2099991
--- /dev/null
+++ b/recipes/ecj/files/ecj-initial.in
@@ -0,0 +1 @@
+${RUNTIME} -Xmx512m -cp ${ECJ_JAR} org.eclipse.jdt.internal.compiler.batch.Main ${1+"$@"}
diff --git a/recipes/ecj/files/ecj.in b/recipes/ecj/files/ecj.in
index 2099991..2cff259 100755
--- a/recipes/ecj/files/ecj.in
+++ b/recipes/ecj/files/ecj.in
@@ -1 +1 @@
-${RUNTIME} -Xmx512m -cp ${ECJ_JAR} org.eclipse.jdt.internal.compiler.batch.Main ${1+"$@"}
+${RUNTIME} -Xmx1024m -cp ${ECJ_JAR} org.eclipse.jdt.internal.compiler.batch.Main ${1+"$@"}