diff options
author | Baruch Siach <baruch@tkos.co.il> | 2018-05-29 19:12:14 +0300 |
---|---|---|
committer | Peter Korsgaard <peter@korsgaard.com> | 2018-05-29 21:17:25 +0200 |
commit | 78b9f9c393e58590d8e416fb0ac34b947cab0bad (patch) | |
tree | 6e85048fba0eb816739e12e7d717bc8a42149729 /package/usbutils/usbutils.mk | |
parent | fd0b79dba90c1562cd3a48df1aa33a72f92db78c (diff) |
usbutils: lsusb.py is for python 3.x only
usbutils version 010 converted the lsusb.py script to Python 3. Keep the
lsusb.py script on target only when Python 3.x is enabled.
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Diffstat (limited to 'package/usbutils/usbutils.mk')
-rw-r--r-- | package/usbutils/usbutils.mk | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/package/usbutils/usbutils.mk b/package/usbutils/usbutils.mk index 98b7894ae7..43322e4a65 100644 --- a/package/usbutils/usbutils.mk +++ b/package/usbutils/usbutils.mk @@ -16,8 +16,8 @@ ifeq ($(BR2_PACKAGE_BUSYBOX),y) USBUTILS_DEPENDENCIES += busybox endif -# Nice lsusb.py script only if there's python -ifeq ($(BR2_PACKAGE_PYTHON),) +# Nice lsusb.py script only if there's python 3.x +ifeq ($(BR2_PACKAGE_PYTHON3),) define USBUTILS_REMOVE_PYTHON rm -f $(TARGET_DIR)/usr/bin/lsusb.py endef |