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:11:51 +0000
commitd5881b7b94b195ad3858d46992ba6edbb2c95f31 (patch)
tree02fdaa5410342e3a7c5a4b7100dd98c99c36907b
parentc1f4b1f76627c76f23c2037a1e9dad10a31ec258 (diff)
downloadpoky-d5881b7b94b195ad3858d46992ba6edbb2c95f31.tar.gz
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. (From OE-Core rev: 9183ce719463b20350d2a3de5ead64b0cc642d6e) 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/*"
38CONFFILES_${PN} += "${sysconfdir}/wpa_supplicant.conf" 38CONFFILES_${PN} += "${sysconfdir}/wpa_supplicant.conf"
39 39
40do_configure () { 40do_configure () {
41 ${MAKE} -C wpa_supplicant clean
41 install -m 0755 ${WORKDIR}/defconfig wpa_supplicant/.config 42 install -m 0755 ${WORKDIR}/defconfig wpa_supplicant/.config
42 echo "CFLAGS +=\"-I${STAGING_INCDIR}/libnl3\"" >> wpa_supplicant/.config 43 echo "CFLAGS +=\"-I${STAGING_INCDIR}/libnl3\"" >> wpa_supplicant/.config
43 44