summaryrefslogtreecommitdiff
path: root/prism54
diff options
context:
space:
mode:
Diffstat (limited to 'prism54')
-rw-r--r--prism54/prism54-firmware_1.0.4.3.oe16
-rw-r--r--prism54/prism54-module_1.2.oe31
2 files changed, 47 insertions, 0 deletions
diff --git a/prism54/prism54-firmware_1.0.4.3.oe b/prism54/prism54-firmware_1.0.4.3.oe
index e69de29bb2..24efe32fc0 100644
--- a/prism54/prism54-firmware_1.0.4.3.oe
+++ b/prism54/prism54-firmware_1.0.4.3.oe
@@ -0,0 +1,16 @@
+DESCRIPTION = "Firmware for the Prism54 driver"
+SECTION = "base/network"
+PRIORITY = "optional"
+MAINTAINER = "Bruno Randolf <bruno.randolf@4g-systems.biz>"
+LICENSE = "unknown"
+
+SRC_URI = "http://prism54.org/~mcgrof/firmware/${PV}.arm"
+
+S = "${WORKDIR}/prism54.org"
+
+do_install() {
+ install -d ${D}/usr/lib/hotplug/firmware/
+ install -m 0644 ${PV}.arm ${D}/usr/lib/hotplug/firmware/
+}
+
+FILES_${PN} = "/usr/lib/hotplug/firmware/"
diff --git a/prism54/prism54-module_1.2.oe b/prism54/prism54-module_1.2.oe
index e69de29bb2..ad9a57cde9 100644
--- a/prism54/prism54-module_1.2.oe
+++ b/prism54/prism54-module_1.2.oe
@@ -0,0 +1,31 @@
+DESCRIPTION = "Linux Driver for the 802.11g Prism GT / Prism Duette / Prism Indigo Chipsets"
+SECTION = "base/network"
+PRIORITY = "optional"
+MAINTAINER = "Bruno Randolf <bruno.randolf@4g-systems.biz>"
+LICENSE = "GPL"
+RDEPENDS = "kernel (${KERNEL_VERSION}) kernel-module-firmware-class prism54-firmware"
+DEPENDS = "virtual/kernel"
+
+SRC_URI = "http://prism54.org/pub/linux/testing/tars/2004-06/prism54-1.2.tar.bz2"
+
+S = "${WORKDIR}/prism54-${PV}"
+
+inherit module-base
+
+# Hack Alert :D
+ARCH_mipsel = "mips"
+
+EXTRA_OEMAKE = "KDIR=${KERNEL_SOURCE} KMISC=${D}/lib/modules/${KERNEL_VERSION}/net KVER=${KERNEL_VERSION}"
+
+do_compile() {
+ unset CFLAGS CPPFLAGS CXXFLAGS LDFLAGS
+ oe_runmake modules
+}
+
+do_install() {
+ unset CFLAGS CPPFLAGS CXXFLAGS LDFLAGS
+ oe_runmake install
+
+}
+
+FILES_${PN} = "/lib/modules/"