summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/zd1211rw/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/wireless/zd1211rw/Makefile')
-rw-r--r--drivers/net/wireless/zd1211rw/Makefile4
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/net/wireless/zd1211rw/Makefile b/drivers/net/wireless/zd1211rw/Makefile
index 1907eafb9b1..5728a918e50 100644
--- a/drivers/net/wireless/zd1211rw/Makefile
+++ b/drivers/net/wireless/zd1211rw/Makefile
@@ -5,7 +5,5 @@ zd1211rw-objs := zd_chip.o zd_mac.o \
zd_rf_al7230b.o zd_rf_uw2453.o \
zd_rf.o zd_usb.o
-ifeq ($(CONFIG_ZD1211RW_DEBUG),y)
-EXTRA_CFLAGS += -DDEBUG
-endif
+ccflags-$(CONFIG_ZD1211RW_DEBUG) := -DDEBUG