From: Andrei Gherzan Date: Fri, 23 Aug 2013 14:20:58 +0000 (+0300) Subject: eglibc.inc: Remove quotation marks from OPTION_EGLIBC_NSSWITCH_FIXED_* X-Git-Tag: lucaceresoli/bug-15201-perf-libtraceevent-missing~36268 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=eacf0f3ed15eccb52eb6b98e20b75f0aa26b6e81;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git eglibc.inc: Remove quotation marks from OPTION_EGLIBC_NSSWITCH_FIXED_* 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 Signed-off-by: Richard Purdie --- diff --git a/meta/recipes-core/eglibc/eglibc.inc b/meta/recipes-core/eglibc/eglibc.inc index 40dd6b58476..375b9bc116c 100644 --- a/meta/recipes-core/eglibc/eglibc.inc +++ b/meta/recipes-core/eglibc/eglibc.inc @@ -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"