package: add jamvm jvm

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
This commit is contained in:
Peter Korsgaard 2012-12-04 10:02:25 -08:00
parent 5062f53008
commit ae10e33a50
3 changed files with 21 additions and 0 deletions

View File

@ -268,6 +268,7 @@ endmenu
menu "Interpreter languages and scripting"
source "package/erlang/Config.in"
source "package/haserl/Config.in"
source "package/jamvm/Config.in"
source "package/lua/Config.in"
source "package/luajit/Config.in"
if BR2_PACKAGE_LUA || BR2_PACKAGE_LUAJIT

9
package/jamvm/Config.in Normal file
View File

@ -0,0 +1,9 @@
config BR2_PACKAGE_JAMVM
bool "jamvm"
select BR2_PACKAGE_ZLIB
select BR2_PACKAGE_CLASSPATH
help
JamVM is a new Java Virtual Machine which conforms to the
JVM specification version 2 (blue book).
http://jamvm.sf.net

11
package/jamvm/jamvm.mk Normal file
View File

@ -0,0 +1,11 @@
JAMVM_VERSION = 1.5.4
JAMVM_SITE = http://downloads.sourceforge.net/project/jamvm/jamvm/JamVM%20$(JAMVM_VERSION)
JAMVM_DEPENDENCIES = zlib classpath
# int inlining seems to crash jamvm, don't build shared version of internal lib
JAMVM_CONF_OPT = \
--with-classpath-install-dir=/usr \
--disable-int-inlining \
--disable-shared \
--without-pic
$(eval $(autotools-package))