summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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):
54def get_tune_parameters(tune, d): 54def 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