summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/gcc/gcc-common.inc
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-devtools/gcc/gcc-common.inc')
-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 ad96989573..6b61800a3e 100644
--- a/meta/recipes-devtools/gcc/gcc-common.inc
+++ b/meta/recipes-devtools/gcc/gcc-common.inc
@@ -38,7 +38,7 @@ def get_gcc_multiarch_setting(bb, d):
38def get_tune_parameters(tune, d): 38def get_tune_parameters(tune, d):
39 availtunes = d.getVar('AVAILTUNES', True) 39 availtunes = d.getVar('AVAILTUNES', True)
40 if tune not in availtunes.split(): 40 if tune not in availtunes.split():
41 bb.error('The tune: %s is not one of the available tunes: %s', tune, availtunes) 41 bb.error('The tune: %s is not one of the available tunes: %s', tune or None, availtunes)
42 42
43 localdata = bb.data.createCopy(d) 43 localdata = bb.data.createCopy(d)
44 override = ':tune-' + tune 44 override = ':tune-' + tune