summaryrefslogtreecommitdiffstats
path: root/meta/recipes-bsp/orinoco/spectrum-fw.bb
blob: 04849c319e018477497bca9a7171eaec2ec360f1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
DESCRIPTION = "Firmware for Spectrum Wireless LAN cards"
DEPENDS += " unzip-native "
LICENSE = "unknown"
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*"