[oe-commits] Andreas Oberritter : wpa-supplicant: reorder do_configure

git at git.openembedded.org git at git.openembedded.org
Tue Mar 12 18:32:18 UTC 2013


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

Author: Andreas Oberritter <obi at opendreambox.org>
Date:   Fri Mar  8 23:42:02 2013 +0100

wpa-supplicant: reorder do_configure

Copy from WORKDIR first, then modify. Improves consistency
between successive invocations of do_configure.

Signed-off-by: Andreas Oberritter <obi at opendreambox.org>
Signed-off-by: Saul Wold <sgw at linux.intel.com>

---

 .../wpa-supplicant/wpa-supplicant-2.0.inc          |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/meta/recipes-connectivity/wpa-supplicant/wpa-supplicant-2.0.inc b/meta/recipes-connectivity/wpa-supplicant/wpa-supplicant-2.0.inc
index 9e4514a..4e15369 100644
--- a/meta/recipes-connectivity/wpa-supplicant/wpa-supplicant-2.0.inc
+++ b/meta/recipes-connectivity/wpa-supplicant/wpa-supplicant-2.0.inc
@@ -30,8 +30,8 @@ FILES_${PN} += "${datadir}/dbus-1/system-services/*"
 CONFFILES_${PN} += "${sysconfdir}/wpa_supplicant.conf"
 
 do_configure () {
-	echo "CFLAGS +=\"-I${STAGING_INCDIR}/libnl3\"" >> ${WORKDIR}/defconfig-gnutls
 	install -m 0755 ${WORKDIR}/defconfig-gnutls wpa_supplicant/.config
+	echo "CFLAGS +=\"-I${STAGING_INCDIR}/libnl3\"" >> wpa_supplicant/.config
 }
 
 export EXTRA_CFLAGS = "${CFLAGS}"





More information about the Openembedded-commits mailing list