]> code.ossystems Code Review - openembedded-core.git/commitdiff
wpa-supplicant: reorder do_configure
authorAndreas Oberritter <obi@opendreambox.org>
Fri, 8 Mar 2013 22:42:02 +0000 (23:42 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 12 Mar 2013 18:27:11 +0000 (18:27 +0000)
Copy from WORKDIR first, then modify. Improves consistency
between successive invocations of do_configure.

Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
meta/recipes-connectivity/wpa-supplicant/wpa-supplicant-2.0.inc

index 9e4514affb8be50efed18ff397cfcbd0b5d881d7..4e15369d0e03f0e29edf427b343447428bed6bf9 100644 (file)
@@ -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}"