Patchwork [2/3] wpa-supplicant: reorder do_configure

login
register
mail settings
Submitter Andreas Oberritter
Date March 8, 2013, 10:42 p.m.
Message ID <1362782523-17438-2-git-send-email-obi@opendreambox.org>
Download mbox | patch
Permalink /patch/45761/
State Accepted
Commit 82205345d777f7f34d43e4f81df0fa3bfe409fc4
Headers show

Comments

Andreas Oberritter - March 8, 2013, 10:42 p.m.
Copy from WORKDIR first, then modify. Improves consistency
between successive invocations of do_configure.

Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
---
 meta/recipes-connectivity/wpa-supplicant/wpa-supplicant-2.0.inc |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Patch

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}"