diff options
author | Michael Buesch <mb@bu3sch.de> | 2008-03-23 01:33:58 +0100 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2008-03-25 16:41:59 -0400 |
commit | c01f9c6f1d5ceffda59a983c95338be45223d155 (patch) | |
tree | ad67c33370e8b0b849f33dbd5c50b64915a6734b /drivers/net/wireless/b43/Makefile | |
parent | 1ea8739648cfff4027c3db0f4cee5de87bfd3886 (diff) |
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/Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/wireless/b43/Makefile b/drivers/net/wireless/b43/Makefile index ac1329dba04..ae11fe4c0be 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 |