diff options
author | Richard Purdie <richard@openedhand.com> | 2008-01-18 13:40:50 +0000 |
---|---|---|
committer | Richard Purdie <richard@openedhand.com> | 2008-01-18 13:40:50 +0000 |
commit | 7d60357a7045638d48676c58e84fa2c71241377a (patch) | |
tree | 2ec0b230323d73c7e4821cdd88c65fc6ac00cbed | |
parent | fcb91af765caa692b83de29caada7c85eb711b86 (diff) | |
download | poky-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
-rw-r--r-- | meta/classes/autotools.bbclass | 2 |
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() { | |||
170 | mkdir -p ${STAGE_TEMP} | 170 | mkdir -p ${STAGE_TEMP} |
171 | oe_runmake DESTDIR="${STAGE_TEMP}" install | 171 | oe_runmake DESTDIR="${STAGE_TEMP}" install |
172 | if [ -d ${STAGE_TEMP}/${includedir} ]; then | 172 | if [ -d ${STAGE_TEMP}/${includedir} ]; then |
173 | cp -fpPR ${STAGE_TEMP}/${includedir}/ ${STAGING_INCDIR} | 173 | cp -fpPR -t ${STAGING_INCDIR} ${STAGE_TEMP}/${includedir}/* |
174 | fi | 174 | fi |
175 | if [ -d ${STAGE_TEMP}/${libdir} ] | 175 | if [ -d ${STAGE_TEMP}/${libdir} ] |
176 | then | 176 | then |