+#@TYPE: Machine
+#@NAME: mycable xxs1500
+#@DESCRIPTION: Machine configuration for the xxs1500 revision A.
+
+# pad size and SREC_VMAADDR would need to be changed for the xxs1500 rev B.
+
+TARGET_ARCH = "mipsel"
+IPKG_ARCHS = "all mipsel ${MACHINE}"
+
+PREFERRED_PROVIDER_virtual/kernel = "linux-xxs1500"
+
+EXTRA_IMAGECMD_jffs2 = "--pad=0xa00000 --little-endian --eraseblock=0x20000 -n"
+
+# does not gain any speed and just creates problems:
+# TARGET_CC_ARCH = "-march=mips32"
+
+USE_DEVFS = "1"
+USE_VT = "0"
+SERIAL_CONSOLE = "115200 tts/0 vt100"
+
+SREC_VMAADDR = "0xbf200000"
+SECTION = "console/utils"
+DESCRIPTION = "GNU Classpath modified to work with SableVM"
+HOMEPAGE = "http://sablevm.org"
+LICENSE = "Classpath"
+PRIORITY = "optional"
+MAINTAINER = "Rene Wagner <reenoo@gmx.de>"
+DEPENDS = "glib-2.0 gtk+ libart-lgpl pango xtst jikes-native fastjar-native"
+RDEPENDS_${PN} = "${PN}-native"
+
+SRC_URI = "http://sablevm.org/download/release/${PV}/${PN}-${PV}.tar.gz \
+ file://disable-automake-checks.patch;patch=1"
+
+inherit autotools
+
+EXTRA_OECONF = "--enable-compressed-classes=fastjar"
+
+PACKAGES += " ${PN}-native"
+
+FILES_${PN} = "${datadir}/${PN}"
+FILES_${PN}-native = "${libdir}/${PN}"
+DESCRIPTION = "GNU Classpath modified to work with SableVM"
+HOMEPAGE = "http://sablevm.org"
+LICENSE = "Classpath"
+PRIORITY = "optional"
+MAINTAINER = "Rene Wagner <rw@handhelds.org>"
+SECTION = "libs"
+
+DEPENDS = "glib-2.0 gtk+ libart-lgpl pango xtst jikes-native zip-native"
+RDEPENDS_${PN} = "${PN}-native (>= ${PV})"
+
+SRC_URI = "http://sablevm.org/download/release/${PV}/${PN}-${PV}.tar.gz \
+ file://disable-automake-checks.patch;patch=1"
+
+inherit autotools
+
+EXTRA_OECONF = "--with-compressed-classes=zip"
+
+PACKAGES += " ${PN}-native"
+
+FILES_${PN} = "${datadir}/${PN} \
+ ${libdir}/sablevm"
+FILES_${PN}-native = "${libdir}/${PN}"
+
+do_install() {
+ autotools_do_install
+ mv ${D}${libdir}/security ${D}${libdir}/${PN}
+}