diff options
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() { |