compat-wireless: disable update-initramfs except for b4xx/ssb
authorWalter Goldens <goldenstranger@yahoo.com>
Thu, 28 Oct 2010 16:42:27 +0000 (09:42 -0700)
committerLuis R. Rodriguez <lrodriguez@atheros.com>
Thu, 28 Oct 2010 16:42:27 +0000 (09:42 -0700)
Currently, the only drivers requiring update of the initramfs image
are b43/legacy/b44/ssb, yet the process is in place for every other
driver, including driver-select entries. Disable update-initramfs
for all but b4xx/ssb.

Signed-off-by: Walter Goldens <goldenstranger@yahoo.com>
scripts/driver-select

index 4f712400407ff1015be26cd93476fd7adb7a204e..6e074895226468d305b161ee5221164af2b8c803 100755 (executable)
@@ -169,6 +169,7 @@ function disable_bt_usb_ethernet_var {
        disable_ethernet
        disable_var_03
        disable_bt
+       disable_update-initramfs
 } 
 
 function enable_only_ethernet {
@@ -187,6 +188,7 @@ function disable_var {
        disable_ssb
        disable_usbnet
        disable_eeprom
+       disable_update-initramfs
 } 
 
 function disable_var_01 {
@@ -199,6 +201,7 @@ function disable_var_02 {
        disable_lib80211
        disable_ssb
        disable_usbnet
+       disable_update-initramfs
 }
 
 function disable_staging {
@@ -216,6 +219,12 @@ function disable_brcm80211 {
        perl -i -ne 'print if ! /brcm80211/ ' Makefile
 }
 
+function disable_update-initramfs
+{
+       backup_file Makefile
+       perl -i -ne 'print if ! /update-initramfs/' Makefile
+}
+
 function select_ath_driver 
 {
        backup_file $ATH_MAKEFILE
@@ -408,6 +417,7 @@ case $1 in
                select_drivers          CONFIG_ATL1 CONFIG_ATL2 CONFIG_ATL1E CONFIG_ATL1C
                enable_only_ethernet
                disable_b44
+               disable_update-initramfs
                ;;
        bt)
                select_driver           CONFIG_BT