aboutsummaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
authornoel eck <kceleon@gmail.com>2016-04-11 14:44:05 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-04-14 10:58:28 +0100
commit65fb2a4af127d32f31fbe696c80de5bafd953200 (patch)
tree0a236b76bbdd2bdde2c3ae09b5e587ffdf7ce62e /meta
parent12d665136197304fafee82f6149445249cc00e9c (diff)
downloadopenembedded-core-contrib-65fb2a4af127d32f31fbe696c80de5bafd953200.tar.gz
gcc-common.inc: String format tweak for available tunes
Small change to python string formatting for error logging. Previously, tune and availtunes would print out at the end of the log message. This change allows them to print out in the correct locations of the error string. Signed-off-by: noel eck <kceleon@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
Diffstat (limited to 'meta')
-rw-r--r--meta/recipes-devtools/gcc/gcc-common.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/recipes-devtools/gcc/gcc-common.inc b/meta/recipes-devtools/gcc/gcc-common.inc
index 6f2f224a14..e4fd4d6f70 100644
--- a/meta/recipes-devtools/gcc/gcc-common.inc
+++ b/meta/recipes-devtools/gcc/gcc-common.inc
@@ -54,7 +54,7 @@ def get_gcc_multiarch_setting(bb, d):
def get_tune_parameters(tune, d):
availtunes = d.getVar('AVAILTUNES', True)
if tune not in availtunes.split():
- bb.error('The tune: %s is not one of the available tunes: %s', tune or None, availtunes)
+ bb.error('The tune: %s is not one of the available tunes: %s' % (tune or None, availtunes))
localdata = bb.data.createCopy(d)
override = ':tune-' + tune