rsync: avoid using non reevaluated $(TARGET_DIR) in RSYNC_INSTALL_TARGET_OPT

Signed-off-by: Lionel Landwerlin <llandwerlin@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
This commit is contained in:
Lionel Landwerlin 2010-12-09 10:55:09 +01:00 committed by Peter Korsgaard
parent e9d7b877c2
commit 8c874a334e
2 changed files with 11 additions and 10 deletions

View File

@ -5,7 +5,8 @@
Updated/fixed packages: busybox, dbus, cloop, cups, Updated/fixed packages: busybox, dbus, cloop, cups,
gdk-pixbuf, hostapd, i2c-tools, libconfig, m4, openssh, gdk-pixbuf, hostapd, i2c-tools, libconfig, m4, openssh,
openssl, qt, sdl_gfx, sdl_sound, udev, usbutils, xz, zlib openssl, qt, rsync, sdl_gfx, sdl_sound, udev, usbutils, xz,
zlib
New packages: dhrystone, lsuio, rsh-redone, whetstone New packages: dhrystone, lsuio, rsh-redone, whetstone

View File

@ -4,19 +4,19 @@
# #
############################################################# #############################################################
RSYNC_VERSION:=3.0.7 RSYNC_VERSION := 3.0.7
RSYNC_SOURCE:=rsync-$(RSYNC_VERSION).tar.gz RSYNC_SOURCE := rsync-$(RSYNC_VERSION).tar.gz
RSYNC_SITE:=http://rsync.samba.org/ftp/rsync/src RSYNC_SITE := http://rsync.samba.org/ftp/rsync/src
RSYNC_INSTALL_STAGING:=NO RSYNC_INSTALL_STAGING = NO
RSYNC_INSTALL_TARGET:=YES RSYNC_INSTALL_TARGET = YES
RSYNC_CONF_OPT=$(if $(BR2_ENABLE_DEBUG),--enable-debug,--disable-debug) RSYNC_CONF_OPT = $(if $(BR2_ENABLE_DEBUG),--enable-debug,--disable-debug)
ifeq ($(BR2_ENABLE_DEBUG),y) ifeq ($(BR2_ENABLE_DEBUG),y)
RSYNC_INSTALL_TARGET_OPT:=DESTDIR=$(TARGET_DIR) INSTALLCMD='./install-sh -c' \ RSYNC_INSTALL_TARGET_OPT = DESTDIR=$(TARGET_DIR) INSTALLCMD='./install-sh -c' \
install install
else else
RSYNC_INSTALL_TARGET_OPT:=DESTDIR=$(TARGET_DIR) INSTALLCMD='./install-sh -c' \ RSYNC_INSTALL_TARGET_OPT = DESTDIR=$(TARGET_DIR) INSTALLCMD='./install-sh -c' \
STRIPPROG="$(TARGET_STRIP)" install-strip STRIPPROG="$(TARGET_STRIP)" install-strip
endif endif
RSYNC_CONF_OPT:=--with-included-popt RSYNC_CONF_OPT = --with-included-popt
$(eval $(call AUTOTARGETS,package,rsync)) $(eval $(call AUTOTARGETS,package,rsync))