Patchwork [1/2] eglibc-options.inc: Fix string options

login
register
mail settings
Submitter Andrei Gherzan
Date Aug. 23, 2013, 2:20 p.m.
Message ID <1377267658-14590-1-git-send-email-andrei.gherzan@windriver.com>
Download mbox | patch
Permalink /patch/56347/
State Accepted
Commit 53f48a7aadc807a75c34fe72de7497790ba19ee5
Headers show

Comments

Andrei Gherzan - Aug. 23, 2013, 2:20 p.m.
Add quotation marks for OPTION_EGLIBC_NSSWITCH_FIXED* options. If not, Kconfig
will ignore the value and will use the default one which is "".

Signed-off-by: Andrei Gherzan <andrei.gherzan@windriver.com>
---
 meta/recipes-core/eglibc/eglibc-options.inc |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Patch

diff --git a/meta/recipes-core/eglibc/eglibc-options.inc b/meta/recipes-core/eglibc/eglibc-options.inc
index 74412e8..c55d05d 100644
--- a/meta/recipes-core/eglibc/eglibc-options.inc
+++ b/meta/recipes-core/eglibc/eglibc-options.inc
@@ -7,8 +7,8 @@  def eglibc_cfg(feature, features, tokens, cnf):
         for token in tokens:
             cnf.extend([token + '=n'])
             if token == 'OPTION_EGLIBC_NSSWITCH':
-                cnf.extend(["OPTION_EGLIBC_NSSWITCH_FIXED_CONFIG = ${S}/nss/nsswitch.conf"])
-                cnf.extend(["OPTION_EGLIBC_NSSWITCH_FIXED_FUNCTIONS = ${S}/nss/fixed-nsswitch.functions"])
+                cnf.extend(["OPTION_EGLIBC_NSSWITCH_FIXED_CONFIG=\"${S}/nss/nsswitch.conf\""])
+                cnf.extend(["OPTION_EGLIBC_NSSWITCH_FIXED_FUNCTIONS=\"${S}/nss/fixed-nsswitch.functions\""])
 
 # arrange the dependencies among eglibc configuable options according to file option-groups.def from eglibc source code
 def distro_features_check_deps(distro_features):