![Yann E. MORIN](/assets/img/avatar_default.png)
Now that the infra takes care of removing extraneous spaces before commas, we can safely append to LICENSE variables. This removes the only case where we had to use immediate assignment to append to a variable. Mechanical change, with: $ sed -r -i -e 's/\<([^[:space:]]+_LICENSE) := \$\(\1\),/\1 += ,/' \ $(git grep -l -E '\<([^[:space:]]+_LICENSE) := \$\(\1\),') Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr> Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
30 lines
868 B
Makefile
30 lines
868 B
Makefile
################################################################################
|
|
#
|
|
# usbredir
|
|
#
|
|
################################################################################
|
|
|
|
USBREDIR_VERSION = 0.8.0
|
|
USBREDIR_SOURCE = usbredir-$(USBREDIR_VERSION).tar.bz2
|
|
USBREDIR_SITE = http://spice-space.org/download/usbredir
|
|
USBREDIR_LICENSE = LGPL-2.1+ (libraries)
|
|
USBREDIR_LICENSE_FILES = COPYING.LIB
|
|
USBREDIR_INSTALL_STAGING = YES
|
|
USBREDIR_DEPENDENCIES = host-pkgconf libusb
|
|
|
|
ifeq ($(BR2_PACKAGE_USBREDIR_SERVER),y)
|
|
|
|
USBREDIR_LICENSE += , GPL-2.0+ (program)
|
|
USBREDIR_LICENSE_FILES += COPYING
|
|
|
|
else # BR2_PACKAGE_USBREDIR_SERVER != y
|
|
|
|
define USBREDIR_POST_INSTALL_TARGET_RM_SERVER
|
|
rm -f $(TARGET_DIR)/usr/sbin/usbredirserver
|
|
endef
|
|
USBREDIR_POST_INSTALL_TARGET_HOOKS += USBREDIR_POST_INSTALL_TARGET_RM_SERVER
|
|
|
|
endif # BR2_PACKAGE_USBREDIR_SERVER
|
|
|
|
$(eval $(autotools-package))
|