package/tbtools: new package

This is a collection of tools for Linux Thunderbolt/USB4 development,
debugging and validation.

Signed-off-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Reviewed-by: Aapo Vienamo <aapo.vienamo@linux.intel.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
Mika Westerberg
2024-05-11 11:06:12 +03:00
committed by Thomas Petazzoni
parent 23d71be5a9
commit 8d5b3aac43
4 changed files with 35 additions and 0 deletions

View File

@@ -2300,6 +2300,9 @@ N: Michel Stempin <michel.stempin@wanadoo.fr>
F: board/sipeed/licheepi_zero/
F: configs/sipeed_licheepi_zero_defconfig
N: Mika Westerberg <mika.westerberg@linux.intel.com>
F: package/tbtools/
N: Mike Frampton <mikeframpo@gmail.com>
F: package/qcom-db410c-firmware/

View File

@@ -156,6 +156,7 @@ menu "Debugging, profiling and benchmark"
source "package/stress-ng/Config.in"
source "package/sysdig/Config.in"
source "package/sysprof/Config.in"
source "package/tbtools/Config.in"
source "package/tcf-agent/Config.in"
source "package/trace-cmd/Config.in"
source "package/trinity/Config.in"

18
package/tbtools/Config.in Normal file
View File

@@ -0,0 +1,18 @@
config BR2_PACKAGE_TBTOOLS
bool "tbtools"
depends on BR2_PACKAGE_HOST_RUSTC_TARGET_ARCH_SUPPORTS
depends on BR2_TOOLCHAIN_USES_GLIBC
depends on BR2_PACKAGE_HAS_UDEV
# Fails to build on 32-bit systems
depends on BR2_ARCH_IS_64
select BR2_PACKAGE_HOST_RUSTC
help
tbtools is a collection of tools for Linux Thunderbolt/USB4
development, debugging and validation.
https://github.com/intel/tbtools
comment "tbtools needs udev /dev management w/ glibc toolchain"
depends on BR2_PACKAGE_HOST_RUSTC_TARGET_ARCH_SUPPORTS
depends on BR2_ARCH_IS_64
depends on !BR2_PACKAGE_HAS_UDEV || !BR2_TOOLCHAIN_USES_GLIBC

View File

@@ -0,0 +1,13 @@
################################################################################
#
# tbtools
#
################################################################################
TBTOOLS_VERSION = v0.3.2
TBTOOLS_SITE = $(call github,intel,tbtools,$(TBTOOLS_VERSION))
TBTOOLS_LICENSE = MIT
TBTOOLS_LICENSE_FILES = LICENSE
TBTOOLS_DEPENDENCIES = udev
$(eval $(cargo-package))