summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Purdie <richard@openedhand.com>2008-01-18 13:40:50 +0000
committerRichard Purdie <richard@openedhand.com>2008-01-18 13:40:50 +0000
commit7d60357a7045638d48676c58e84fa2c71241377a (patch)
tree2ec0b230323d73c7e4821cdd88c65fc6ac00cbed
parentfcb91af765caa692b83de29caada7c85eb711b86 (diff)
downloadopenembedded-core-7d60357a7045638d48676c58e84fa2c71241377a.tar.gz
openembedded-core-7d60357a7045638d48676c58e84fa2c71241377a.tar.bz2
openembedded-core-7d60357a7045638d48676c58e84fa2c71241377a.tar.xz
openembedded-core-7d60357a7045638d48676c58e84fa2c71241377a.zip
autotools.bbclass: Really fix autostaging function to correctly handle cases where only subdirectories of files exist
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3538 311d38ba-8fff-0310-9ca6-ca027cbcb966
-rw-r--r--meta/classes/autotools.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/autotools.bbclass b/meta/classes/autotools.bbclass
index 98fa0dd6a..9f0242515 100644
--- a/meta/classes/autotools.bbclass
+++ b/meta/classes/autotools.bbclass
@@ -170,7 +170,7 @@ autotools_stage_all() {
mkdir -p ${STAGE_TEMP}
oe_runmake DESTDIR="${STAGE_TEMP}" install
if [ -d ${STAGE_TEMP}/${includedir} ]; then
- cp -fpPR ${STAGE_TEMP}/${includedir}/ ${STAGING_INCDIR}
+ cp -fpPR -t ${STAGING_INCDIR} ${STAGE_TEMP}/${includedir}/*
fi
if [ -d ${STAGE_TEMP}/${libdir} ]
then