summaryrefslogtreecommitdiffstats
path: root/meta/classes/autotools.bbclass
diff options
context:
space:
mode:
authorRichard Purdie <richard@openedhand.com>2008-01-18 12:07:20 +0000
committerRichard Purdie <richard@openedhand.com>2008-01-18 12:07:20 +0000
commit1fa886288e3e4d4d5b08e2fa0b3588b218faa5ae (patch)
treeb963ee118817eb02c2cd1bb49eecc7616a305a93 /meta/classes/autotools.bbclass
parent6ddbbdfaaf41f1c9d94b610e29ce92e6751ee3e5 (diff)
downloadpoky-1fa886288e3e4d4d5b08e2fa0b3588b218faa5ae.tar.gz
autotools.bbclass: Fix autostaging function to correctly handle cases where only subdirectories of files exist
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3517 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 8e4fba9400..98fa0dd6a6 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 ${STAGE_TEMP}/${includedir}/ ${STAGING_INCDIR}
174 fi 174 fi
175 if [ -d ${STAGE_TEMP}/${libdir} ] 175 if [ -d ${STAGE_TEMP}/${libdir} ]
176 then 176 then