summaryrefslogtreecommitdiff
path: root/packages/openmoko2
diff options
context:
space:
mode:
authorHolger Freyther <zecke@selfish.org>2007-12-23 00:23:57 +0000
committerHolger Freyther <zecke@selfish.org>2007-12-23 00:23:57 +0000
commit6e715d8f2561a8fac492cc10528102608c64eb74 (patch)
treee862647ff900034f08bfc6d1f7920d858bc63451 /packages/openmoko2
parenta31bd35ef6affae2aa03832b261a19803ff4ed77 (diff)
Remove some GNUism and replace cp -a with cp -pPR (once again)
I didn't touch the to be installed files, as we have GNU coreutils or at least a compatible busybox version on our targets so far.
Diffstat (limited to 'packages/openmoko2')
-rw-r--r--packages/openmoko2/openmoko-sample2_svn.bb4
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/openmoko2/openmoko-sample2_svn.bb b/packages/openmoko2/openmoko-sample2_svn.bb
index c05b6d3618..4c2c5aad46 100644
--- a/packages/openmoko2/openmoko-sample2_svn.bb
+++ b/packages/openmoko2/openmoko-sample2_svn.bb
@@ -13,12 +13,12 @@ PACKAGE_ARCH_${PN}-src = "all"
do_configure_prepend() {
install -d ${WORKDIR}/source
- cp -a ${S} ${WORKDIR}/source/
+ cp -pPR ${S} ${WORKDIR}/source/
find ${WORKDIR}/source -name ".svn"|xargs rm -rf
}
do_install_append() {
install -d ${D}/usr/local/openmoko/source/
- cp -a ${WORKDIR}/source/* ${D}/usr/local/openmoko/source/
+ cp -pPR ${WORKDIR}/source/* ${D}/usr/local/openmoko/source/
}