diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2011-04-01 16:40:24 +0200 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2011-04-01 16:40:24 +0200 |
commit | e8c76b35182a24385949e28c76c56db0d86bb7b0 (patch) | |
tree | 7e6d16c2808808b183cc6b48fa56f154191afe3e /jtools/cacao | |
parent | 125c380eef783c99f0877d60e966e37c295a2267 (diff) |
add a java build tool directory
following build tools seem to be required to cross-compile
OpenJDK:
- fastjar
- classpath
- gcj
- jamvm
- ecj
Maybe cacao is better, maybe ant is required, too.
... hacking...
Diffstat (limited to 'jtools/cacao')
-rw-r--r-- | jtools/cacao/Makefile | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/jtools/cacao/Makefile b/jtools/cacao/Makefile new file mode 100644 index 000000000..6d4b76d1f --- /dev/null +++ b/jtools/cacao/Makefile @@ -0,0 +1,35 @@ +# This file is part of the OpenADK project. OpenADK is copyrighted +# material, please see the LICENCE file in the top-level directory. + +include $(TOPDIR)/rules.mk + +PKG_NAME:= cacao +PKG_VERSION:= 0.99.4 +PKG_RELEASE:= 1 +PKG_MD5SUM:= 63220327925ace13756ae334c55a3baa +PKG_SITES:= http://www.complang.tuwien.ac.at/cacaojvm/download/cacao-0.99.4/ + +DISTFILES:= $(PKG_NAME)-$(PKG_VERSION).tar.bz2 + +include ../rules.mk + +install: ${STAGING_HOST_DIR}/usr/bin/cacao + +$(WRKBUILD)/.configured: ${WRKDIST}/.prepared + (cd $(WRKBUILD); ./configure --prefix=/usr --disable-libjvm --enable-debug \ + --with-vm-zip=$(STAGING_HOST_DIR)/usr/share/cacao/vm.zip \ + --with-java-runtime-library=gnuclasspath \ + --with-java-runtime-library-classes=$(STAGING_HOST_DIR)/usr/share/classpath/glibj.zip \ + --with-java-runtime-library-prefix=$(STAGING_HOST_DIR)/usr \ + --with-jni_md_h=$(STAGING_HOST_DIR)/usr/include \ + ); + touch $@ + +$(WRKBUILD)/.compiled: ${WRKDIST}/.configured + ${MAKE} -C ${WRKBUILD} $(MAKE_TRACE) + touch $@ + +${STAGING_HOST_DIR}/usr/bin/cacao: $(WRKBUILD)/.compiled + ${MAKE} -C ${WRKBUILD} DESTDIR=$(STAGING_HOST_DIR) install $(MAKE_TRACE) + +include $(TOPDIR)/mk/tools.mk |