summaryrefslogtreecommitdiff
path: root/package/ecj
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2014-03-12 20:34:01 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2014-03-12 20:34:01 +0100
commitd2bda1cfddccdd4c553a15e775a037de3bbb0570 (patch)
tree965914462125326d3166287f4567ceae50bf7914 /package/ecj
parent22db207e5c13ad254ff488b8be2601792aae8586 (diff)
parentd07bf77e221876d0c9d6f9813ef165265b67c15e (diff)
Merge branch 'master' of git+ssh://openadk.org/git/openadk
Diffstat (limited to 'package/ecj')
-rw-r--r--package/ecj/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/package/ecj/Makefile b/package/ecj/Makefile
index 37a463eb1..8bba31865 100644
--- a/package/ecj/Makefile
+++ b/package/ecj/Makefile
@@ -10,9 +10,9 @@ PKG_MD5SUM:= c474fa9d0c35a24037c23b6e476862c1
PKG_DESCR:= ecj java compiler
PKG_SECTION:= lang
-NO_DISTFILES:= 1
+PKG_CFLINE_ECJ:= depends on ADK_HOST_ONLY
-PKG_ARCH_DEPENDS:= native
+NO_DISTFILES:= 1
include $(TOPDIR)/mk/host.mk
include $(TOPDIR)/mk/package.mk
@@ -26,7 +26,7 @@ ecj-hostinstall:
$(STAGING_HOST_DIR)/usr/bin/gcj -lgcj -O2 -findirect-dispatch \
-o ${STAGING_HOST_DIR}/usr/bin/ecj.native \
--main=org.eclipse.jdt.internal.compiler.batch.Main \
- $(DISTDIR)/ecj.jar
+ $(DL_DIR)/ecj.jar
echo "env LD_LIBRARY_PATH=$(STAGING_HOST_DIR)/usr/lib:$(STAGING_HOST_DIR)/usr/lib64 ${STAGING_HOST_DIR}/usr/bin/ecj.native \$$@" > \
${STAGING_HOST_DIR}/usr/bin/ecj
chmod u+x ${STAGING_HOST_DIR}/usr/bin/ecj