summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ath5k/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/wireless/ath5k/Makefile')
-rw-r--r--drivers/net/wireless/ath5k/Makefile8
1 files changed, 6 insertions, 2 deletions
diff --git a/drivers/net/wireless/ath5k/Makefile b/drivers/net/wireless/ath5k/Makefile
index 321641f99e1..564ecd0c5d4 100644
--- a/drivers/net/wireless/ath5k/Makefile
+++ b/drivers/net/wireless/ath5k/Makefile
@@ -1,2 +1,6 @@
-ath5k-objs = base.o hw.o regdom.o initvals.o phy.o debug.o
-obj-$(CONFIG_ATH5K) += ath5k.o
+ath5k-y += base.o
+ath5k-y += hw.o
+ath5k-y += initvals.o
+ath5k-y += phy.o
+ath5k-$(CONFIG_ATH5K_DEBUG) += debug.o
+obj-$(CONFIG_ATH5K) += ath5k.o