diff options
author | Henning Heinold <heinold@inf.fu-berlin.de> | 2012-01-11 22:44:22 +0100 |
---|---|---|
committer | Henning Heinold <heinold@inf.fu-berlin.de> | 2012-01-11 22:53:06 +0100 |
commit | a6cd91a075ab2068624559129ea213e4a4fcb8eb (patch) | |
tree | 43a920dc6635cfdc4ed1e0bdeef500b159594f0a /recipes-core/ecj/libecj-bootstrap.inc | |
parent | cc04efcf23c40f7ad5915ecc7e41c937de0d0fba (diff) | |
download | meta-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.inc | 4 |
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 | ||
8 | DEPENDS = "fastjar-native jikes-initial virtual/java-initial" | 8 | DEPENDS = "fastjar-native jikes-initial virtual/java-initial" |
9 | 9 | ||
10 | INC_PR = "r5" | ||
11 | |||
10 | inherit native java | 12 | inherit native java |
11 | 13 | ||
12 | S = "${WORKDIR}" | 14 | S = "${WORKDIR}" |
@@ -47,7 +49,7 @@ do_unpackpost() { | |||
47 | addtask unpackpost after do_unpack before do_patch | 49 | addtask unpackpost after do_unpack before do_patch |
48 | 50 | ||
49 | do_compile() { | 51 | do_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 |