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

(From OE-Core rev: 205b446f3fc4a9885179a66a8dab9d81bcc63dca)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Khem Raj 2016-02-22 06:50:57 +00:00 committed by Richard Purdie
parent aab39005b3
commit 23056103c9
1 changed files with 3 additions and 3 deletions

View File

@ -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")