[PATCH] fix uclib bug in jamvm

I just realized that tls has some problems with ulibc. This patch disables
it and uses more opewrt-style install directories for libraries.
Signed-off-by: Roberto Riggio <roberto.riggio@create-net.org>


git-svn-id: svn://svn.openwrt.org/openwrt/packages@15988 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
jow 2009-05-22 13:09:45 +00:00
parent 65ef05a3a1
commit 414b4307e2
2 changed files with 6 additions and 4 deletions

View File

@ -36,6 +36,8 @@ define Package/jamvm/description
endef
CONFIGURE_ARGS+= \
--with-classpath-install-dir=/usr \
--disable-tls \
--enable-ffi \
--disable-int-threading \

View File

@ -45,10 +45,10 @@ define Build/Compile
endef
define Package/classpath/install
$(INSTALL_DIR) $(1)/usr/local/classpath/share/classpath/
$(INSTALL_DIR) $(1)/usr/local/classpath/lib/classpath/
$(CP) $(PKG_INSTALL_DIR)/usr/share/classpath/glibj.zip $(1)/usr/local/classpath/share/classpath/
$(CP) $(PKG_INSTALL_DIR)/usr/lib/classpath/* $(1)/usr/local/classpath/lib/classpath/
$(INSTALL_DIR) $(1)/usr/share/classpath
$(INSTALL_DIR) $(1)/usr/lib/classpath
$(CP) $(PKG_INSTALL_DIR)/usr/share/classpath/glibj.zip $(1)/usr/share/classpath/
$(CP) $(PKG_INSTALL_DIR)/usr/lib/classpath/* $(1)/usr/lib/classpath/
endef
$(eval $(call BuildPackage,classpath))