1
0
mirror of https://git.yoctoproject.org/poky synced 2026-05-08 17:19:20 +00:00

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
This commit is contained in:
Richard Purdie
2008-03-19 15:35:13 +00:00
parent 90552a3545
commit 38854a1101
2 changed files with 9 additions and 3 deletions
+3
View File
@@ -1,5 +1,8 @@
inherit base
# use autotools_stage_all for native packages
AUTOTOOLS_NATIVE_STAGE_INSTALL = "1"
def autotools_dep_prepend(d):
import bb;
+6 -3
View File
@@ -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
}