summaryrefslogtreecommitdiffstats
path: root/meta/classes/autotools.bbclass
diff options
context:
space:
mode:
authorRichard Purdie <richard@openedhand.com>2008-03-19 17:53:44 +0000
committerRichard Purdie <richard@openedhand.com>2008-03-19 17:53:44 +0000
commitb02d95a61faf59d27911c7580c0c8e76e426b729 (patch)
treeceb4cf281644cb90133d0848f0883788f3c4e5dc /meta/classes/autotools.bbclass
parent498b4af0a68b0d01cdbc57f756cca6e17bba86a7 (diff)
downloadpoky-b02d95a61faf59d27911c7580c0c8e76e426b729.tar.gz
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
Diffstat (limited to 'meta/classes/autotools.bbclass')
-rw-r--r--meta/classes/autotools.bbclass12
1 files changed, 12 insertions, 0 deletions
diff --git a/meta/classes/autotools.bbclass b/meta/classes/autotools.bbclass
index 7a87cc0bf8..004ac79f03 100644
--- a/meta/classes/autotools.bbclass
+++ b/meta/classes/autotools.bbclass
@@ -177,6 +177,18 @@ autotools_stage_all() {
177 mkdir -p ${STAGING_INCDIR} 177 mkdir -p ${STAGING_INCDIR}
178 cp -fpPR -t ${STAGING_INCDIR} ${STAGE_TEMP}/${includedir}/* 178 cp -fpPR -t ${STAGING_INCDIR} ${STAGE_TEMP}/${includedir}/*
179 fi 179 fi
180 if [ "${BUILD_SYS}" = "${HOST_SYS}" ]; then
181 if [ -d ${STAGE_TEMP}/${bindir} ]; then
182 echo "here 1"
183 mkdir -p ${STAGING_DIR_HOST}${bindir}
184 cp -fpPR -t ${STAGING_DIR_HOST}/${layout_bindir} ${STAGE_TEMP}/${bindir}/*
185 fi
186 if [ -d ${STAGE_TEMP}/${sbindir} ]; then
187 echo "here 2"
188 mkdir -p ${STAGING_DIR_HOST}${sbindir}
189 cp -fpPR -t ${STAGING_DIR_HOST}/${layout_sbindir} ${STAGE_TEMP}/${bindir}/*
190 fi
191 fi
180 if [ -d ${STAGE_TEMP}/${libdir} ] 192 if [ -d ${STAGE_TEMP}/${libdir} ]
181 then 193 then
182 olddir=`pwd` 194 olddir=`pwd`