[oe-commits] [openembedded-core] 11/11: uclibc: Do not use immediate expansion operator

git at git.openembedded.org git at git.openembedded.org
Mon Feb 22 20:43:13 UTC 2016


rpurdie pushed a commit to branch master
in repository openembedded-core.

commit 205b446f3fc4a9885179a66a8dab9d81bcc63dca
Author: Khem Raj <raj.khem at gmail.com>
AuthorDate: Mon Feb 22 06:50:57 2016 +0000

    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 at gmail.com>
    Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
 meta/recipes-core/uclibc/uclibc.inc | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/meta/recipes-core/uclibc/uclibc.inc b/meta/recipes-core/uclibc/uclibc.inc
index b63158a..1d42284 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")

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list