From 65fb2a4af127d32f31fbe696c80de5bafd953200 Mon Sep 17 00:00:00 2001 From: noel eck Date: Mon, 11 Apr 2016 14:44:05 -0700 Subject: 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 Signed-off-by: Ross Burton --- meta/recipes-devtools/gcc/gcc-common.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'meta/recipes-devtools/gcc/gcc-common.inc') 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 -- cgit 1.2.3-korg