diff options
author | Sergey Lapin <slapin@ossfans.org> | 2010-03-22 18:13:56 +0300 |
---|---|---|
committer | Sergey Lapin <slapin@ossfans.org> | 2010-03-22 18:13:56 +0300 |
commit | 3937c88166a493900a694ea8fe53b860f4099d83 (patch) | |
tree | 57597245b6efd4cf27c1f4c9ff21c0515e530c15 /recipes/orinoco | |
parent | df2ace6d59e22b42e50bcf4e8a9c92b580602c2e (diff) | |
parent | 3510d2ed15a4b477aa7af802a839e11a87b981ed (diff) |
Merge branch 'org.openembedded.dev' of git@git.openembedded.net:openembedded into org.openembedded.dev
Diffstat (limited to 'recipes/orinoco')
-rw-r--r-- | recipes/orinoco/spectrum-fw.bb | 10 | ||||
-rwxr-xr-x | recipes/orinoco/spectrum-fw/get_symbol_fw | 22 |
2 files changed, 11 insertions, 21 deletions
diff --git a/recipes/orinoco/spectrum-fw.bb b/recipes/orinoco/spectrum-fw.bb index cedb0e35fe..66ec16ed83 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;name=zip \ + file://get_symbol_fw \ file://parse_symbol_fw" S = "${WORKDIR}" @@ -19,3 +20,6 @@ do_install() { PACKAGE_ARCH = "all" FILES_${PN} += "${base_libdir}/firmware/symbol*" + +SRC_URI[zip.md5sum] = "48ad5e824af83d4d7a38ef0a3eab0c3b" +SRC_URI[zip.sha256sum] = "c4a960651f91e4485bb74770ab8611fc6b03a677c69d7256422bc56604624982" 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 + |