summaryrefslogtreecommitdiff
path: root/package/broadcom-wl/src/wlcompat/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'package/broadcom-wl/src/wlcompat/Makefile')
-rw-r--r--package/broadcom-wl/src/wlcompat/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/package/broadcom-wl/src/wlcompat/Makefile b/package/broadcom-wl/src/wlcompat/Makefile
index 6f3224df14..31e54244e8 100644
--- a/package/broadcom-wl/src/wlcompat/Makefile
+++ b/package/broadcom-wl/src/wlcompat/Makefile
@@ -15,6 +15,9 @@ ifneq ($(DEBUG),)
EXTRA_CFLAGS += -DDEBUG=1
_D=-debug
endif
+ifneq ($(WL_WEXT),)
+ EXTRA_CFLAGS += -DWL_WEXT=1
+endif
obj-m := wlcompat$(_D).o
modules: wlcompat$(_D).o