diff options
author | Khem Raj <raj.khem@gmail.com> | 2012-09-06 15:19:18 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-09-10 13:01:50 +0100 |
commit | 3cfc70fc27c8db79b1f35ca4e1e746fb83ca360f (patch) | |
tree | 3f19527c1515b01dcdcfd966d918980fedb501d5 /meta/recipes-core/eglibc/eglibc-options.inc | |
parent | 607a3d57c5dfa38718b8c8a7d7a58d568f10a6f6 (diff) | |
download | poky-3cfc70fc27c8db79b1f35ca4e1e746fb83ca360f.tar.gz |
eglibc: Enable kconfig for option management
(From OE-Core rev: 13e2ccf6f4e71d674583894750f70865ebe5e4d1)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core/eglibc/eglibc-options.inc')
-rw-r--r-- | meta/recipes-core/eglibc/eglibc-options.inc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/recipes-core/eglibc/eglibc-options.inc b/meta/recipes-core/eglibc/eglibc-options.inc index 6009278577..8a8b364a6e 100644 --- a/meta/recipes-core/eglibc/eglibc-options.inc +++ b/meta/recipes-core/eglibc/eglibc-options.inc | |||
@@ -2,10 +2,10 @@ def eglibc_cfg(feature, features, tokens, cnf): | |||
2 | if type(tokens) == type(""): | 2 | if type(tokens) == type(""): |
3 | tokens = [tokens] | 3 | tokens = [tokens] |
4 | if type(features) == type([]) and feature in features: | 4 | if type(features) == type([]) and feature in features: |
5 | cnf.extend([token + ' = y' for token in tokens]) | 5 | cnf.extend([token + '=y' for token in tokens]) |
6 | else: | 6 | else: |
7 | for token in tokens: | 7 | for token in tokens: |
8 | cnf.extend([token + ' = n']) | 8 | cnf.extend([token + '=n']) |
9 | if token == 'OPTION_EGLIBC_NSSWITCH': | 9 | if token == 'OPTION_EGLIBC_NSSWITCH': |
10 | cnf.extend(["OPTION_EGLIBC_NSSWITCH_FIXED_CONFIG = ${S}/nss/nsswitch.conf"]) | 10 | cnf.extend(["OPTION_EGLIBC_NSSWITCH_FIXED_CONFIG = ${S}/nss/nsswitch.conf"]) |
11 | cnf.extend(["OPTION_EGLIBC_NSSWITCH_FIXED_FUNCTIONS = ${S}/nss/fixed-nsswitch.functions"]) | 11 | cnf.extend(["OPTION_EGLIBC_NSSWITCH_FIXED_FUNCTIONS = ${S}/nss/fixed-nsswitch.functions"]) |