[OE-core] [PATCH 2/3] wpa-supplicant: reorder do_configure
Andreas Oberritter
obi at opendreambox.org
Fri Mar 8 22:42:02 UTC 2013
Copy from WORKDIR first, then modify. Improves consistency
between successive invocations of do_configure.
Signed-off-by: Andreas Oberritter <obi at opendreambox.org>
---
meta/recipes-connectivity/wpa-supplicant/wpa-supplicant-2.0.inc | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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}"
--
1.7.10.4
More information about the Openembedded-core
mailing list