summaryrefslogtreecommitdiff
path: root/recipes/orinoco/spectrum-fw.bb
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/orinoco/spectrum-fw.bb')
-rw-r--r--recipes/orinoco/spectrum-fw.bb21
1 files changed, 21 insertions, 0 deletions
diff --git a/recipes/orinoco/spectrum-fw.bb b/recipes/orinoco/spectrum-fw.bb
new file mode 100644
index 0000000000..f2e11eea74
--- /dev/null
+++ b/recipes/orinoco/spectrum-fw.bb
@@ -0,0 +1,21 @@
+DESCRIPTION = "Firmware for Spectrum Wireless LAN cards"
+DEPENDS += " unzip-native "
+LICENSE = "unknown"
+PR = "r1"
+
+SRC_URI = "file://get_symbol_fw \
+ file://parse_symbol_fw"
+S = "${WORKDIR}"
+
+do_configure() {
+ ./get_symbol_fw
+}
+
+do_install() {
+ install -d ${D}${base_libdir}/firmware/
+ install -m 0755 ${WORKDIR}/symbol_sp24t_prim_fw ${D}${base_libdir}/firmware/symbol_sp24t_prim_fw
+ install -m 0755 ${WORKDIR}/symbol_sp24t_sec_fw ${D}${base_libdir}/firmware/symbol_sp24t_sec_fw
+}
+
+PACKAGE_ARCH = "all"
+FILES_${PN} += "${base_libdir}/firmware/symbol*"