[PATCH v2] libnl: Document how to configure for libnl 2.0 and 3.2.

greearb at candelatech.com greearb
Fri Jan 3 16:09:22 PST 2014


From: Ben Greear <greearb at candelatech.com>

Reported-by: Xose Vazquez Perez <xose.vazquez at gmail.com>

Signed-hostap: Ben Greear <greearb at candelatech.com>
---

v2:  Make comment more generic.

 hostapd/defconfig        |   15 +++++++++++++++
 wpa_supplicant/defconfig |   15 +++++++++++++++
 2 files changed, 30 insertions(+), 0 deletions(-)

diff --git a/hostapd/defconfig b/hostapd/defconfig
index 2dd6fc8..7ef90a3 100644
--- a/hostapd/defconfig
+++ b/hostapd/defconfig
@@ -22,6 +22,21 @@ CONFIG_DRIVER_HOSTAP=y
 # Driver interface for drivers using the nl80211 kernel interface
 CONFIG_DRIVER_NL80211=y
 
+# driver_nl80211.c requires libnl.  If you are compiling it yourself
+# you need to point hostapd to your version of libnl
+#
+#LIBNLI=${FOO}/3plibs/libnl
+#LIBNLL=${FOO}/server/local
+#CFLAGS += -I$(LIBNLI)/include
+#LIBS += -L$(LIBNLL)/lib
+
+# Use libnl v2.0 libraries.
+#CONFIG_LIBNL20=y
+
+# Use libnl 3.2 libraries (if this is selected, CONFIG_LIBNL20 is ignored)
+#CONFIG_LIBNL32=y
+
+
 # Driver interface for FreeBSD net80211 layer (e.g., Atheros driver)
 #CONFIG_DRIVER_BSD=y
 #CFLAGS += -I/usr/local/include
diff --git a/wpa_supplicant/defconfig b/wpa_supplicant/defconfig
index 0d2556d..d1a6959 100644
--- a/wpa_supplicant/defconfig
+++ b/wpa_supplicant/defconfig
@@ -88,6 +88,21 @@ CONFIG_DRIVER_WEXT=y
 # Driver interface for Linux drivers using the nl80211 kernel interface
 CONFIG_DRIVER_NL80211=y
 
+# driver_nl80211.c requires libnl.  If you are compiling it yourself
+# you need to point hostapd to your version of libnl
+#
+#LIBNLI=${FOO}/3plibs/libnl
+#LIBNLL=${FOO}/server/local
+#CFLAGS += -I$(LIBNLI)/include
+#LIBS += -L$(LIBNLL)/lib
+
+# Use libnl v2.0 libraries.
+#CONFIG_LIBNL20=y
+
+# Use libnl 3.2 libraries (if this is selected, CONFIG_LIBNL20 is ignored)
+#CONFIG_LIBNL32=y
+
+
 # Driver interface for FreeBSD net80211 layer (e.g., Atheros driver)
 #CONFIG_DRIVER_BSD=y
 #CFLAGS += -I/usr/local/include
-- 
1.7.3.4




More information about the Hostap mailing list