aboutsummaryrefslogtreecommitdiffstats
path: root/hostapd/Makefile
diff options
context:
space:
mode:
authorJouni Malinen <j@w1.fi>2014-11-25 14:58:21 (GMT)
committerJouni Malinen <j@w1.fi>2014-11-25 14:58:21 (GMT)
commita437378f98c4166928fbbd2cb545dc7a45f6fd3a (patch)
tree9057436eb01b9f28af4aa99d9884c851c5bf1bea /hostapd/Makefile
parenta959a3b69dd2b341736e736cf4ff76e8d4a69cc2 (diff)
downloadhostap-a437378f98c4166928fbbd2cb545dc7a45f6fd3a.zip
hostap-a437378f98c4166928fbbd2cb545dc7a45f6fd3a.tar.gz
hostap-a437378f98c4166928fbbd2cb545dc7a45f6fd3a.tar.bz2
proxyarp: Use C library header files and CONFIG_IPV6
This replaces the use of Linux kernel header files (linux/ip.h, linux/udp.h, linux/ipv6.h, and linux/icmpv6.h) with equivalent header files from C library. In addition, ndisc_snoop.c is now built conditionally on CONFIG_IPV6=y so that it is easier to handle hostapd builds with toolchains that do not support IPv6 even if Hotspot 2.0 is enabled in the build. Signed-off-by: Jouni Malinen <j@w1.fi>
Diffstat (limited to 'hostapd/Makefile')
-rw-r--r--hostapd/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/hostapd/Makefile b/hostapd/Makefile
index aeea289..74cd9fa 100644
--- a/hostapd/Makefile
+++ b/hostapd/Makefile
@@ -855,8 +855,10 @@ ifdef CONFIG_PROXYARP
CFLAGS += -DCONFIG_PROXYARP
OBJS += ../src/ap/x_snoop.o
OBJS += ../src/ap/dhcp_snoop.o
+ifdef CONFIG_IPV6
OBJS += ../src/ap/ndisc_snoop.o
endif
+endif
OBJS += ../src/drivers/driver_common.o