[oe-commits] Justin Capella : wpa-supplicant: avoid host contamination of drivers by libnl3

git at git.openembedded.org git at git.openembedded.org
Tue Dec 30 11:39:20 UTC 2014


Module: openembedded-core.git
Branch: master-next
Commit: 766dcc69d320052f668945d2207bef723cf8be4b
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=766dcc69d320052f668945d2207bef723cf8be4b

Author: Justin Capella <justincapella at gmail.com>
Date:   Sun Dec 28 15:40:23 2014 -0800

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.

Signed-off-by: Justin Capella <justincapella at gmail.com>
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>

---

 meta/recipes-connectivity/wpa-supplicant/wpa-supplicant.inc | 1 +
 1 file changed, 1 insertion(+)

diff --git a/meta/recipes-connectivity/wpa-supplicant/wpa-supplicant.inc b/meta/recipes-connectivity/wpa-supplicant/wpa-supplicant.inc
index 2bc9339..6f0de3c 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 () {
 	${MAKE} -C wpa_supplicant clean
 	install -m 0755 ${WORKDIR}/defconfig wpa_supplicant/.config
 	echo "CFLAGS +=\"-I${STAGING_INCDIR}/libnl3\"" >> wpa_supplicant/.config
+	echo "DRV_CFLAGS +=\"-I${STAGING_INCDIR}/libnl3\"" >> wpa_supplicant/.config
 	
 	if echo "${PACKAGECONFIG}" | grep -qw "openssl"; then
         	ssl=openssl



More information about the Openembedded-commits mailing list