From d72fd8495db50076a30aa79f17f1fb072aeff79a Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Wed, 12 Jan 2011 14:32:10 -0800 Subject: [PATCH] eglibc-options.inc: Account of DISTRO_FEATURES_EGLIBC being not defined. * Thanks Bernhard Signed-off-by: Khem Raj --- recipes/eglibc/eglibc-options.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- 2.39.5