summaryrefslogtreecommitdiff
path: root/package/openjdk/Makefile
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2011-08-19 18:11:35 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2011-08-19 18:11:35 +0200
commit9637f7746433e32ce710f0094aee29eea994195f (patch)
treec8b35b269464abc0d3fb7ee00cbfe7fbfd5b54ca /package/openjdk/Makefile
parentb83a99b16e9a89df4baa1c6cd6e33193a841c848 (diff)
more qemu archs for OpenJDK
Diffstat (limited to 'package/openjdk/Makefile')
-rw-r--r--package/openjdk/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/package/openjdk/Makefile b/package/openjdk/Makefile
index 62786add7..56097f6f8 100644
--- a/package/openjdk/Makefile
+++ b/package/openjdk/Makefile
@@ -52,7 +52,7 @@ WRKSRC= ${WRKDIST}/${ICEDTEA_NAME}-${ICEDTEA_VERSION}
PKG_SUBPKGS:= OPENJDK
PKG_CHOICES_OPENJDK:= ZERO SHARK CACAO
PKGCD_ZERO:= zero-assembly backend
-PKGCD_SHARK:= Shark JIT backend
+PKGCD_SHARK:= Shark JIT backend (needs eglibc/glibc)
PKGCB_SHARK:= llvm
PKGCD_CACAO:= Cacao JIT backend
PKGCD_JAMVM:= JamVM backend
@@ -61,6 +61,7 @@ include $(TOPDIR)/mk/package.mk
$(eval $(call PKG_template,OPENJDK,openjdk,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
+
TARGET_CFLAGS:= $(filter-out -fhonour-copts,$(TARGET_CFLAGS))
BOOTSTRAPJDK:= ${STAGING_JAVA_HOST_DIR}/bootstrap-jdk
@@ -110,6 +111,9 @@ ALL_TARGET:= icedtea
# add include path for Xrender.h from staging directory
post-patch:
+ifeq ($(QEMU),)
+ $(error Fatal error: $$QEMU not set!)
+endif
$(SED) "s#@ADK_TARGETDIR@#$(STAGING_TARGET_DIR)#" ${WRKDIST}/$(PKG_NAME)-$(PKG_VERSION)/jdk/make/sun/xawt/Makefile
do-extract: