Changeset 290


Ignore:
Timestamp:
Jul 24, 2011, 12:17:54 AM (8 years ago)
Author:
amain
Message:

Fix bug #102.

  • extract_kmodpk.sh: only detect if .ko files are already installed
  • Config.in: remove b43 firmware selection ( can still be selected with make openwrt/menuconfig )
Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Config.in

    r288 r290  
    732732     http://madwifi-project.org/
    733733
    734 menuconfig PACKAGE_kmod-b43
     734config PACKAGE_kmod-b43
    735735        bool "kmod-b43.................................. Broadcom 43xx wireless support"
    736736        default y
     
    738738          Kernel module for Broadcom 43xx wireless support (mac80211 stack) new
    739739          http://linuxwireless.org/en/users/Drivers/b43
    740 
    741         menu "Configuration"
    742                 depends on PACKAGE_kmod-b43
    743 
    744         choice
    745                 prompt "b43 firmware version"
    746                 default B43_EXPERIMENTAL
    747                 help
    748                   This option allows you to select the version of the b43 firmware. DebWrt note:
    749                   Over the years this experimental version showed better results then the stable
    750                   version
    751 
    752         config B43_STABLE
    753                 bool "4.150.10.5 (stable)"
    754                 help
    755                   Stable firmware for BCM43xx devices.
    756 
    757                   If unsure, select this.
    758 
    759         config B43_EXPERIMENTAL
    760                 bool "4.178.10.4 (experimental)"
    761                 help
    762                   Experimental firmware for BCM43xx devices.
    763 
    764                   This firmware is not tested as much as the "stable" firmware.
    765 
    766                   If unsure, select the "stable" firmware.
    767 
    768         config B43_OPENFIRMWARE
    769                 bool "Open FirmWare for WiFi networks"
    770                 help
    771                   Opensource firmware for BCM43xx devices.
    772 
    773                   Do _not_ select this, unless you know what you are doing.
    774                   The Opensource firmware is not suitable for embedded devices, yet.
    775                   It does not support QoS, which is bad for AccessPoints.
    776                   It does not support hardware crypto acceleration, which is a showstopper
    777                   for embedded devices with low CPU resources.
    778 
    779                   If unsure, select the "stable" firmware.
    780 
    781         endchoice
    782 
    783         config B43_FW_SQUASH
    784                 bool "Remove unnecessary firmware files"
    785                 depends on !B43_OPENFIRMWARE
    786                 default n
    787                 help
    788                   This options allows you to remove unnecessary b43 firmware files
    789                   from the final rootfs image. This can reduce the rootfs size by
    790                   up to 200k.
    791 
    792                   If unsure, say Y.
    793 
    794         config B43_FW_SQUASH_COREREVS
    795                 string "Core revisions to include"
    796                 depends on B43_FW_SQUASH
    797                 default "5,6,7,8,9,10,13,14,15"
    798                 help
    799                   This is a comma seperated list of core revision numbers.
    800 
    801                   Example (keep files for rev5 only):
    802                     5
    803 
    804                   Example (keep files for rev5 and rev11):
    805                     5,11
    806 
    807         config B43_FW_SQUASH_PHYTYPES
    808                 string "PHY types to include"
    809                 depends on B43_FW_SQUASH
    810                 default "G,LP"
    811                 help
    812                   This is a comma seperated list of PHY types:
    813                     A  => A-PHY
    814                     AG => Dual A-PHY G-PHY
    815                     G  => G-PHY
    816                     LP => LP-PHY
    817                     N  => N-PHY
    818 
    819                   Example (keep files for G-PHY only):
    820                     G
    821 
    822                   Example (keep files for G-PHY and N-PHY):
    823                     G,N
    824 
    825         endmenu
    826740
    827741config PACKAGE_kmod-b43legacy
  • trunk/rules/extract_kmodpkg.sh

    r87 r290  
    3535
    3636   # Only copy kernel module files if they do not already exist!
    37    findc=$(find $droot -type f -name $kmodf | wc -l)
     37   if [ ".ko" = "${kmodf/*.ko/.ko}" ]; then
     38      findc=$(find $droot -type f -name $kmodf | wc -l)
     39   else
     40      findc=0
     41   fi
     42
    3843   if [ "$findc" -eq 0 ]; then
    3944          tokmod=${kmod/$tardir/}
Note: See TracChangeset for help on using the changeset viewer.