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)

(From OE-Core rev: eacf0f3ed15eccb52eb6b98e20b75f0aa26b6e81)

Signed-off-by: Andrei Gherzan <andrei.gherzan@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Andrei Gherzan 2013-08-23 17:20:58 +03:00 committed by Richard Purdie
parent 747f5bee1b
commit 3a86c3905b
1 changed files with 4 additions and 0 deletions

View 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"