summaryrefslogtreecommitdiff
path: root/recipes
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@rpsys.net>2008-10-23 21:10:28 +0100
committerMarcin Juszkiewicz <marcin@juszkiewicz.com.pl>2010-03-15 08:09:40 +0100
commit50c9da4c353cde2afdc142674593c56d1f1d484f (patch)
treebf51c2090973412c8218f6b400281ffb56cf312d /recipes
parentf362c9bb1ec5a010917a155b1649de890720d9c8 (diff)
spectrum-fw: Use the standard fetcher process (from Poky)
Signed-off-by: Marcin Juszkiewicz <marcin@juszkiewicz.com.pl>
Diffstat (limited to 'recipes')
-rw-r--r--recipes/orinoco/spectrum-fw.bb7
-rwxr-xr-xrecipes/orinoco/spectrum-fw/get_symbol_fw22
2 files changed, 8 insertions, 21 deletions
diff --git a/recipes/orinoco/spectrum-fw.bb b/recipes/orinoco/spectrum-fw.bb
index cedb0e35fe..2799878b6e 100644
--- a/recipes/orinoco/spectrum-fw.bb
+++ b/recipes/orinoco/spectrum-fw.bb
@@ -1,9 +1,10 @@
DESCRIPTION = "Firmware for Spectrum Wireless LAN cards"
-do_unpack[depends] += "unzip-native:do_populate_staging"
+DEPENDS += " unzip-native "
LICENSE = "unknown"
-PR = "r1"
+PR = "r2"
-SRC_URI = "file://get_symbol_fw \
+SRC_URI = "ftp://symstore.longisland.com/Symstore/services_download/wirless_prod/MC&DriverOnlyInstallers.zip \
+ file://get_symbol_fw \
file://parse_symbol_fw"
S = "${WORKDIR}"
diff --git a/recipes/orinoco/spectrum-fw/get_symbol_fw b/recipes/orinoco/spectrum-fw/get_symbol_fw
index e7b0bf2d44..80420b01a8 100755
--- a/recipes/orinoco/spectrum-fw/get_symbol_fw
+++ b/recipes/orinoco/spectrum-fw/get_symbol_fw
@@ -15,29 +15,15 @@
set -e
-URL_BASE='ftp://symstore.longisland.com/Symstore/services_download/wirless_prod/'
-DL_FILE='MC&DriverOnlyInstallers.zip'
DL_INT1='S24DRVR392B67-01.exe'
DL_INT2='Driver Only Installer/NetWLan5.sys'
DRIVER1=symbol1.drv
DRIVER2=symbol2.drv
-get_file() {
- curl --remote-name "$1" || \
- wget --passive-ftp "$1" || \
- wget "$1" || \
- ftp "$1" </dev/null || \
- exit 1
-}
-
-if ! test -f $DL_FILE; then
- get_file $URL_BASE/$DL_FILE
-fi
-
-unzip -p $DL_FILE "$DL_INT1" >$DRIVER1
-unzip -p $DRIVER1 "$DL_INT2" >$DRIVER2
-
+unzip -p $DL_INT1 "$DL_INT2" >$DRIVER2
+
perl parse_symbol_fw $DRIVER2 spectrum_fw.h symbol_sp24t_prim_fw \
symbol_sp24t_sec_fw
-rm -f $DRIVER1 $DRIVER2 \ No newline at end of file
+rm -f $DRIVER1 $DRIVER2
+