summaryrefslogtreecommitdiff
path: root/meta/classes/native.bbclass
diff options
context:
space:
mode:
authorRichard Purdie <richard@openedhand.com>2008-03-19 15:35:13 +0000
committerRichard Purdie <richard@openedhand.com>2008-03-19 15:35:13 +0000
commit38854a11011a6bed662a09214356d1aaace9fd7a (patch)
treedb7496733477c74c7e722080b1b9b2ed6ff5b3c8 /meta/classes/native.bbclass
parent90552a3545d1db29f95a1dc9e4ec9b7f68084bcc (diff)
downloadopenembedded-core-38854a11011a6bed662a09214356d1aaace9fd7a.tar.gz
openembedded-core-38854a11011a6bed662a09214356d1aaace9fd7a.tar.bz2
openembedded-core-38854a11011a6bed662a09214356d1aaace9fd7a.tar.xz
openembedded-core-38854a11011a6bed662a09214356d1aaace9fd7a.zip
autotools.bbclass/native.bbclass: Use autotools_stage_all instead of oe_runmake install for staging autotooled native packages (from OE.dev)
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4056 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta/classes/native.bbclass')
-rw-r--r--meta/classes/native.bbclass9
1 files changed, 6 insertions, 3 deletions
diff --git a/meta/classes/native.bbclass b/meta/classes/native.bbclass
index 8f2b6f3fe..ddbbc04e1 100644
--- a/meta/classes/native.bbclass
+++ b/meta/classes/native.bbclass
@@ -1,5 +1,3 @@
-inherit base
-
# Native packages are built indirectly via dependency,
# no need for them to be a direct target of 'world'
EXCLUDE_FROM_WORLD = "1"
@@ -78,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
}