summaryrefslogtreecommitdiffstats
path: root/meta/recipes-connectivity
diff options
context:
space:
mode:
authorJustin Capella <justincapella@gmail.com>2014-12-28 15:40:23 -0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-12-31 08:14:19 +0000
commit8bd9b201e2a51b561d2a38def8665cfb5ae93657 (patch)
tree760f3e3518b08cf44ef8eddcbe3653176160b40d /meta/recipes-connectivity
parent8de27f84ce6b8561eadbf8f83a84a6590d15138b (diff)
downloadpoky-8bd9b201e2a51b561d2a38def8665cfb5ae93657.tar.gz
wpa-supplicant: avoid host contamination of drivers by libnl3
(See patch refrenced from OE-core rev: 1c3beda0015da9a0fec2581af7645c9ea122c7e3) Modifies do_configure to inject DRV_CFLAGS variable into wpa_supplicant/.config which is then included during make of drivers. (From OE-Core rev: 766dcc69d320052f668945d2207bef723cf8be4b) Signed-off-by: Justin Capella <justincapella@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-connectivity')
-rw-r--r--meta/recipes-connectivity/wpa-supplicant/wpa-supplicant.inc1
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/recipes-connectivity/wpa-supplicant/wpa-supplicant.inc b/meta/recipes-connectivity/wpa-supplicant/wpa-supplicant.inc
index 2bc93392ef..6f0de3cab8 100644
--- a/meta/recipes-connectivity/wpa-supplicant/wpa-supplicant.inc
+++ b/meta/recipes-connectivity/wpa-supplicant/wpa-supplicant.inc
@@ -41,6 +41,7 @@ do_configure () {
41 ${MAKE} -C wpa_supplicant clean 41 ${MAKE} -C wpa_supplicant clean
42 install -m 0755 ${WORKDIR}/defconfig wpa_supplicant/.config 42 install -m 0755 ${WORKDIR}/defconfig wpa_supplicant/.config
43 echo "CFLAGS +=\"-I${STAGING_INCDIR}/libnl3\"" >> wpa_supplicant/.config 43 echo "CFLAGS +=\"-I${STAGING_INCDIR}/libnl3\"" >> wpa_supplicant/.config
44 echo "DRV_CFLAGS +=\"-I${STAGING_INCDIR}/libnl3\"" >> wpa_supplicant/.config
44 45
45 if echo "${PACKAGECONFIG}" | grep -qw "openssl"; then 46 if echo "${PACKAGECONFIG}" | grep -qw "openssl"; then
46 ssl=openssl 47 ssl=openssl