summaryrefslogtreecommitdiff
path: root/jtools/ecj/Makefile
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2011-04-09 11:24:33 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2011-04-09 11:24:33 +0200
commitf3ded116304e1a71bae106ed0a842984de88760d (patch)
treed8a761da26e40cea5ab94076354860fa17900728 /jtools/ecj/Makefile
parenta40963c0a18d97d1c9a9f9a4038188c299fa8136 (diff)
compile ant as prerequisites with jikes and jamvm
Diffstat (limited to 'jtools/ecj/Makefile')
-rw-r--r--jtools/ecj/Makefile8
1 files changed, 6 insertions, 2 deletions
diff --git a/jtools/ecj/Makefile b/jtools/ecj/Makefile
index a67e9ebd8..c4ab831e4 100644
--- a/jtools/ecj/Makefile
+++ b/jtools/ecj/Makefile
@@ -5,7 +5,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:= ecj
PKG_VERSION:= 1
-PKG_RELEASE:= 1
+PKG_RELEASE:= 2
PKG_MD5SUM:= 63220327925ace13756ae334c55a3baa
include ../rules.mk
@@ -26,8 +26,12 @@ ${STAGING_JAVA_HOST_DIR}/usr/bin/ecj:
${STAGING_JAVA_HOST_DIR}/usr/bin/ecj
chmod u+x ${STAGING_JAVA_HOST_DIR}/usr/bin/ecj
# put a wrapper for java here
- echo "env LD_LIBRARY_PATH=$(STAGING_JAVA_HOST_DIR)/usr/lib:$(STAGING_JAVA_HOST_DIR)/usr/lib64 ${STAGING_JAVA_HOST_DIR}/usr/bin/gij \$$@" > \
+ echo "env LD_LIBRARY_PATH=$(STAGING_JAVA_HOST_DIR)/usr/lib:$(STAGING_JAVA_HOST_DIR)/usr/lib64 ${STAGING_JAVA_HOST_DIR}/usr/bin/gij \"\$$@\"" > \
${STAGING_JAVA_HOST_DIR}/usr/bin/java
chmod u+x ${STAGING_JAVA_HOST_DIR}/usr/bin/java
+ rm ${STAGING_JAVA_HOST_DIR}/usr/lib/jvm/bin/java
+ rm ${STAGING_JAVA_HOST_DIR}/usr/lib/jvm/jre/bin/java
+ cp ${STAGING_JAVA_HOST_DIR}/usr/bin/java ${STAGING_JAVA_HOST_DIR}/usr/lib/jvm/bin/java
+ cp ${STAGING_JAVA_HOST_DIR}/usr/bin/java ${STAGING_JAVA_HOST_DIR}/usr/lib/jvm/jre/bin/java
include $(TOPDIR)/mk/tools.mk