Skip to contentSkip to conversation

svn commit: trunk/buildroot/package: classpath concierge concierge/files

Buildroot ninevoltz at uclibc.org 1 participant 1 message Mar 6, 2008

lore
Share & tools
lore
#0 lore raw

Author: ninevoltz
Date: 2008-03-06 10:02:19 -0800 (Thu, 06 Mar 2008) New Revision: 21187

Log:
added concierge OSGi and classpath

Added:
trunk/buildroot/package/classpath/ trunk/buildroot/package/classpath/Config.in trunk/buildroot/package/classpath/classpath-avr32-endianness.patch trunk/buildroot/package/classpath/classpath.mk trunk/buildroot/package/concierge/ trunk/buildroot/package/concierge/Config.in trunk/buildroot/package/concierge/concierge.mk trunk/buildroot/package/concierge/files/ trunk/buildroot/package/concierge/files/concierge trunk/buildroot/package/concierge/files/init.xargs

Changeset:
Added: trunk/buildroot/package/classpath/Config.in
===================================================================

buildroot/package/classpath/Config.in +7 -0
@@ -0,0 +1,7 @@
+config BR2_PACKAGE_CLASSPATH
+	bool "classpath"
+	default n
+
+	help
+	  GNU Classpath, Essential Libraries for Java, is a GNU project to create free core class libraries for use with virtual machines and compilers for the java programming language
+	  http://www.classpath.org/

Added: trunk/buildroot/package/classpath/classpath-avr32-endianness.patch
===================================================================

buildroot/package/classpath/classpath-avr32-endianness.patch +29 -0
@@ -0,0 +1,29 @@
+diff -rup ../classpath-0.96.1.default/ChangeLog ./ChangeLog
+--- ../classpath-0.96.1.default/ChangeLog       2007-10-16 17:35:33.000000000
++0200
++++ ./ChangeLog 2007-12-18 09:36:39.000000000 +0100
+@@ -1,3 +1,7 @@
++2007-12-18  Leen Toelen  <[email protected]>
++
++       * native/fdlibm/ieeefp.h: Added avr32 support
++
+ 2007-10-16  Mark Wielaard  <[email protected]>
+
+        * NEWS: Mention small compile/configure/build fixes.
+diff -rup ../classpath-0.96.1.default/native/fdlibm/ieeefp.h
+./native/fdlibm/ieeefp.h
+--- ../classpath-0.96.1.default/native/fdlibm/ieeefp.h  2006-04-19
+19:55:13.000000000 +0200
++++ ./native/fdlibm/ieeefp.h    2007-12-18 09:32:55.000000000 +0100
+@@ -87,6 +87,10 @@
+ #define __IEEE_LITTLE_ENDIAN
+ #endif
+
++#ifdef __AVR32__
++#define __IEEE_BIG_ENDIAN
++#endif
++
+ #ifdef __MIPSEL__
+ #define __IEEE_LITTLE_ENDIAN
+ #endif
+

Added: trunk/buildroot/package/classpath/classpath.mk
===================================================================

buildroot/package/classpath/classpath.mk +94 -0

94 lines not on this page · raw message

Added: trunk/buildroot/package/concierge/Config.in
===================================================================

buildroot/package/concierge/Config.in +8 -0
@@ -0,0 +1,8 @@
+config BR2_PACKAGE_CONCIERGE
+	bool "concierge"
+	default n
+        depends on BR2_PACKAGE_JAMVM
+
+	help
+	  Concierge is an optimized OSGi R3 framework implementations with a file footprint of about 80 kBytes. This makes it ideal for mobile or embedded devices. 
+	  http://concierge.sourceforge.net/

Added: trunk/buildroot/package/concierge/concierge.mk
===================================================================

buildroot/package/concierge/concierge.mk +40 -0
@@ -0,0 +1,40 @@
+#############################################################
+#
+# concierge 1.0-RC2
+#
+#############################################################
+CONCIERGE_VERSION = 1.0_RC2
+CONCIERGE_SOURCE = concierge-$(CONCIERGE_VERSION).jar
+CONCIERGE_SITE = http://ovh.dl.sourceforge.net/sourceforge/concierge/
+CONCIERGE_DIR=$(BUILD_DIR)/concierge-$(CONCIERGE_VERSION)
+CONCIERGE_SITE_BUNDLES = http://concierge.sourceforge.net/bundles/
+
+$(DL_DIR)/concierge:
+	 mkdir -p $(DL_DIR)/concierge/
+	 $(WGET) -P $(DL_DIR)/concierge/ $(CONCIERGE_SITE)/concierge-$(CONCIERGE_VERSION).jar
+	 $(WGET) -P $(DL_DIR)/concierge/ $(CONCIERGE_SITE_BUNDLES)shell-1.0.0.RC2.jar
+	 $(WGET) -P $(DL_DIR)/concierge/ $(CONCIERGE_SITE_BUNDLES)service-tracker-1.0.0.RC2.jar
+	 $(WGET) -P $(DL_DIR)/concierge/ $(CONCIERGE_SITE_BUNDLES)event-admin-1.0.0.RC2.jar
+
+$(TARGET_DIR)/usr/lib/concierge/: $(DL_DIR)/concierge
+	mkdir -p $(TARGET_DIR)/usr/lib
+	mkdir -p $(TARGET_DIR)/usr/lib/concierge
+	cp -dpf $(DL_DIR)/concierge/* $(TARGET_DIR)/usr/lib/concierge/
+	cp -dpf package/concierge/files/init.xargs $(TARGET_DIR)/usr/lib/concierge/
+	touch -c $@
+
+$(TARGET_DIR)/usr/bin/concierge: 
+	cp -dpf package/concierge/files/concierge $(TARGET_DIR)/usr/bin/
+	chmod +x $(TARGET_DIR)/usr/bin/concierge
+	touch -c $@
+
+concierge: $(TARGET_DIR)/usr/lib/concierge $(TARGET_DIR)/usr/bin/concierge
+
+#############################################################
+#
+# Toplevel Makefile options
+#
+#############################################################
+ifeq ($(strip $(BR2_PACKAGE_CONCIERGE)),y)
+TARGETS+=concierge
+endif

Added: trunk/buildroot/package/concierge/files/concierge
===================================================================

buildroot/package/concierge/files/concierge +2 -0
@@ -0,0 +1,2 @@
+#!/bin/sh
+/usr/bin/jamvm -jar /usr/lib/concierge/concierge-1.0_RC2.jar

Added: trunk/buildroot/package/concierge/files/init.xargs
===================================================================

buildroot/package/concierge/files/init.xargs +10 -0
@@ -0,0 +1,10 @@
+-init
+-all
+-Dch.ethz.iks.concierge.debug=true
+-Dch.ethz.iks.concierge.log.enabled=true
+-Dch.ethz.iks.concierge.log.level=4
+
+
+#-istart shell-1.0.0.RC2.jar
+#-istart service-tracker-1.0.0.RC2.jar
+#-istart event-admin-1.0.0.RC2.jar