summaryrefslogtreecommitdiff
path: root/classes/native.bbclass
diff options
context:
space:
mode:
authorKoen Kooi <koen@openembedded.org>2008-03-19 15:07:06 +0000
committerKoen Kooi <koen@openembedded.org>2008-03-19 15:07:06 +0000
commit0f1f8ff6f100e7a9b9a2438459d55995a47c061b (patch)
tree4d1af2fad166e591d5bcdddf0e55a9bd016b4e45 /classes/native.bbclass
parent47896ab33e9e97bb8b5b98764ba775f47fc4dfac (diff)
native and autotools bbclass: use autotools_stage_all instead of oe_runmake install for staging native packages
Diffstat (limited to 'classes/native.bbclass')
-rw-r--r--classes/native.bbclass7
1 files changed, 6 insertions, 1 deletions
diff --git a/classes/native.bbclass b/classes/native.bbclass
index 63e9741397..ddbbc04e19 100644
--- a/classes/native.bbclass
+++ b/classes/native.bbclass
@@ -76,7 +76,12 @@ 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
+ autotools_stage_all
+ fi
fi
}