aboutsummaryrefslogtreecommitdiff
path: root/package/rsync
diff options
context:
space:
mode:
authorGravatar Nigel Kukard <nkukard@lbsd.net>2009-01-03 08:04:21 +0000
committerGravatar Nigel Kukard <nkukard@lbsd.net>2009-01-03 08:04:21 +0000
commit910dc8cb07abd90bc20e762fa580a8608c414d4a (patch)
treea87dd7e14bedb3c30e890b0c9192d02215a2175d /package/rsync
parent4eb79e2732b5cbdf60f63625e0132c4832e46db3 (diff)
downloadbuildroot-910dc8cb07abd90bc20e762fa580a8608c414d4a.tar.gz
buildroot-910dc8cb07abd90bc20e762fa580a8608c414d4a.tar.bz2
rsync doesn't support install-exec, override RSYNC_INSTALL_TARGET_OPT to install non-stripped
Diffstat (limited to 'package/rsync')
-rw-r--r--package/rsync/rsync.mk5
1 files changed, 4 insertions, 1 deletions
diff --git a/package/rsync/rsync.mk b/package/rsync/rsync.mk
index d171f94b4a..3754e60cd4 100644
--- a/package/rsync/rsync.mk
+++ b/package/rsync/rsync.mk
@@ -10,7 +10,10 @@ RSYNC_SITE:=http://rsync.samba.org/ftp/rsync/src
RSYNC_AUTORECONF:=no
RSYNC_INSTALL_STAGING:=NO
RSYNC_INSTALL_TARGET:=YES
-ifeq ($(BR2_ENABLE_DEBUG),)
+ifeq ($(BR2_ENABLE_DEBUG),y)
+RSYNC_INSTALL_TARGET_OPT:=DESTDIR=$(TARGET_DIR) INSTALLCMD='./install-sh -c' \
+ install
+else
RSYNC_INSTALL_TARGET_OPT:=DESTDIR=$(TARGET_DIR) INSTALLCMD='./install-sh -c' \
STRIPPROG="$(TARGET_STRIP)" install-strip
endif