Skip to contentSkip to conversation

wpa_supplicant: Improve rebuild handling

PATCH New Richard Purdie 1 participant 1 message Oct 24, 2014

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 wpa_supplicant: Improve rebuild handling

Due to the split level nature of the wpa_suppliant sources, the standard clean methods don't work. This change ensures it picks up on changes to configuration.

meta/recipes-connectivity/wpa-supplicant/wpa-supplicant.inc +1 -0
index 3a1cce0..1cb547c 100644
@@ -38,6 +38,7 @@ FILES_${PN} += "${datadir}/dbus-1/system-services/*"
 CONFFILES_${PN} += "${sysconfdir}/wpa_supplicant.conf"
 
 do_configure () {
+	${MAKE} -C wpa_supplicant clean
 	install -m 0755 ${WORKDIR}/defconfig wpa_supplicant/.config
 	echo "CFLAGS +=\"-I${STAGING_INCDIR}/libnl3\"" >> wpa_supplicant/.config