aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLuis R. Rodriguez <lrodriguez@atheros.com>2008-07-01 03:41:51 -0700
committerLuis R. Rodriguez <lrodriguez@atheros.com>2008-07-01 03:41:51 -0700
commitf5b8a24db8ef967cfb84bdb21bf4c9c0b961ab69 (patch)
treeda75e271151282551fa57bef1d46309e56358368
parent1d3498ac79d2c01e5b5fd66c934a6f20929ddb69 (diff)
downloadcompat-wireless-2.6-old-f5b8a24db8ef967cfb84bdb21bf4c9c0b961ab69.tar.gz
If you only want the wireless subsystem compiled you can set ONLY_WIRELESS variable.
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
-rw-r--r--Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index abe122f..b165941 100644
--- a/Makefile
+++ b/Makefile
@@ -16,11 +16,14 @@ include $(M)/$(COMPAT_CONFIG)
NOSTDINC_FLAGS := -I$(M)/include/ -include $(M)/include/net/compat.h $(CFLAGS)
-obj-y := net/wireless/ net/mac80211/ net/ieee80211/ \
+obj-y := net/wireless/ net/mac80211/
+ifeq ($(ONLY_WIRELESS),)
+obj-y += net/ieee80211/ \
drivers/ssb/ \
drivers/misc/ \
drivers/net/usb/ \
drivers/net/wireless/
+endif
else