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

autotools.bbclass: Add handling binary staging capability to autotools_stage_all for compatible binaries fixing various -native package issues

git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4075 311d38ba-8fff-0310-9ca6-ca027cbcb966
This commit is contained in:
Richard Purdie
2008-03-19 17:53:44 +00:00
parent 498b4af0a6
commit b02d95a61f
+12
View File
@@ -177,6 +177,18 @@ autotools_stage_all() {
mkdir -p ${STAGING_INCDIR}
cp -fpPR -t ${STAGING_INCDIR} ${STAGE_TEMP}/${includedir}/*
fi
if [ "${BUILD_SYS}" = "${HOST_SYS}" ]; then
if [ -d ${STAGE_TEMP}/${bindir} ]; then
echo "here 1"
mkdir -p ${STAGING_DIR_HOST}${bindir}
cp -fpPR -t ${STAGING_DIR_HOST}/${layout_bindir} ${STAGE_TEMP}/${bindir}/*
fi
if [ -d ${STAGE_TEMP}/${sbindir} ]; then
echo "here 2"
mkdir -p ${STAGING_DIR_HOST}${sbindir}
cp -fpPR -t ${STAGING_DIR_HOST}/${layout_sbindir} ${STAGE_TEMP}/${bindir}/*
fi
fi
if [ -d ${STAGE_TEMP}/${libdir} ]
then
olddir=`pwd`