aboutsummaryrefslogtreecommitdiffstats
path: root/classes/autotools.bbclass
diff options
context:
space:
mode:
authorHolger Freyther <zecke@selfish.org>2005-09-19 12:29:59 +0000
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2005-09-19 12:29:59 +0000
commit57c3acf775eeb9f8a2613c3752688d7816f2b0a4 (patch)
treee146788bde63677bbc22b17d8c476eced456adf8 /classes/autotools.bbclass
parent06926d0f7b737204ff8f31d8551d72e223ce4a78 (diff)
downloadopenembedded-57c3acf775eeb9f8a2613c3752688d7816f2b0a4.tar.gz
openembedded-57c3acf775eeb9f8a2613c3752688d7816f2b0a4.tar.bz2
openembedded-57c3acf775eeb9f8a2613c3752688d7816f2b0a4.zip
GNU cp has a nice -a switch, sadly the BSD tools lack it
update our descriptions to work with any version of cp. Patches that include cp -a are not changed. They seem to work and I'm too scared busybox cp is more like GNU cp than BSD cp. (e.g do not know about P)
Diffstat (limited to 'classes/autotools.bbclass')
-rw-r--r--classes/autotools.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/classes/autotools.bbclass b/classes/autotools.bbclass
index 8a387da5ca..ec1d4af1a4 100644
--- a/classes/autotools.bbclass
+++ b/classes/autotools.bbclass
@@ -145,7 +145,7 @@ autotools_stage_includes() {
rm -rf ${STAGE_TEMP}
mkdir -p ${STAGE_TEMP}
make DESTDIR="${STAGE_TEMP}" install
- cp -a ${STAGE_TEMP}/${includedir}/* ${STAGING_INCDIR}
+ cp -pPR ${STAGE_TEMP}/${includedir}/* ${STAGING_INCDIR}
rm -rf ${STAGE_TEMP}
fi
}