imgtec-ci20: genimage config/ u-boot env
[openadk.git] / package / gcj / Makefile
blobc4fdd7e0620b477757c92a51c6a8e6622f9a2652
1 # This file is part of the OpenADK project. OpenADK is copyrighted
2 # material, please see the LICENCE file in the top-level directory.
4 include $(ADK_TOPDIR)/rules.mk
6 PKG_NAME:= gcj
7 PKG_VERSION:= 5.4.0
8 PKG_RELEASE:= 1
9 PKG_HASH:= 37089e80c3f2e9a0663d7ccc51c2a6c7dbbf3275bc1e4ed1ed3b1460cd5b3030
10 PKG_DESCR:= java compiler
11 PKG_SECTION:= dev/lang
12 HOST_BUILDDEP:= zip-host
13 PKG_SITES:= ${MASTER_SITE_GNU:=gcc/gcc-${PKG_VERSION}/}
15 PKG_CFLINE_GCJ:= depends on ADK_HOST_ONLY
17 DISTFILES:= gcc-$(PKG_VERSION).tar.gz
18 WRKDIST= ${WRKDIR}/gcc-${PKG_VERSION}
20 include $(ADK_TOPDIR)/mk/host.mk
21 include $(ADK_TOPDIR)/mk/package.mk
23 $(eval $(call HOST_template,GCJ,gcj,$(PKG_VERSION)-${PKG_RELEASE}))
25 HOST_MAKE_ENV+= "JAR=no LDFLAGS=-liconv"
26 # http://gcc.gnu.org/bugzilla/attachment.cgi?id=30880&action=diff
27 HOST_CONFIGURE_ARGS:= --enable-dependency-tracking \
28 --enable-java-home \
29 --enable-languages=java \
30 --enable-shared \
31 --with-ffi \
32 --with-mpc=$(STAGING_HOST_DIR) \
33 --with-mpfr=$(STAGING_HOST_DIR) \
34 --with-gmp=$(STAGING_HOST_DIR) \
35 --disable-nls \
36 --without-libiconv-prefix \
37 --disable-libmudflap \
38 --disable-libgomp \
39 --disable-biarch \
40 --disable-decimal-float \
41 --disable-multilib \
42 --disable-bootstrap
44 include ${ADK_TOPDIR}/mk/host-bottom.mk
45 include ${ADK_TOPDIR}/mk/pkg-bottom.mk