summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Ansell <mithro@mithis.com>2004-09-24 17:04:32 +0000
committerTim Ansell <mithro@mithis.com>2004-09-24 17:04:32 +0000
commit50ddf3c5369e333bb4bf4f7b802d15be668ead28 (patch)
tree299e255f27272bd9387638926cec535c96625909
parenta7e00773a58a0bc6337a9d2fbe722e3a4bb46c0a (diff)
Merge bk://openembedded@openembedded.bkbits.net/packages
into mithis.com:/cc/packages 2004/09/25 02:34:06+09:30 mithis.com!mithro Support for soft float. BKrev: 415453a0D97UFNFKN7pXmHA11LRw2w
-rw-r--r--sharp-binary-only/sharp-aticore.oe39
1 files changed, 39 insertions, 0 deletions
diff --git a/sharp-binary-only/sharp-aticore.oe b/sharp-binary-only/sharp-aticore.oe
index e69de29bb2..aab03d67f6 100644
--- a/sharp-binary-only/sharp-aticore.oe
+++ b/sharp-binary-only/sharp-aticore.oe
@@ -0,0 +1,39 @@
+DESCRIPTION = "Driver for the Ati W100 found on the Sharp Zaurus C[87]x0"
+SECTION = "base"
+PRIORITY = "optional"
+LICENSE = "CLOSED"
+PR = "r0"
+
+SRC_URI = "http://www.mithis.com/zaurus/AtiCore.${TARGET_FPU}.tar.bz2"
+S = "${WORKDIR}/AtiCore"
+
+FILES_${PN}="/usr/lib/*.so* /usr/bin/*"
+
+# And include it in the dev package
+FILES_${PN}-dev += " /usr/include"
+
+do_make() {
+ make
+}
+
+do_install() {
+ install -d ${D}/${bindir}
+ install -m 0755 testcore ${D}/${bindir}/testcore
+ install -m 0755 atitest ${D}/${bindir}/atitest
+
+ install -d ${D}/${libdir}
+ install -m 0755 libaticore.so ${D}/${libdir}/libaticore.so
+
+ install -d ${D}/${includedir}
+ install -m 0644 aticore.h ${D}/${includedir}/aticore.h
+
+ cd ${D}/${libdir}/
+ ln -s libaticore.so libaticore.so.1
+ ln -s libaticore.so libaticore.so.1.0
+}
+
+do_stage() {
+ install -m 0644 aticore.h ${STAGING_INCDIR}
+ oe_libinstall -so libaticore ${STAGING_LIBDIR}
+}
+