initial buildroot for linux 5.15
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
config BR2_PACKAGE_USBUTILS
|
||||
bool "usbutils"
|
||||
depends on BR2_TOOLCHAIN_HAS_THREADS # libusb
|
||||
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # libusb
|
||||
depends on BR2_PACKAGE_HAS_UDEV # needs hwdb
|
||||
select BR2_PACKAGE_LIBUSB
|
||||
help
|
||||
USB enumeration utilities
|
||||
|
||||
http://linux-usb.sourceforge.net/
|
||||
|
||||
comment "usbutils needs udev /dev management and toolchain w/ threads, gcc >= 4.9"
|
||||
depends on !BR2_TOOLCHAIN_HAS_THREADS || \
|
||||
!BR2_PACKAGE_HAS_UDEV || \
|
||||
!BR2_TOOLCHAIN_GCC_AT_LEAST_4_9
|
||||
@@ -0,0 +1,5 @@
|
||||
# From https://www.kernel.org/pub/linux/utils/usb/usbutils/sha256sums.asc
|
||||
sha256 3a079cfad60560227b67192482d7813bf96326fcbb66c04254839715f276fc69 usbutils-014.tar.xz
|
||||
# Locally calculated
|
||||
sha256 91412672119c72352b76c1d48fa1a8b7cdc7f70be7929e468c8805db468e23e4 LICENSES/GPL-2.0-only.txt
|
||||
sha256 4631da83311d27f99078d0d102e31bd34a4fcbcc2dae2aa40f1454a5b48125dc LICENSES/GPL-3.0-only.txt
|
||||
@@ -0,0 +1,23 @@
|
||||
################################################################################
|
||||
#
|
||||
# usbutils
|
||||
#
|
||||
################################################################################
|
||||
|
||||
USBUTILS_VERSION = 014
|
||||
USBUTILS_SOURCE = usbutils-$(USBUTILS_VERSION).tar.xz
|
||||
USBUTILS_SITE = $(BR2_KERNEL_MIRROR)/linux/utils/usb/usbutils
|
||||
USBUTILS_DEPENDENCIES = host-pkgconf libusb udev
|
||||
USBUTILS_LICENSE = GPL-2.0+ (utils) GPL-2.0 or GPL-3.0 (lsusb.py)
|
||||
USBUTILS_LICENSE_FILES = LICENSES/GPL-2.0-only.txt LICENSES/GPL-3.0-only.txt
|
||||
|
||||
# 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
|
||||
|
||||
USBUTILS_POST_INSTALL_TARGET_HOOKS += USBUTILS_REMOVE_PYTHON
|
||||
endif
|
||||
|
||||
$(eval $(autotools-package))
|
||||
Reference in New Issue
Block a user