mac80211: clean up patches, replace patching config.mk with a generated sed expression
[openwrt.git] / package / mac80211 / patches / 002-disable_ssb_build.patch
1 --- a/config.mk
2 +++ b/config.mk
3 @@ -353,7 +353,8 @@ export CONFIG_IPW2200_QOS=y
4  # % echo 1 > /sys/bus/pci/drivers/ipw2200/*/rtap_iface
5  endif #CONFIG_WIRELESS_EXT
6  
7 -ifdef CONFIG_SSB
8 +# disabled
9 +ifdef __CONFIG_SSB
10  # Sonics Silicon Backplane
11  export CONFIG_SSB_SPROM=y
12  
13 @@ -366,7 +367,7 @@ endif #CONFIG_PCMCIA
14  # export CONFIG_SSB_DEBUG=y
15  export CONFIG_SSB_DRIVER_PCICORE=y
16  export CONFIG_B43_SSB=y
17 -endif #CONFIG_SSB
18 +endif #__CONFIG_SSB
19  
20  export CONFIG_BCMA=m
21  export CONFIG_BCMA_BLOCKIO=y
22