2010-06-27 21:51:25

by Nicolas Kaiser

[permalink] [raw]
Subject: [PATCH] drivers/net/Makefile: conditionally descend to wireless

Don't descend to wireless unless it is actually used.

Signed-off-by: Nicolas Kaiser <[email protected]>
---
drivers/net/Makefile | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/net/Makefile b/drivers/net/Makefile
index 0a0512a..9715c95 100644
--- a/drivers/net/Makefile
+++ b/drivers/net/Makefile
@@ -275,7 +275,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/
--
1.7.1


2010-06-29 22:32:49

by David Miller

[permalink] [raw]
Subject: Re: [PATCH] drivers/net/Makefile: conditionally descend to wireless

From: Nicolas Kaiser <[email protected]>
Date: Sun, 27 Jun 2010 23:44:52 +0200

> Don't descend to wireless unless it is actually used.
>
> Signed-off-by: Nicolas Kaiser <[email protected]>

Applied.