summaryrefslogtreecommitdiffstats
path: root/recipes
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2011-01-12 14:32:10 -0800
committerKhem Raj <raj.khem@gmail.com>2011-01-12 14:32:10 -0800
commitd72fd8495db50076a30aa79f17f1fb072aeff79a (patch)
treea13e9304a347862aabb15b05309175751468e9ec /recipes
parentabdde308ce28b9dbc7b72de42d3b9da57e6b8f36 (diff)
downloadopenembedded-d72fd8495db50076a30aa79f17f1fb072aeff79a.tar.gz
eglibc-options.inc: Account of DISTRO_FEATURES_EGLIBC being not defined.
* Thanks Bernhard Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'recipes')
-rw-r--r--recipes/eglibc/eglibc-options.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/recipes/eglibc/eglibc-options.inc b/recipes/eglibc/eglibc-options.inc
index 5e21d3cb44..0af0aab0a4 100644
--- a/recipes/eglibc/eglibc-options.inc
+++ b/recipes/eglibc/eglibc-options.inc
@@ -9,7 +9,7 @@ def eglibc_cfg(feature, features, tokens, cnf ):
# Map distro features to eglibc options settings
def features_to_eglibc_settings(d):
cnf = ([])
- distro_features = bb.data.getVar('DISTRO_FEATURES_EGLIBC', d, True).split()
+ distro_features = (bb.data.getVar('DISTRO_FEATURES_EGLIBC', d, True) or '').split()
eglibc_cfg('ipv6', distro_features, 'OPTION_EGLIBC_ADVANCED_INET6', cnf)
eglibc_cfg('backtrace', distro_features, 'OPTION_EGLIBC_BACKTRACE', cnf)
eglibc_cfg('big-macros', distro_features, 'OPTION_EGLIBC_BIG_MACROS', cnf)