usbutils: bump to version 007
[Peter: move entire USBUTILS_REMOVE_PYTHON handling inside conditional] Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
This commit is contained in:
parent
36db329ede
commit
9d14782675
|
@ -4,13 +4,10 @@
|
||||||
#
|
#
|
||||||
################################################################################
|
################################################################################
|
||||||
|
|
||||||
USBUTILS_VERSION = 006
|
USBUTILS_VERSION = 007
|
||||||
USBUTILS_SITE = $(BR2_KERNEL_MIRROR)/linux/utils/usb/usbutils/
|
USBUTILS_SITE = $(BR2_KERNEL_MIRROR)/linux/utils/usb/usbutils
|
||||||
USBUTILS_SOURCE = usbutils-$(USBUTILS_VERSION).tar.gz
|
|
||||||
USBUTILS_DEPENDENCIES = host-pkgconf libusb
|
USBUTILS_DEPENDENCIES = host-pkgconf libusb
|
||||||
USBUTILS_INSTALL_STAGING = YES
|
USBUTILS_INSTALL_STAGING = YES
|
||||||
# no configure in tarball
|
|
||||||
USBUTILS_AUTORECONF = YES
|
|
||||||
USBUTILS_LICENSE = GPLv2+
|
USBUTILS_LICENSE = GPLv2+
|
||||||
USBUTILS_LICENSE_FILES = COPYING
|
USBUTILS_LICENSE_FILES = COPYING
|
||||||
|
|
||||||
|
@ -25,6 +22,15 @@ ifeq ($(BR2_PACKAGE_BUSYBOX),y)
|
||||||
USBUTILS_DEPENDENCIES += busybox
|
USBUTILS_DEPENDENCIES += busybox
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
# Nice lsusb.py script only if there's python
|
||||||
|
ifeq ($(BR2_PACKAGE_PYTHON),)
|
||||||
|
define USBUTILS_REMOVE_PYTHON
|
||||||
|
rm -f $(TARGET_DIR)/usr/bin/lsusb.py
|
||||||
|
endef
|
||||||
|
|
||||||
|
USBUTILS_POST_INSTALL_TARGET_HOOKS += USBUTILS_REMOVE_PYTHON
|
||||||
|
endif
|
||||||
|
|
||||||
define USBUTILS_TARGET_CLEANUP
|
define USBUTILS_TARGET_CLEANUP
|
||||||
rm -f $(TARGET_DIR)/usr/bin/usb-devices
|
rm -f $(TARGET_DIR)/usr/bin/usb-devices
|
||||||
rm -f $(TARGET_DIR)/usr/sbin/update-usbids.sh
|
rm -f $(TARGET_DIR)/usr/sbin/update-usbids.sh
|
||||||
|
|
Loading…
Reference in New Issue
Block a user