summaryrefslogtreecommitdiff
path: root/classes/autotools.bbclass
diff options
context:
space:
mode:
authorPhilipp Zabel <philipp.zabel@gmail.com>2005-12-27 10:47:56 +0000
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2005-12-27 10:47:56 +0000
commit348f9cb83aa7cca8c2359da7f214bd97f05f9b2e (patch)
tree09f10e398bc7671478662c58bd34e9daaf26785d /classes/autotools.bbclass
parent89679b98e28d3400e6ceddc1c6bac1da671071fb (diff)
autotools.bbclass: use cp -f to install files to staging
Diffstat (limited to 'classes/autotools.bbclass')
-rw-r--r--classes/autotools.bbclass6
1 files changed, 3 insertions, 3 deletions
diff --git a/classes/autotools.bbclass b/classes/autotools.bbclass
index 49d99614ed..399cca5699 100644
--- a/classes/autotools.bbclass
+++ b/classes/autotools.bbclass
@@ -159,14 +159,14 @@ autotools_stage_all() {
mkdir -p ${STAGE_TEMP}
oe_runmake DESTDIR="${STAGE_TEMP}" install
if [ -d ${STAGE_TEMP}/${includedir} ]; then
- cp -pPR ${STAGE_TEMP}/${includedir}/* ${STAGING_INCDIR}
+ cp -fpPR ${STAGE_TEMP}/${includedir}/* ${STAGING_INCDIR}
fi
if [ -d ${STAGE_TEMP}/${libdir} ]
then
for i in ${STAGE_TEMP}/${libdir}/*.la
do
if [ ! -f "$i" ]; then
- cp -pPR ${STAGE_TEMP}/${libdir}/* ${STAGING_LIBDIR}
+ cp -fpPR ${STAGE_TEMP}/${libdir}/* ${STAGING_LIBDIR}
break
fi
oe_libinstall -a -so $(basename $i .la) ${STAGING_LIBDIR}
@@ -174,7 +174,7 @@ autotools_stage_all() {
fi
if [ -d ${STAGE_TEMP}/${datadir}/aclocal ]; then
install -d ${STAGING_DATADIR}/aclocal
- cp -pPR ${STAGE_TEMP}/${datadir}/aclocal/* ${STAGING_DATADIR}/aclocal
+ cp -fpPR ${STAGE_TEMP}/${datadir}/aclocal/* ${STAGING_DATADIR}/aclocal
fi
rm -rf ${STAGE_TEMP}
}