aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJouni Malinen <j@w1.fi>2003-06-06 03:09:02 (GMT)
committerJouni Malinen <j@w1.fi>2003-06-06 03:09:02 (GMT)
commitd26597c1166c346c230963bc3539c7c9e8bbeb61 (patch)
treef9b6e633cf1c99551912575194155bac3656c400
parent5ddb0939f9d2eb887bf3871cdad18bc9c63b7164 (diff)
downloadhostap-history-d26597c1166c346c230963bc3539c7c9e8bbeb61.zip
hostap-history-d26597c1166c346c230963bc3539c7c9e8bbeb61.tar.gz
hostap-history-d26597c1166c346c230963bc3539c7c9e8bbeb61.tar.bz2
Added a warning if kernel configuration does not enable wireless extensions
(CONFIG_NET_RADIO) since they are needed for most configuration commands and hostapd does not work without them.
-rw-r--r--Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 1d954db..57fe769 100644
--- a/Makefile
+++ b/Makefile
@@ -39,6 +39,12 @@ $(warning WARNING: No kernel PCMCIA support found and PCMCIA_PATH is not defined
endif
endif
+ifndef CONFIG_NET_RADIO
+# Most driver configuration commands and hostapd require Linux wireless
+# extensions
+$(warning WARNING: Linux wireless extensions, CONFIG_NET_RADIO, not enabled in the kernel)
+endif
+
VERFILE := $(KERNEL_PATH)/include/linux/version.h
KERNELRELEASE := $(shell if [ -r $(VERFILE) ]; \
then (cat $(VERFILE); echo UTS_RELEASE) | $(CC) $(INCLUDES) $(CFLAGS) -E - | tail -1 | xargs echo; \