diff options
Diffstat (limited to 'meta-extras/packages/spectrum-fw/spectrum-fw.bb')
-rw-r--r-- | meta-extras/packages/spectrum-fw/spectrum-fw.bb | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/meta-extras/packages/spectrum-fw/spectrum-fw.bb b/meta-extras/packages/spectrum-fw/spectrum-fw.bb new file mode 100644 index 0000000000..45011d336c --- /dev/null +++ b/meta-extras/packages/spectrum-fw/spectrum-fw.bb @@ -0,0 +1,22 @@ +DESCRIPTION = "Firmware for Spectrum Wireless LAN cards" +DEPENDS += " unzip-native " +LICENSE = "closed" +PR = "r2" + +SRC_URI = "http://ftp.osuosl.org/pub/nslu2/sources/MC&DriverOnlyInstallers.zip \ + 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*" |