[oe-commits] [openembedded-core] 14/40: base.bbclass: trim duplicated whitespaces from BUILDCFG_VARS
git at git.openembedded.org
git at git.openembedded.org
Tue Aug 22 18:59:38 UTC 2017
This is an automated email from the git hooks/post-receive script.
rpurdie pushed a commit to branch master-next
in repository openembedded-core.
commit 7e66c66826e8e04a8ac1c6629cceaca363f3d5e0
Author: Ming Liu <peter.x.liu at external.atlascopco.com>
AuthorDate: Mon Aug 21 13:43:34 2017 +0200
base.bbclass: trim duplicated whitespaces from BUILDCFG_VARS
To give a example:
Before the change, in our build console, TUNE_FEATURES looks like:
...
TUNE_FEATURES = "arm armv7a vfp neon cortexa8"
...
After the change:
...
TUNE_FEATURES = "arm armv7a vfp neon cortexa8"
...
Signed-off-by: Ming Liu <peter.x.liu at external.atlascopco.com>
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
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 8c86977..07734ac 100644
--- a/meta/classes/base.bbclass
+++ b/meta/classes/base.bbclass
@@ -206,7 +206,7 @@ def buildcfg_vars(d):
for var in statusvars:
value = d.getVar(var)
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)
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Openembedded-commits
mailing list