summaryrefslogtreecommitdiff
path: root/drivers/net/wireless/b43/Makefile
diff options
context:
space:
mode:
authorMichael Buesch <mb@bu3sch.de>2008-03-23 03:33:58 +0300
committerJohn W. Linville <linville@tuxdriver.com>2008-03-25 23:41:59 +0300
commitc01f9c6f1d5ceffda59a983c95338be45223d155 (patch)
treead67c33370e8b0b849f33dbd5c50b64915a6734b /drivers/net/wireless/b43/Makefile
parent1ea8739648cfff4027c3db0f4cee5de87bfd3886 (diff)
downloadlinux-c01f9c6f1d5ceffda59a983c95338be45223d155.tar.xz
b43: Don't compile N-PHY code when N-PHY is disabled
There's no need to compile the N-PHY support code, when the N-PHY support is disabled in Kconfig. Signed-off-by: Michael Buesch <mb@bu3sch.de> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/b43/Makefile')
-rw-r--r--drivers/net/wireless/b43/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/wireless/b43/Makefile b/drivers/net/wireless/b43/Makefile
index ac1329dba045..ae11fe4c0be6 100644
--- a/drivers/net/wireless/b43/Makefile
+++ b/drivers/net/wireless/b43/Makefile
@@ -1,8 +1,8 @@
b43-y += main.o
b43-y += tables.o
-b43-y += tables_nphy.o
+b43-$(CONFIG_B43_NPHY) += tables_nphy.o
b43-y += phy.o
-b43-y += nphy.o
+b43-$(CONFIG_B43_NPHY) += nphy.o
b43-y += sysfs.o
b43-y += xmit.o
b43-y += lo.o