diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-07-28 23:28:15 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-08-02 15:44:10 +0100 |
commit | bb6ddc3691ab04162ec5fd69a2d5e7876713fd15 (patch) | |
tree | 76e376b01253c3aace1a98a5021bcaad3c92e861 /meta/classes/multilib.bbclass | |
parent | fcc456ee4b8f619134abb4649db53c638074082c (diff) | |
download | poky-bb6ddc3691ab04162ec5fd69a2d5e7876713fd15.tar.gz |
Convert to new override syntax
This is the result of automated script conversion:
scripts/contrib/convert-overrides.py <oe-core directory>
converting the metadata to use ":" as the override character instead of "_".
(From OE-Core rev: 42344347be29f0997cc2f7636d9603b1fe1875ae)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/multilib.bbclass')
-rw-r--r-- | meta/classes/multilib.bbclass | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/classes/multilib.bbclass b/meta/classes/multilib.bbclass index 2ef75c0d16..c3be89767a 100644 --- a/meta/classes/multilib.bbclass +++ b/meta/classes/multilib.bbclass | |||
@@ -176,7 +176,7 @@ def reset_alternative_priority(d): | |||
176 | bb.debug(1, '%s: Setting ALTERNATIVE_PRIORITY_%s to %s' % (pkg, pkg, reset_priority)) | 176 | bb.debug(1, '%s: Setting ALTERNATIVE_PRIORITY_%s to %s' % (pkg, pkg, reset_priority)) |
177 | d.setVar('ALTERNATIVE_PRIORITY_%s' % pkg, reset_priority) | 177 | d.setVar('ALTERNATIVE_PRIORITY_%s' % pkg, reset_priority) |
178 | 178 | ||
179 | for alt_name in (d.getVar('ALTERNATIVE_%s' % pkg) or "").split(): | 179 | for alt_name in (d.getVar('ALTERNATIVE:%s' % pkg) or "").split(): |
180 | # ALTERNATIVE_PRIORITY_pkg[tool] = priority | 180 | # ALTERNATIVE_PRIORITY_pkg[tool] = priority |
181 | alt_priority_pkg_name = d.getVarFlag('ALTERNATIVE_PRIORITY_%s' % pkg, alt_name) | 181 | alt_priority_pkg_name = d.getVarFlag('ALTERNATIVE_PRIORITY_%s' % pkg, alt_name) |
182 | # ALTERNATIVE_PRIORITY[tool] = priority | 182 | # ALTERNATIVE_PRIORITY[tool] = priority |
@@ -191,7 +191,7 @@ def reset_alternative_priority(d): | |||
191 | bb.debug(1, '%s: Setting ALTERNATIVE_PRIORITY[%s] to %s' % (pkg, alt_name, reset_priority)) | 191 | bb.debug(1, '%s: Setting ALTERNATIVE_PRIORITY[%s] to %s' % (pkg, alt_name, reset_priority)) |
192 | d.setVarFlag('ALTERNATIVE_PRIORITY', alt_name, reset_priority) | 192 | d.setVarFlag('ALTERNATIVE_PRIORITY', alt_name, reset_priority) |
193 | 193 | ||
194 | PACKAGEFUNCS_append = " do_package_qa_multilib" | 194 | PACKAGEFUNCS:append = " do_package_qa_multilib" |
195 | 195 | ||
196 | python do_package_qa_multilib() { | 196 | python do_package_qa_multilib() { |
197 | 197 | ||