mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-07-28 21:56:31 +00:00
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>
This commit is contained in:
parent
fd0b79dba9
commit
78b9f9c393
@ -16,8 +16,8 @@ ifeq ($(BR2_PACKAGE_BUSYBOX),y)
|
|||||||
USBUTILS_DEPENDENCIES += busybox
|
USBUTILS_DEPENDENCIES += busybox
|
||||||
endif
|
endif
|
||||||
|
|
||||||
# Nice lsusb.py script only if there's python
|
# Nice lsusb.py script only if there's python 3.x
|
||||||
ifeq ($(BR2_PACKAGE_PYTHON),)
|
ifeq ($(BR2_PACKAGE_PYTHON3),)
|
||||||
define USBUTILS_REMOVE_PYTHON
|
define USBUTILS_REMOVE_PYTHON
|
||||||
rm -f $(TARGET_DIR)/usr/bin/lsusb.py
|
rm -f $(TARGET_DIR)/usr/bin/lsusb.py
|
||||||
endef
|
endef
|
||||||
|
Loading…
x
Reference in New Issue
Block a user