summaryrefslogtreecommitdiff
path: root/classes/native.bbclass
diff options
context:
space:
mode:
Diffstat (limited to 'classes/native.bbclass')
-rw-r--r--classes/native.bbclass8
1 files changed, 7 insertions, 1 deletions
diff --git a/classes/native.bbclass b/classes/native.bbclass
index 63e9741397..43c71e16cf 100644
--- a/classes/native.bbclass
+++ b/classes/native.bbclass
@@ -76,7 +76,13 @@ export oldincludedir = "${STAGING_DIR_NATIVE}${layout_includedir}"
do_stage () {
if [ "${INHIBIT_NATIVE_STAGE_INSTALL}" != "1" ]
then
- oe_runmake install
+ if [ "${AUTOTOOLS_NATIVE_STAGE_INSTALL}" != "1" ]
+ then
+ oe_runmake install
+ else
+ export AUTOTOOLS_NATIVE_STAGE_BINARIES="1"
+ autotools_stage_all
+ fi
fi
}