summaryrefslogtreecommitdiff
path: root/jtools/gcj/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'jtools/gcj/Makefile')
-rw-r--r--jtools/gcj/Makefile52
1 files changed, 0 insertions, 52 deletions
diff --git a/jtools/gcj/Makefile b/jtools/gcj/Makefile
deleted file mode 100644
index 3af5e0e5f..000000000
--- a/jtools/gcj/Makefile
+++ /dev/null
@@ -1,52 +0,0 @@
-# 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:= gcj
-PKG_RELEASE:= 1
-PKG_VERSION:= 4.7.3
-PKG_MD5SUM:= 86f428a30379bdee0224e353ee2f999e
-PKG_SITES:= ${MASTER_SITE_GNU:=gcc/gcc-${PKG_VERSION}/}
-DISTFILES:= gcc-$(PKG_VERSION).tar.bz2
-
-WRKDIST= ${WRKDIR}/gcc-${PKG_VERSION}
-
-include ../rules.mk
-GCJ_ENV+= "JAR=no LDFLAGS=-liconv"
-
-install: ${STAGING_JAVA_HOST_DIR}/usr/bin/gcj
-
-$(WRKBUILD)/.configured: ${WRKDIST}/.prepared
- (cd $(WRKBUILD); \
- wget -O ecj.jar ftp://sourceware.org/pub/java/ecj-4.9.jar; \
- env ${GCJ_ENV} ./configure \
- --prefix=/usr \
- --enable-java-home \
- --enable-languages=java \
- --enable-shared \
- --with-ffi \
- --with-mpc=$(STAGING_HOST_DIR) \
- --with-mpfr=$(STAGING_HOST_DIR) \
- --with-gmp=$(STAGING_HOST_DIR) \
- --disable-nls \
- --without-libiconv-prefix \
- --disable-libmudflap \
- --disable-libgomp \
- --disable-biarch \
- --disable-decimal-float \
- --disable-multilib \
- --disable-bootstrap \
- );
- touch $@
-
-$(WRKBUILD)/.compiled: ${WRKDIST}/.configured
- env ${GCJ_ENV} ${MAKE} -C ${WRKBUILD} $(MAKE_TRACE)
- touch $@
-
-${STAGING_JAVA_HOST_DIR}/usr/bin/gcj: $(WRKBUILD)/.compiled
- $(INSTALL_DIR) ${STAGING_JAVA_HOST_DIR}
- env ${GCJ_ENV} ${MAKE} -C ${WRKBUILD} \
- DESTDIR=$(STAGING_JAVA_HOST_DIR) install $(MAKE_TRACE)
-
-include $(TOPDIR)/mk/tools.mk