diff options
Diffstat (limited to 'meta/classes/sanity.bbclass')
-rw-r--r-- | meta/classes/sanity.bbclass | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/meta/classes/sanity.bbclass b/meta/classes/sanity.bbclass index 5b4f070ec4..0ffa52dedf 100644 --- a/meta/classes/sanity.bbclass +++ b/meta/classes/sanity.bbclass | |||
@@ -114,6 +114,8 @@ def check_toolchain(data): | |||
114 | tune_error_set.append(tune_errors) | 114 | tune_error_set.append(tune_errors) |
115 | 115 | ||
116 | multilibs = (data.getVar("MULTILIB_VARIANTS", True) or "").split() | 116 | multilibs = (data.getVar("MULTILIB_VARIANTS", True) or "").split() |
117 | global_multilibs = (data.getVar("MULTILIB_GLOBAL_VARIANTS", True) or "").split() | ||
118 | |||
117 | if multilibs: | 119 | if multilibs: |
118 | seen_libs = [] | 120 | seen_libs = [] |
119 | seen_tunes = [] | 121 | seen_tunes = [] |
@@ -122,6 +124,8 @@ def check_toolchain(data): | |||
122 | tune_error_set.append("The multilib '%s' appears more than once." % lib) | 124 | tune_error_set.append("The multilib '%s' appears more than once." % lib) |
123 | else: | 125 | else: |
124 | seen_libs.append(lib) | 126 | seen_libs.append(lib) |
127 | if not lib in global_multilibs: | ||
128 | tune_error_set.append("Multilib %s is not present in MULTILIB_GLOBAL_VARIANTS" % lib) | ||
125 | tune = data.getVar("DEFAULTTUNE_virtclass-multilib-%s" % lib, True) | 129 | tune = data.getVar("DEFAULTTUNE_virtclass-multilib-%s" % lib, True) |
126 | if tune in seen_tunes: | 130 | if tune in seen_tunes: |
127 | tune_error_set.append("The tuning '%s' appears in more than one multilib." % tune) | 131 | tune_error_set.append("The tuning '%s' appears in more than one multilib." % tune) |