diff options
author | Ross Burton <ross.burton@intel.com> | 2019-07-02 16:22:47 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2019-07-03 17:00:57 +0100 |
commit | 6df5aa2cc2462f59042861180dc9cc6c20631994 (patch) | |
tree | 58dd51314a01844d9784c35386ad6242c3af1920 /meta | |
parent | ff9739af25707c0a88e8b5af247de727440197bc (diff) | |
download | poky-6df5aa2cc2462f59042861180dc9cc6c20631994.tar.gz |
multilib_script: fix whitespace
The blocks were intended with 3 spaces instead of 4.
(From OE-Core rev: 98fbf61287971319547cc462b7c81f54950df619)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r-- | meta/classes/multilib_script.bbclass | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/meta/classes/multilib_script.bbclass b/meta/classes/multilib_script.bbclass index dc166d06c1..b11efc1ec5 100644 --- a/meta/classes/multilib_script.bbclass +++ b/meta/classes/multilib_script.bbclass | |||
@@ -17,18 +17,18 @@ multilibscript_rename() { | |||
17 | python () { | 17 | python () { |
18 | # Do nothing if multilib isn't being used | 18 | # Do nothing if multilib isn't being used |
19 | if not d.getVar("MULTILIB_VARIANTS"): | 19 | if not d.getVar("MULTILIB_VARIANTS"): |
20 | return | 20 | return |
21 | # Do nothing for native/cross | 21 | # Do nothing for native/cross |
22 | if bb.data.inherits_class('native', d) or bb.data.inherits_class('cross', d): | 22 | if bb.data.inherits_class('native', d) or bb.data.inherits_class('cross', d): |
23 | return | 23 | return |
24 | 24 | ||
25 | for entry in (d.getVar("MULTILIB_SCRIPTS", False) or "").split(): | 25 | for entry in (d.getVar("MULTILIB_SCRIPTS", False) or "").split(): |
26 | pkg, script = entry.split(":") | 26 | pkg, script = entry.split(":") |
27 | epkg = d.expand(pkg) | 27 | epkg = d.expand(pkg) |
28 | scriptname = os.path.basename(script) | 28 | scriptname = os.path.basename(script) |
29 | d.appendVar("ALTERNATIVE_" + epkg, " " + scriptname + " ") | 29 | d.appendVar("ALTERNATIVE_" + epkg, " " + scriptname + " ") |
30 | d.setVarFlag("ALTERNATIVE_LINK_NAME", scriptname, script) | 30 | d.setVarFlag("ALTERNATIVE_LINK_NAME", scriptname, script) |
31 | d.setVarFlag("ALTERNATIVE_TARGET", scriptname, script + "-${MULTILIB_SUFFIX}") | 31 | d.setVarFlag("ALTERNATIVE_TARGET", scriptname, script + "-${MULTILIB_SUFFIX}") |
32 | d.appendVar("multilibscript_rename", "\n mv ${PKGD}" + script + " ${PKGD}" + script + "-${MULTILIB_SUFFIX}") | 32 | d.appendVar("multilibscript_rename", "\n mv ${PKGD}" + script + " ${PKGD}" + script + "-${MULTILIB_SUFFIX}") |
33 | d.appendVar("FILES_" + epkg, " " + script + "-${MULTILIB_SUFFIX}") | 33 | d.appendVar("FILES_" + epkg, " " + script + "-${MULTILIB_SUFFIX}") |
34 | } | 34 | } |