[oe-commits] Andrei Gherzan : eglibc.inc: Remove quotation marks from OPTION_EGLIBC_NSSWITCH_FIXED_*

git at git.openembedded.org git at git.openembedded.org
Fri Aug 23 15:08:03 UTC 2013


Module: openembedded-core.git
Branch: master-next
Commit: eacf0f3ed15eccb52eb6b98e20b75f0aa26b6e81
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=eacf0f3ed15eccb52eb6b98e20b75f0aa26b6e81

Author: Andrei Gherzan <andrei at gherzan.ro>
Date:   Fri Aug 23 17:20:58 2013 +0300

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 <andrei.gherzan at windriver.com>
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>

---

 meta/recipes-core/eglibc/eglibc.inc |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/meta/recipes-core/eglibc/eglibc.inc b/meta/recipes-core/eglibc/eglibc.inc
index 40dd6b5..375b9bc 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"



More information about the Openembedded-commits mailing list