summaryrefslogtreecommitdiff
path: root/classes/autotools.bbclass
diff options
context:
space:
mode:
authorKoen Kooi <koen@openembedded.org>2008-03-19 19:39:28 +0000
committerKoen Kooi <koen@openembedded.org>2008-03-19 19:39:28 +0000
commitf1204894470e72800bcb7654ba5d346066fd6a1a (patch)
tree2c13a70f433478a9717649ea8ab9ea614f63cf49 /classes/autotools.bbclass
parent72684fc28d9e417bfeb35afcb7d7757769f6855a (diff)
autotools, native bbclass: try harder to stage native binaries
Diffstat (limited to 'classes/autotools.bbclass')
-rw-r--r--classes/autotools.bbclass6
1 files changed, 6 insertions, 0 deletions
diff --git a/classes/autotools.bbclass b/classes/autotools.bbclass
index 7a87cc0bf8..ae9b108279 100644
--- a/classes/autotools.bbclass
+++ b/classes/autotools.bbclass
@@ -204,6 +204,12 @@ autotools_stage_all() {
install -d ${STAGING_DATADIR}/aclocal
cp -fpPR ${STAGE_TEMP}/${datadir}/aclocal/* ${STAGING_DATADIR}/aclocal
fi
+
+ if [ "${AUTOTOOLS_NATIVE_STAGE_BINARIES}" = "1"] ; then
+ install -d ${STAGING_BINDIR_NATIVE}
+ cp -fpPR ${STAGE_TEMP}/*bin/* ${STAGING_BINDIR_NATIVE}/
+ cp -fpPR ${STAGE_TEMP}/usr/*bin/* ${STAGING_BINDIR_NATIVE}/
+ fi
rm -rf ${STAGE_TEMP}
}