summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Olbrich <m.olbrich@pengutronix.de>2014-11-14 08:57:35 +0100
committerMichael Olbrich <m.olbrich@pengutronix.de>2014-11-14 09:55:26 +0100
commitd227edc64581024a3bd73f7b52bf3118a09906eb (patch)
tree5802e99a03e2920f85a63da0a1d9e198144b8133
parent69932c7c15a2a4ddea4ebe579b880499ec3fef3f (diff)
downloadptxdist-d227edc64581024a3bd73f7b52bf3118a09906eb.tar.gz
ptxdist-d227edc64581024a3bd73f7b52bf3118a09906eb.tar.xz
wpa_supplicant: use correct libnl3 includes
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
-rw-r--r--patches/wpa_supplicant-2.3/0001-remove-system-include-path.patch22
-rw-r--r--patches/wpa_supplicant-2.3/series4
-rw-r--r--rules/wpa_supplicant.make2
3 files changed, 28 insertions, 0 deletions
diff --git a/patches/wpa_supplicant-2.3/0001-remove-system-include-path.patch b/patches/wpa_supplicant-2.3/0001-remove-system-include-path.patch
new file mode 100644
index 000000000..192a53fca
--- /dev/null
+++ b/patches/wpa_supplicant-2.3/0001-remove-system-include-path.patch
@@ -0,0 +1,22 @@
+From: Michael Olbrich <m.olbrich@pengutronix.de>
+Date: Fri, 14 Nov 2014 08:52:49 +0100
+Subject: [PATCH] remove system include path
+
+Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
+---
+ src/drivers/drivers.mak | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/src/drivers/drivers.mak b/src/drivers/drivers.mak
+index cdb913e31588..c2e2985a641f 100644
+--- a/src/drivers/drivers.mak
++++ b/src/drivers/drivers.mak
+@@ -35,7 +35,7 @@ NEED_RFKILL=y
+ ifdef CONFIG_LIBNL32
+ DRV_LIBS += -lnl-3
+ DRV_LIBS += -lnl-genl-3
+- DRV_CFLAGS += -DCONFIG_LIBNL20 -I/usr/include/libnl3
++ DRV_CFLAGS += -DCONFIG_LIBNL20
+ ifdef CONFIG_LIBNL3_ROUTE
+ DRV_LIBS += -lnl-route-3
+ DRV_CFLAGS += -DCONFIG_LIBNL3_ROUTE
diff --git a/patches/wpa_supplicant-2.3/series b/patches/wpa_supplicant-2.3/series
new file mode 100644
index 000000000..2667d480e
--- /dev/null
+++ b/patches/wpa_supplicant-2.3/series
@@ -0,0 +1,4 @@
+# generated by git-ptx-patches
+#tag:base --start-number 1
+0001-remove-system-include-path.patch
+# c8e366226a18984b22b3657c5caea511 - git-ptx-patches magic
diff --git a/rules/wpa_supplicant.make b/rules/wpa_supplicant.make
index 24c63d9aa..84e14b227 100644
--- a/rules/wpa_supplicant.make
+++ b/rules/wpa_supplicant.make
@@ -39,6 +39,8 @@ WPA_SUPPLICANT_MAKE_ENV := \
LIBDIR=/lib \
BINDIR=/sbin
+WPA_SUPPLICANT_CPPFLAGS := -I$(SYSROOT)/usr/include/libnl3
+
#
# autoconf
#