Commit 8c874a33 authored by Lionel Landwerlin's avatar Lionel Landwerlin Committed by Peter Korsgaard
Browse files

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

parent e9d7b877
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -5,7 +5,8 @@

	Updated/fixed packages: busybox, dbus, cloop, cups,
	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

+9 −9
Original line number Diff line number Diff line
@@ -7,16 +7,16 @@
RSYNC_VERSION := 3.0.7
RSYNC_SOURCE := rsync-$(RSYNC_VERSION).tar.gz
RSYNC_SITE := http://rsync.samba.org/ftp/rsync/src
RSYNC_INSTALL_STAGING:=NO
RSYNC_INSTALL_TARGET:=YES
RSYNC_INSTALL_STAGING = NO
RSYNC_INSTALL_TARGET = YES
RSYNC_CONF_OPT = $(if $(BR2_ENABLE_DEBUG),--enable-debug,--disable-debug)
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
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
endif
RSYNC_CONF_OPT:=--with-included-popt
RSYNC_CONF_OPT = --with-included-popt

$(eval $(call AUTOTARGETS,package,rsync))