]> code.ossystems Code Review - openembedded-core.git/commitdiff
eglibc.inc: Remove quotation marks from OPTION_EGLIBC_NSSWITCH_FIXED_*
authorAndrei Gherzan <andrei@gherzan.ro>
Fri, 23 Aug 2013 14:20:58 +0000 (17:20 +0300)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 23 Aug 2013 15:04:49 +0000 (16:04 +0100)
Kconfig outputs strings with quotation marks. When eglibc tries to see if
the paths exists, uses wildcard make function which doesn't strip out the
quotation marks - checking for path fails. So strip out the quotation
marks from OPTION_EGLIBC_NSSWITCH_FIXED_* option-groups.config.
(see nss/Makefile)

Signed-off-by: Andrei Gherzan <andrei.gherzan@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-core/eglibc/eglibc.inc

index 40dd6b5847623f481077704d04c1de2c7adc05e8..375b9bc116caa5c046464b8fdb331e93f08d3eb0 100644 (file)
@@ -75,6 +75,10 @@ do_configure_prepend() {
 
 do_configure_append() {
        oe_runmake config
+
+       # Remove quotation marks from OPTION_EGLIBC_NSSWITCH_FIXED_*. This will
+       # avoid install error.
+       sed -i 's/^OPTION_EGLIBC_NSSWITCH_FIXED_\(.*\)="\(.*\)"$/OPTION_EGLIBC_NSSWITCH_FIXED_\1=\2/' option-groups.config
 }
 
 GLIBC_ADDONS ?= "ports,nptl,libidn"