From: Holger Freyther Date: Mon, 19 Sep 2005 11:58:33 +0000 (+0000) Subject: packages/linux-libc-headers: X-Git-Tag: Release-2010-05/1~9453^2~3486 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=06926d0f7b737204ff8f31d8551d72e223ce4a78;p=openembedded.git packages/linux-libc-headers: -Use a more compatible command-line argument. -a is compatible to -dpR and -d is the same as -P and -P exist on FreeBSD --- diff --git a/packages/linux-libc-headers/linux-libc-headers_2.6.11.1.bb b/packages/linux-libc-headers/linux-libc-headers_2.6.11.1.bb index c7d6367c7b..65e3f8b25b 100644 --- a/packages/linux-libc-headers/linux-libc-headers_2.6.11.1.bb +++ b/packages/linux-libc-headers/linux-libc-headers_2.6.11.1.bb @@ -36,11 +36,11 @@ do_configure () { if test ! -e include/asm-$ARCH; then oefatal unable to create asm symlink in kernel headers fi - cp -a "include/asm-$ARCH" "include/asm" + cp -pPR "include/asm-$ARCH" "include/asm" if test "$ARCH" = "arm"; then - cp -a include/asm/arch-ebsa285 include/asm/arch + cp -pPR include/asm/arch-ebsa285 include/asm/arch elif test "$ARCH" = "sh"; then - cp -a include/asm/cpu-${TARGET_ARCH} include/asm/cpu || die "unable to create include/asm/cpu" + cp -pPR include/asm/cpu-${TARGET_ARCH} include/asm/cpu || die "unable to create include/asm/cpu" fi } diff --git a/packages/linux-libc-headers/linux-libc-headers_2.6.7.0.bb b/packages/linux-libc-headers/linux-libc-headers_2.6.7.0.bb index f881d38a34..6a9d81916e 100644 --- a/packages/linux-libc-headers/linux-libc-headers_2.6.7.0.bb +++ b/packages/linux-libc-headers/linux-libc-headers_2.6.7.0.bb @@ -32,11 +32,11 @@ do_configure () { if test ! -e include/asm-$ARCH; then oefatal unable to create asm symlink in kernel headers fi - cp -a "include/asm-$ARCH" "include/asm" + cp -pPR "include/asm-$ARCH" "include/asm" if test "$ARCH" = "arm"; then - cp -a include/asm/arch-ebsa285 include/asm/arch + cp -pPR include/asm/arch-ebsa285 include/asm/arch elif test "$ARCH" = "sh"; then - cp -a include/asm/cpu-${TARGET_ARCH} include/asm/cpu || die "unable to create include/asm/cpu" + cp -pPR include/asm/cpu-${TARGET_ARCH} include/asm/cpu || die "unable to create include/asm/cpu" fi } diff --git a/packages/linux-libc-headers/linux-libc-headers_2.6.8.1.bb b/packages/linux-libc-headers/linux-libc-headers_2.6.8.1.bb index c127e8a9e7..9e72bc4b25 100644 --- a/packages/linux-libc-headers/linux-libc-headers_2.6.8.1.bb +++ b/packages/linux-libc-headers/linux-libc-headers_2.6.8.1.bb @@ -40,11 +40,11 @@ do_configure () { if test ! -e include/asm-$ARCH; then oefatal unable to create asm symlink in kernel headers fi - cp -a "include/asm-$ARCH" "include/asm" + cp -pPR "include/asm-$ARCH" "include/asm" if test "$ARCH" = "arm"; then - cp -a include/asm/arch-ebsa285 include/asm/arch + cp -pPR include/asm/arch-ebsa285 include/asm/arch elif test "$ARCH" = "sh"; then - cp -a include/asm/cpu-${TARGET_ARCH} include/asm/cpu || die "unable to create include/asm/cpu" + cp -pPR include/asm/cpu-${TARGET_ARCH} include/asm/cpu || die "unable to create include/asm/cpu" fi }