diff options
author | Bogdan Marinescu <bogdan.a.marinescu@intel.com> | 2012-08-02 10:49:06 +0300 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-08-02 18:07:18 +0100 |
commit | c4a7517f8ae6e176a0b8e59b1176cf65bb45aa78 (patch) | |
tree | 2f98f236b29aaa23042909924010eac8ba1f9d01 /meta/classes | |
parent | 9461854a3cf64a1d8fbf0248140d91bbd0a8e054 (diff) | |
download | poky-c4a7517f8ae6e176a0b8e59b1176cf65bb45aa78.tar.gz |
Complete recipe enablement
RP: The list of recipes in multilib.conf needs to go away and we need
to just be able to extend all recipes with the multilib class.
Tested by building and running lib32-core-image-sato-sdk.
[YOCTO #1563]
(From OE-Core rev: 5d691f1bc95dfb9109b07827b33957b1fa5b2fa4)
Signed-off-by: Bogdan Marinescu <bogdan.a.marinescu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes')
-rw-r--r-- | meta/classes/multilib.bbclass | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/meta/classes/multilib.bbclass b/meta/classes/multilib.bbclass index b92a3ff295..b1a593e222 100644 --- a/meta/classes/multilib.bbclass +++ b/meta/classes/multilib.bbclass | |||
@@ -15,6 +15,9 @@ python multilib_virtclass_handler () { | |||
15 | e.data.setVar("PN", variant + "-" + e.data.getVar("PN", False)) | 15 | e.data.setVar("PN", variant + "-" + e.data.getVar("PN", False)) |
16 | return | 16 | return |
17 | 17 | ||
18 | if bb.data.inherits_class('native', e.data): | ||
19 | raise bb.parse.SkipPackage("We can't extend native recipes") | ||
20 | |||
18 | save_var_name=e.data.getVar("MULTILIB_SAVE_VARNAME", True) or "" | 21 | save_var_name=e.data.getVar("MULTILIB_SAVE_VARNAME", True) or "" |
19 | for name in save_var_name.split(): | 22 | for name in save_var_name.split(): |
20 | val=e.data.getVar(name, True) | 23 | val=e.data.getVar(name, True) |