summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/libertas/Makefile
diff options
context:
space:
mode:
authorHolger Schurig <holgerschurig@googlemail.com>2009-12-02 15:26:02 +0100
committerJohn W. Linville <linville@tuxdriver.com>2009-12-22 13:44:02 -0500
commit4143a23de096910e3ceb0939f41de6ffb8c59475 (patch)
treed70d1f4b4c871ed4cea4817ede151ca47745a1c0 /drivers/net/wireless/libertas/Makefile
parent602114ae595af6c89eab149cf9f939e3f7ef4a34 (diff)
libertas: make mesh configurable
Mostly for the embedded people that know beforehand that they don't need MESH at all and want to save some bytes, but also helpful for the upcoming cfg80211 transition. text data bss dec hex filename 114264 2308 140 116712 1c7e8 libertas.ko with mesh 105026 2000 140 107166 1a29e libertas.ko without mesh -------------------------------------------------- -9238 -308 -9546 Signed-off-by: Holger Schurig <holgerschurig@gmail.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/libertas/Makefile')
-rw-r--r--drivers/net/wireless/libertas/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/libertas/Makefile b/drivers/net/wireless/libertas/Makefile
index b188cd97a05..45e870e3311 100644
--- a/drivers/net/wireless/libertas/Makefile
+++ b/drivers/net/wireless/libertas/Makefile
@@ -5,11 +5,11 @@ libertas-y += cmdresp.o
libertas-y += debugfs.o
libertas-y += ethtool.o
libertas-y += main.o
-libertas-y += mesh.o
libertas-y += rx.o
libertas-y += scan.o
libertas-y += tx.o
libertas-y += wext.o
+libertas-$(CONFIG_LIBERTAS_MESH) += mesh.o
usb8xxx-objs += if_usb.o
libertas_cs-objs += if_cs.o