summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2016-02-22 06:50:57 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-02-22 20:42:34 +0000
commit205b446f3fc4a9885179a66a8dab9d81bcc63dca (patch)
tree93b91d3d36a8db79c66c69091b9590cce513d705
parent208fbdbff17f19a23944a62f1b9ff380f1bc8ac8 (diff)
downloadopenembedded-core-contrib-205b446f3fc4a9885179a66a8dab9d81bcc63dca.tar.gz
openembedded-core-contrib-205b446f3fc4a9885179a66a8dab9d81bcc63dca.tar.bz2
openembedded-core-contrib-205b446f3fc4a9885179a66a8dab9d81bcc63dca.zip
uclibc: Do not use immediate expansion operator
:= causes none of _remove flags to work with uclibc e.g. security flags where we remove ssp options for libcs but it does not become effective for uclibc and hence the build fails Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/recipes-core/uclibc/uclibc.inc6
1 files changed, 3 insertions, 3 deletions
diff --git a/meta/recipes-core/uclibc/uclibc.inc b/meta/recipes-core/uclibc/uclibc.inc
index b63158ac40..1d42284fb7 100644
--- a/meta/recipes-core/uclibc/uclibc.inc
+++ b/meta/recipes-core/uclibc/uclibc.inc
@@ -63,7 +63,7 @@ export V="2"
# http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44860
#
CFLAGS_remove_arm = "-fno-omit-frame-pointer"
-UCLIBC_EXTRA_CFLAGS := "${@oe_filter_out('(-I\S+|-i\S+)', '${CFLAGS}', d)}"
+UCLIBC_EXTRA_CFLAGS = "${@oe_filter_out('(-I\S+|-i\S+)', '${CFLAGS}', d)}"
configmangle = '/^KERNEL_HEADERS/d; \
/^RUNTIME_PREFIX/d; \
@@ -82,8 +82,8 @@ configmangle = '/^KERNEL_HEADERS/d; \
/HAS_FPU/d; \
${@["","s,.*MULTILIB_DIR.*,MULTILIB_DIR=\"${baselib}\",;"][d.getVar("baselib", True) != "lib"]} \
'
-OE_FEATURES := "${@features_to_uclibc_conf(d)}"
-OE_DEL := "${@features_to_uclibc_del(d)}"
+OE_FEATURES = "${@features_to_uclibc_conf(d)}"
+OE_DEL = "${@features_to_uclibc_del(d)}"
python () {
if "${OE_DEL}":
d.setVar('configmangle_append', "${OE_DEL}" + "\n")