drivers/net/Makefile: conditionally descend to wireless
authorNicolas Kaiser <nikai@nikai.net>
Sun, 27 Jun 2010 11:44:52 +0000 (11:44 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 29 Jun 2010 22:32:44 +0000 (15:32 -0700)
Don't descend to wireless unless it is actually used.

Signed-off-by: Nicolas Kaiser <nikai@nikai.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/Makefile

index 49384ca27eaf45bd5d1d803141765c7f11c96e1a..ce555819c8fceb7f386ae84c9b7fb0a924b72758 100644 (file)
@@ -276,7 +276,7 @@ obj-$(CONFIG_USB_USBNET)        += usb/
 obj-$(CONFIG_USB_ZD1201)        += usb/
 obj-$(CONFIG_USB_IPHETH)        += usb/
 
-obj-y += wireless/
+obj-$(CONFIG_WLAN) += wireless/
 obj-$(CONFIG_NET_TULIP) += tulip/
 obj-$(CONFIG_HAMRADIO) += hamradio/
 obj-$(CONFIG_IRDA) += irda/