2013-06-21 00:17:14 +02:00
|
|
|
################################################################################
|
|
|
|
#
|
|
|
|
# jamvm
|
|
|
|
#
|
|
|
|
################################################################################
|
|
|
|
|
2014-09-26 21:36:43 +02:00
|
|
|
JAMVM_VERSION = 2.0.0
|
2012-12-04 19:02:25 +01:00
|
|
|
JAMVM_SITE = http://downloads.sourceforge.net/project/jamvm/jamvm/JamVM%20$(JAMVM_VERSION)
|
2013-10-02 10:00:14 +02:00
|
|
|
JAMVM_LICENSE = GPLv2+
|
|
|
|
JAMVM_LICENSE_FILES = COPYING
|
2012-12-04 19:02:25 +01:00
|
|
|
JAMVM_DEPENDENCIES = zlib classpath
|
2016-11-06 22:19:38 +01:00
|
|
|
# For 0001-Use-fenv.h-when-available-instead-of-fpu_control.h.patch
|
|
|
|
JAMVM_AUTORECONF = YES
|
2012-12-04 19:02:25 +01:00
|
|
|
# int inlining seems to crash jamvm, don't build shared version of internal lib
|
2014-09-27 21:32:44 +02:00
|
|
|
JAMVM_CONF_OPTS = \
|
2012-12-04 19:02:25 +01:00
|
|
|
--with-classpath-install-dir=/usr \
|
|
|
|
--disable-int-inlining \
|
|
|
|
--disable-shared \
|
|
|
|
--without-pic
|
|
|
|
|
2012-12-05 19:17:56 +01:00
|
|
|
# jamvm has ARM assembly code that cannot be compiled in Thumb2 mode,
|
|
|
|
# so we must force traditional ARM mode.
|
|
|
|
ifeq ($(BR2_arm),y)
|
|
|
|
JAMVM_CONF_ENV = CFLAGS="$(TARGET_CFLAGS) -marm"
|
|
|
|
endif
|
|
|
|
|
2016-11-06 22:19:38 +01:00
|
|
|
# Needed for autoreconf
|
|
|
|
define JAMVM_CREATE_M4_DIR
|
|
|
|
mkdir -p $(@D)/m4
|
|
|
|
endef
|
|
|
|
|
|
|
|
JAMVM_POST_PATCH_HOOKS += JAMVM_CREATE_M4_DIR
|
|
|
|
|
2012-12-04 19:02:25 +01:00
|
|
|
$(eval $(autotools-package))
|