aboutsummaryrefslogtreecommitdiff
path: root/recipes/orinoco/spectrum-fw.bb
blob: 3e0f384ae9500cb03742a88c53ba2e8687c58856 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
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;name=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*"

SRC_URI[zip.md5sum] = "48ad5e824af83d4d7a38ef0a3eab0c3b"
SRC_URI[zip.sha256sum] = "c4a960651f91e4485bb74770ab8611fc6b03a677c69d7256422bc56604624982"