diff options
author | noel eck <kceleon@gmail.com> | 2016-04-11 14:44:05 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-04-14 10:58:34 +0100 |
commit | a8c8e811eeedc26079d9c150a214a36619141d79 (patch) | |
tree | 09a9ca007b83be1b6c8cdb4acf7e400bb1450192 /meta/recipes-devtools/gcc/gcc-common.inc | |
parent | a7c426aa1ee9dd8dea84cd70757410d2ba586e76 (diff) | |
download | poky-a8c8e811eeedc26079d9c150a214a36619141d79.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.
(From OE-Core rev: 65fb2a4af127d32f31fbe696c80de5bafd953200)
Signed-off-by: noel eck <kceleon@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/gcc/gcc-common.inc')
-rw-r--r-- | meta/recipes-devtools/gcc/gcc-common.inc | 2 |
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): | |||
54 | def get_tune_parameters(tune, d): | 54 | def get_tune_parameters(tune, d): |
55 | availtunes = d.getVar('AVAILTUNES', True) | 55 | availtunes = d.getVar('AVAILTUNES', True) |
56 | if tune not in availtunes.split(): | 56 | if tune not in availtunes.split(): |
57 | bb.error('The tune: %s is not one of the available tunes: %s', tune or None, availtunes) | 57 | bb.error('The tune: %s is not one of the available tunes: %s' % (tune or None, availtunes)) |
58 | 58 | ||
59 | localdata = bb.data.createCopy(d) | 59 | localdata = bb.data.createCopy(d) |
60 | override = ':tune-' + tune | 60 | override = ':tune-' + tune |