summaryrefslogtreecommitdiff
path: root/meta/recipes-connectivity
diff options
context:
space:
mode:
authorRoy.Li <rongqing.li@windriver.com>2013-06-08 14:40:08 +0800
committerSaul Wold <sgw@linux.intel.com>2013-06-13 08:25:45 -0700
commit4a7b5963a9d18924ae0564119f4edeefaca6b415 (patch)
tree7ea1a6bf632fae3d090159cd9e8487041eb4e190 /meta/recipes-connectivity
parent74158c2e99c6d8631800ae80025d1cc9f19336d2 (diff)
downloadopenembedded-core-4a7b5963a9d18924ae0564119f4edeefaca6b415.tar.gz
openembedded-core-4a7b5963a9d18924ae0564119f4edeefaca6b415.tar.bz2
openembedded-core-4a7b5963a9d18924ae0564119f4edeefaca6b415.zip
wpa-supplicant: Enable EXTRA_CFLAGS
Even if we define EXTRA_CFLAGS, but it never work, since the source codes donot refer it, and CFLAGS is given a fixed value. Signed-off-by: Roy.Li <rongqing.li@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
Diffstat (limited to 'meta/recipes-connectivity')
-rw-r--r--meta/recipes-connectivity/wpa-supplicant/wpa-supplicant-2.0.inc1
1 files changed, 1 insertions, 0 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 e5f7881a26..8d7233a908 100644
--- a/meta/recipes-connectivity/wpa-supplicant/wpa-supplicant-2.0.inc
+++ b/meta/recipes-connectivity/wpa-supplicant/wpa-supplicant-2.0.inc
@@ -40,6 +40,7 @@ export BINDIR = "${sbindir}"
do_compile () {
unset CFLAGS CPPFLAGS CXXFLAGS
+ sed -e "s:CFLAGS\ =.*:& \$(EXTRA_CFLAGS):g" -i ${S}/src/lib.rules
oe_runmake -C wpa_supplicant
}