diff options
Diffstat (limited to 'meta')
-rw-r--r-- | meta/classes/autotools.bbclass | 3 | ||||
-rw-r--r-- | meta/classes/native.bbclass | 9 |
2 files changed, 9 insertions, 3 deletions
diff --git a/meta/classes/autotools.bbclass b/meta/classes/autotools.bbclass index 733ee81e14..7a87cc0bf8 100644 --- a/meta/classes/autotools.bbclass +++ b/meta/classes/autotools.bbclass | |||
@@ -1,5 +1,8 @@ | |||
1 | inherit base | 1 | inherit base |
2 | 2 | ||
3 | # use autotools_stage_all for native packages | ||
4 | AUTOTOOLS_NATIVE_STAGE_INSTALL = "1" | ||
5 | |||
3 | def autotools_dep_prepend(d): | 6 | def autotools_dep_prepend(d): |
4 | import bb; | 7 | import bb; |
5 | 8 | ||
diff --git a/meta/classes/native.bbclass b/meta/classes/native.bbclass index 8f2b6f3fec..ddbbc04e19 100644 --- a/meta/classes/native.bbclass +++ b/meta/classes/native.bbclass | |||
@@ -1,5 +1,3 @@ | |||
1 | inherit base | ||
2 | |||
3 | # Native packages are built indirectly via dependency, | 1 | # Native packages are built indirectly via dependency, |
4 | # no need for them to be a direct target of 'world' | 2 | # no need for them to be a direct target of 'world' |
5 | EXCLUDE_FROM_WORLD = "1" | 3 | EXCLUDE_FROM_WORLD = "1" |
@@ -78,7 +76,12 @@ export oldincludedir = "${STAGING_DIR_NATIVE}${layout_includedir}" | |||
78 | do_stage () { | 76 | do_stage () { |
79 | if [ "${INHIBIT_NATIVE_STAGE_INSTALL}" != "1" ] | 77 | if [ "${INHIBIT_NATIVE_STAGE_INSTALL}" != "1" ] |
80 | then | 78 | then |
81 | oe_runmake install | 79 | if [ "${AUTOTOOLS_NATIVE_STAGE_INSTALL}" != "1"] |
80 | then | ||
81 | oe_runmake install | ||
82 | else | ||
83 | autotools_stage_all | ||
84 | fi | ||
82 | fi | 85 | fi |
83 | } | 86 | } |
84 | 87 | ||