summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2014-10-24 15:22:06 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-10-30 13:03:55 +0000
commit9183ce719463b20350d2a3de5ead64b0cc642d6e (patch)
tree14959e6a2d56872a69204c9ead8bd3634a4d1021
parent01f4ed0cfbc60859aabfa5bff33ed966117a05d7 (diff)
downloadopenembedded-core-contrib-9183ce719463b20350d2a3de5ead64b0cc642d6e.tar.gz
openembedded-core-contrib-9183ce719463b20350d2a3de5ead64b0cc642d6e.tar.bz2
openembedded-core-contrib-9183ce719463b20350d2a3de5ead64b0cc642d6e.zip
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. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-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 7923bb94a3..3abcf86819 100644
--- a/meta/recipes-connectivity/wpa-supplicant/wpa-supplicant.inc
+++ b/meta/recipes-connectivity/wpa-supplicant/wpa-supplicant.inc
@@ -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