99 lines
3.4 KiB
Diff
99 lines
3.4 KiB
Diff
|
|
This patch removes all drivers we do not support
|
|
or do not want to support. This lets us build
|
|
only the wireless stuff.
|
|
|
|
--- a/drivers/misc/eeprom/Makefile
|
|
+++ b/drivers/misc/eeprom/Makefile
|
|
@@ -1,7 +1 @@
|
|
-obj-$(CONFIG_EEPROM_AT24) += at24.o
|
|
-obj-$(CONFIG_EEPROM_AT25) += at25.o
|
|
-obj-$(CONFIG_EEPROM_LEGACY) += eeprom.o
|
|
-obj-$(CONFIG_EEPROM_MAX6875) += max6875.o
|
|
obj-$(CONFIG_EEPROM_93CX6) += eeprom_93cx6.o
|
|
-obj-$(CONFIG_EEPROM_93XX46) += eeprom_93xx46.o
|
|
-obj-$(CONFIG_EEPROM_DIGSY_MTC_CFG) += digsy_mtc_eeprom.o
|
|
--- a/drivers/net/usb/Makefile
|
|
+++ b/drivers/net/usb/Makefile
|
|
@@ -2,31 +2,7 @@
|
|
# Makefile for USB Network drivers
|
|
#
|
|
|
|
-obj-$(CONFIG_USB_CATC) += catc.o
|
|
-obj-$(CONFIG_USB_KAWETH) += kaweth.o
|
|
-obj-$(CONFIG_USB_PEGASUS) += pegasus.o
|
|
-obj-$(CONFIG_USB_RTL8150) += rtl8150.o
|
|
-obj-$(CONFIG_USB_HSO) += hso.o
|
|
-obj-$(CONFIG_USB_NET_AX8817X) += asix.o
|
|
obj-$(CONFIG_USB_NET_COMPAT_CDCETHER) += cdc_ether.o
|
|
-obj-$(CONFIG_USB_NET_CDC_EEM) += cdc_eem.o
|
|
-obj-$(CONFIG_USB_NET_DM9601) += dm9601.o
|
|
-obj-$(CONFIG_USB_NET_SMSC75XX) += smsc75xx.o
|
|
-obj-$(CONFIG_USB_NET_SMSC95XX) += smsc95xx.o
|
|
-obj-$(CONFIG_USB_NET_GL620A) += gl620a.o
|
|
-obj-$(CONFIG_USB_NET_NET1080) += net1080.o
|
|
-obj-$(CONFIG_USB_NET_PLUSB) += plusb.o
|
|
obj-$(CONFIG_USB_NET_COMPAT_RNDIS_HOST) += rndis_host.o
|
|
-obj-$(CONFIG_USB_NET_CDC_SUBSET) += cdc_subset.o
|
|
-obj-$(CONFIG_USB_NET_ZAURUS) += zaurus.o
|
|
-obj-$(CONFIG_USB_NET_MCS7830) += mcs7830.o
|
|
obj-$(CONFIG_USB_COMPAT_USBNET) += usbnet.o
|
|
-obj-$(CONFIG_USB_NET_INT51X1) += int51x1.o
|
|
-obj-$(CONFIG_USB_CDC_PHONET) += cdc-phonet.o
|
|
-obj-$(CONFIG_USB_NET_KALMIA) += kalmia.o
|
|
-obj-$(CONFIG_USB_IPHETH) += ipheth.o
|
|
-obj-$(CONFIG_USB_SIERRA_NET) += sierra_net.o
|
|
-obj-$(CONFIG_USB_NET_CX82310_ETH) += cx82310_eth.o
|
|
-obj-$(CONFIG_USB_NET_CDC_NCM) += cdc_ncm.o
|
|
-obj-$(CONFIG_USB_VL600) += lg-vl600.o
|
|
|
|
--- a/drivers/net/wireless/Makefile
|
|
+++ b/drivers/net/wireless/Makefile
|
|
@@ -7,18 +7,8 @@ obj-$(CONFIG_IPW2200) += ipw2x00/
|
|
|
|
obj-$(CONFIG_HERMES) += orinoco/
|
|
|
|
-obj-$(CONFIG_AIRO) += airo.o
|
|
-obj-$(CONFIG_AIRO_CS) += airo_cs.o airo.o
|
|
-
|
|
-obj-$(CONFIG_ATMEL) += atmel.o
|
|
-obj-$(CONFIG_PCI_ATMEL) += atmel_pci.o
|
|
-obj-$(CONFIG_PCMCIA_ATMEL) += atmel_cs.o
|
|
-
|
|
obj-$(CONFIG_AT76C50X_USB) += at76c50x-usb.o
|
|
|
|
-obj-$(CONFIG_PRISM54) += prism54/
|
|
-
|
|
-obj-$(CONFIG_HOSTAP) += hostap/
|
|
obj-$(CONFIG_B43) += b43/
|
|
obj-$(CONFIG_B43LEGACY) += b43legacy/
|
|
obj-$(CONFIG_COMPAT_ZD1211RW) += zd1211rw/
|
|
@@ -26,13 +16,8 @@ obj-$(CONFIG_RTL8180) += rtl818x/
|
|
obj-$(CONFIG_RTL8187) += rtl818x/
|
|
obj-$(CONFIG_RTLWIFI) += rtlwifi/
|
|
|
|
-# 16-bit wireless PCMCIA client drivers
|
|
-obj-$(CONFIG_PCMCIA_RAYCS) += ray_cs.o
|
|
-obj-$(CONFIG_PCMCIA_WL3501) += wl3501_cs.o
|
|
-
|
|
obj-$(CONFIG_USB_NET_COMPAT_RNDIS_WLAN) += rndis_wlan.o
|
|
|
|
-obj-$(CONFIG_USB_ZD1201) += zd1201.o
|
|
obj-$(CONFIG_LIBERTAS) += libertas/
|
|
|
|
obj-$(CONFIG_LIBERTAS_THINFIRM) += libertas_tf/
|
|
--- a/net/wireless/Makefile
|
|
+++ b/net/wireless/Makefile
|
|
@@ -4,11 +4,6 @@ obj-$(CONFIG_LIB80211_CRYPT_WEP) += lib8
|
|
obj-$(CONFIG_LIB80211_CRYPT_CCMP) += lib80211_crypt_ccmp.o
|
|
obj-$(CONFIG_LIB80211_CRYPT_TKIP) += lib80211_crypt_tkip.o
|
|
|
|
-obj-$(CONFIG_WEXT_CORE) += wext-core.o
|
|
-obj-$(CONFIG_WEXT_PROC) += wext-proc.o
|
|
-obj-$(CONFIG_WEXT_SPY) += wext-spy.o
|
|
-obj-$(CONFIG_WEXT_PRIV) += wext-priv.o
|
|
-
|
|
cfg80211-y += core.o sysfs.o radiotap.o util.o reg.o scan.o nl80211.o
|
|
cfg80211-y += mlme.o ibss.o sme.o chan.o ethtool.o mesh.o
|
|
cfg80211-$(CONFIG_CFG80211_DEBUGFS) += debugfs.o
|