summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/eglibc/eglibc-options.inc
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-core/eglibc/eglibc-options.inc')
-rw-r--r--meta/recipes-core/eglibc/eglibc-options.inc20
1 files changed, 10 insertions, 10 deletions
diff --git a/meta/recipes-core/eglibc/eglibc-options.inc b/meta/recipes-core/eglibc/eglibc-options.inc
index bd90ee79a2..6009278577 100644
--- a/meta/recipes-core/eglibc/eglibc-options.inc
+++ b/meta/recipes-core/eglibc/eglibc-options.inc
@@ -1,14 +1,14 @@
1def eglibc_cfg(feature, features, tokens, cnf): 1def 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"])
12 12
13# arrange the dependencies among eglibc configuable options according to file option-groups.def from eglibc source code 13# arrange the dependencies among eglibc configuable options according to file option-groups.def from eglibc source code
14def distro_features_check_deps(distro_features): 14def distro_features_check_deps(distro_features):