aboutsummaryrefslogtreecommitdiffstats
path: root/meta/classes/autotools.bbclass
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 /meta/classes/autotools.bbclass
parentfcb91af765caa692b83de29caada7c85eb711b86 (diff)
downloadopenembedded-core-contrib-7d60357a7045638d48676c58e84fa2c71241377a.tar.gz
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
Diffstat (limited to 'meta/classes/autotools.bbclass')
-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 98fa0dd6a6..9f02425151 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