rsync doesn't support install-exec, override RSYNC_INSTALL_TARGET_OPT to install...
authorNigel Kukard <nkukard@lbsd.net>
Sat, 3 Jan 2009 08:04:21 +0000 (08:04 -0000)
committerNigel Kukard <nkukard@lbsd.net>
Sat, 3 Jan 2009 08:04:21 +0000 (08:04 -0000)
package/rsync/rsync.mk

index d171f94b4a723ace2e60889deda041acee8a898c..3754e60cd482bbb4d35dab4f441b26dcefa58fb8 100644 (file)
@@ -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