summaryrefslogtreecommitdiffstats
path: root/recipes-core/ecj/libecj-bootstrap.inc
diff options
context:
space:
mode:
authorHenning Heinold <heinold@inf.fu-berlin.de>2012-01-11 22:44:22 +0100
committerHenning Heinold <heinold@inf.fu-berlin.de>2012-01-11 22:53:06 +0100
commita6cd91a075ab2068624559129ea213e4a4fcb8eb (patch)
tree43a920dc6635cfdc4ed1e0bdeef500b159594f0a /recipes-core/ecj/libecj-bootstrap.inc
parentcc04efcf23c40f7ad5915ecc7e41c937de0d0fba (diff)
downloadmeta-java-a6cd91a075ab2068624559129ea213e4a4fcb8eb.tar.gz
libecj-bootstrap: use sort for builder order and introduce INC_PR
* on some filesystems find orders the files to build not the right way, using sort seems to fix it, thanks Stefan Ring for the patch * use INC_PR for better revision handling Signed-off-by: Henning Heinold <heinold@inf.fu-berlin.de>
Diffstat (limited to 'recipes-core/ecj/libecj-bootstrap.inc')
-rw-r--r--recipes-core/ecj/libecj-bootstrap.inc4
1 files changed, 3 insertions, 1 deletions
diff --git a/recipes-core/ecj/libecj-bootstrap.inc b/recipes-core/ecj/libecj-bootstrap.inc
index 6f9048f..4f85ba9 100644
--- a/recipes-core/ecj/libecj-bootstrap.inc
+++ b/recipes-core/ecj/libecj-bootstrap.inc
@@ -7,6 +7,8 @@ LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/EPL-1.0;md5=57f8d5e2b3e98ac6e08
7 7
8DEPENDS = "fastjar-native jikes-initial virtual/java-initial" 8DEPENDS = "fastjar-native jikes-initial virtual/java-initial"
9 9
10INC_PR = "r5"
11
10inherit native java 12inherit native java
11 13
12S = "${WORKDIR}" 14S = "${WORKDIR}"
@@ -47,7 +49,7 @@ do_unpackpost() {
47addtask unpackpost after do_unpack before do_patch 49addtask unpackpost after do_unpack before do_patch
48 50
49do_compile() { 51do_compile() {
50 find source -name '*.java' > sourcefiles 52 find source -name '*.java' | LC_ALL=C sort > sourcefiles
51 split -l 25 sourcefiles ecj-sources. 53 split -l 25 sourcefiles ecj-sources.
52 54
53 # Compiling in place is done because the sources contain 55 # Compiling in place is done because the sources contain