diff options
Diffstat (limited to 'meta')
-rw-r--r-- | meta/classes/native.bbclass | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/meta/classes/native.bbclass b/meta/classes/native.bbclass index 7064c951a3..6bd37697d0 100644 --- a/meta/classes/native.bbclass +++ b/meta/classes/native.bbclass | |||
@@ -75,19 +75,19 @@ do_stage_native () { | |||
75 | fi | 75 | fi |
76 | } | 76 | } |
77 | 77 | ||
78 | |||
79 | do_stage () { | 78 | do_stage () { |
80 | do_stage_native | 79 | do_stage_native |
81 | } | 80 | } |
82 | 81 | ||
83 | do_install () { | ||
84 | true | ||
85 | } | ||
86 | |||
87 | PKG_CONFIG_PATH .= "${EXTRA_NATIVE_PKGCONFIG_PATH}" | 82 | PKG_CONFIG_PATH .= "${EXTRA_NATIVE_PKGCONFIG_PATH}" |
88 | PKG_CONFIG_SYSROOT_DIR = "" | 83 | PKG_CONFIG_SYSROOT_DIR = "" |
89 | 84 | ||
90 | python __anonymous () { | 85 | python __anonymous () { |
86 | # If we've a legacy native do_stage, we need to neuter do_install | ||
87 | stagefunc = bb.data.getVar('do_stage', d, True) | ||
88 | if (stagefunc.strip() != "do_stage_native" and stagefunc.strip() != "autotools_stage_all") and bb.data.getVar('AUTOTOOLS_NATIVE_STAGE_INSTALL', d, 1) == "1": | ||
89 | bb.data.setVar("do_install", " :", d) | ||
90 | |||
91 | pn = bb.data.getVar("PN", d, True) | 91 | pn = bb.data.getVar("PN", d, True) |
92 | depends = bb.data.getVar("DEPENDS", d, True) | 92 | depends = bb.data.getVar("DEPENDS", d, True) |
93 | deps = bb.utils.explode_deps(depends) | 93 | deps = bb.utils.explode_deps(depends) |