diff options
Diffstat (limited to 'meta/classes/multilib.bbclass')
-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) |