From: Koen Kooi Date: Wed, 19 Mar 2008 15:07:06 +0000 (+0000) Subject: native and autotools bbclass: use autotools_stage_all instead of oe_runmake install... X-Git-Tag: Release-2010-05/1~7349 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0f1f8ff6f100e7a9b9a2438459d55995a47c061b;p=openembedded.git native and autotools bbclass: use autotools_stage_all instead of oe_runmake install for staging native packages --- diff --git a/classes/autotools.bbclass b/classes/autotools.bbclass index 733ee81e14..7a87cc0bf8 100644 --- a/classes/autotools.bbclass +++ b/classes/autotools.bbclass @@ -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; 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 }