Skip to contentSkip to conversation

wpa-supplicant: avoid host contamination of drivers by libnl3

PATCH New Justin Capella 1 participant 1 message Dec 28, 2014

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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.

---
 meta/recipes-connectivity/wpa-supplicant/wpa-supplicant.inc | 1 +
 1 file changed, 1 insertion(+)
meta/recipes-connectivity/wpa-supplicant/wpa-supplicant.inc +1 -0
index 2bc9339..6f0de3c 100644
@@ -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
Signature · 1 line
2.2.1