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>
disable_ethernet
disable_var_03
disable_bt
+ disable_update-initramfs
}
function enable_only_ethernet {
disable_ssb
disable_usbnet
disable_eeprom
+ disable_update-initramfs
}
function disable_var_01 {
disable_lib80211
disable_ssb
disable_usbnet
+ disable_update-initramfs
}
function disable_staging {
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
select_drivers CONFIG_ATL1 CONFIG_ATL2 CONFIG_ATL1E CONFIG_ATL1C
enable_only_ethernet
disable_b44
+ disable_update-initramfs
;;
bt)
select_driver CONFIG_BT