[OE-core] [PATCH] base.bbclass: squash whitespace when printing BUILDCFG_VARS
Andre McCurdy
armccurdy at gmail.com
Mon Nov 28 22:23:21 UTC 2016
TUNE_FEATURES for ARM targets typically contains a lot of whitespace
due to refactoring in OE 2.1:
http://git.openembedded.org/openembedded-core/commit/?id=f774b44fa007a2a756ada892ede832b1251d940c
Squash whitespace when displaying BUILDCFG_VARS in buildcfg_vars().
Signed-off-by: Andre McCurdy <armccurdy at gmail.com>
---
meta/classes/base.bbclass | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/meta/classes/base.bbclass b/meta/classes/base.bbclass
index 024fe43..c36c5ed 100644
--- a/meta/classes/base.bbclass
+++ b/meta/classes/base.bbclass
@@ -191,7 +191,7 @@ def buildcfg_vars(d):
for var in statusvars:
value = d.getVar(var, True)
if value is not None:
- yield '%-17s = "%s"' % (var, value)
+ yield '%-17s = "%s"' % (var, " ".join(value.split()))
def buildcfg_neededvars(d):
needed_vars = oe.data.typed_value("BUILDCFG_NEEDEDVARS", d)
--
1.9.1
More information about the Openembedded-core
mailing list