diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-07-11 17:33:43 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-07-19 10:24:50 +0100 |
commit | bfd279de3275abbfaf3e630383ec244131e0375f (patch) | |
tree | 0d1c90461a890d21444f5d2afb13c52b302427f1 /meta/classes/populate_sdk_base.bbclass | |
parent | 99203edda6f0b09d817454d656c100b7a8806b18 (diff) | |
download | poky-bfd279de3275abbfaf3e630383ec244131e0375f.tar.gz |
Convert tab indentation in python functions into four-space
(From OE-Core rev: 604d46c686d06d62d5a07b9c7f4fa170f99307d8)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/populate_sdk_base.bbclass')
-rw-r--r-- | meta/classes/populate_sdk_base.bbclass | 34 |
1 files changed, 17 insertions, 17 deletions
diff --git a/meta/classes/populate_sdk_base.bbclass b/meta/classes/populate_sdk_base.bbclass index ed2dca0780..9483e93f3b 100644 --- a/meta/classes/populate_sdk_base.bbclass +++ b/meta/classes/populate_sdk_base.bbclass | |||
@@ -32,29 +32,29 @@ python () { | |||
32 | } | 32 | } |
33 | 33 | ||
34 | fakeroot python do_populate_sdk() { | 34 | fakeroot python do_populate_sdk() { |
35 | bb.build.exec_func("populate_sdk_image", d) | 35 | bb.build.exec_func("populate_sdk_image", d) |
36 | 36 | ||
37 | # Handle multilibs in the SDK environment, siteconfig, etc files... | 37 | # Handle multilibs in the SDK environment, siteconfig, etc files... |
38 | localdata = bb.data.createCopy(d) | 38 | localdata = bb.data.createCopy(d) |
39 | 39 | ||
40 | # make sure we only use the WORKDIR value from 'd', or it can change | 40 | # make sure we only use the WORKDIR value from 'd', or it can change |
41 | localdata.setVar('WORKDIR', d.getVar('WORKDIR', True)) | 41 | localdata.setVar('WORKDIR', d.getVar('WORKDIR', True)) |
42 | 42 | ||
43 | # make sure we only use the SDKTARGETSYSROOT value from 'd' | 43 | # make sure we only use the SDKTARGETSYSROOT value from 'd' |
44 | localdata.setVar('SDKTARGETSYSROOT', d.getVar('SDKTARGETSYSROOT', True)) | 44 | localdata.setVar('SDKTARGETSYSROOT', d.getVar('SDKTARGETSYSROOT', True)) |
45 | 45 | ||
46 | # Process DEFAULTTUNE | 46 | # Process DEFAULTTUNE |
47 | bb.build.exec_func("create_sdk_files", localdata) | 47 | bb.build.exec_func("create_sdk_files", localdata) |
48 | 48 | ||
49 | variants = d.getVar("MULTILIB_VARIANTS", True) or "" | 49 | variants = d.getVar("MULTILIB_VARIANTS", True) or "" |
50 | for item in variants.split(): | 50 | for item in variants.split(): |
51 | # Load overrides from 'd' to avoid having to reset the value... | 51 | # Load overrides from 'd' to avoid having to reset the value... |
52 | overrides = d.getVar("OVERRIDES", False) + ":virtclass-multilib-" + item | 52 | overrides = d.getVar("OVERRIDES", False) + ":virtclass-multilib-" + item |
53 | localdata.setVar("OVERRIDES", overrides) | 53 | localdata.setVar("OVERRIDES", overrides) |
54 | bb.data.update_data(localdata) | 54 | bb.data.update_data(localdata) |
55 | bb.build.exec_func("create_sdk_files", localdata) | 55 | bb.build.exec_func("create_sdk_files", localdata) |
56 | 56 | ||
57 | bb.build.exec_func("tar_sdk", d) | 57 | bb.build.exec_func("tar_sdk", d) |
58 | } | 58 | } |
59 | 59 | ||
60 | fakeroot populate_sdk_image() { | 60 | fakeroot populate_sdk_image() { |