first commit: base 2024.08

Signed-off-by: maoxiaochuan <maoxiaochuan@loongson.cn>
This commit is contained in:
tao89959
2025-02-12 17:59:29 +08:00
committed by maoxiaochuan
commit f3217a7708
14356 changed files with 572894 additions and 0 deletions
+15
View File
@@ -0,0 +1,15 @@
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
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_PACKAGE_HAS_UDEV || !BR2_TOOLCHAIN_USES_GLIBC
+3
View File
@@ -0,0 +1,3 @@
# Locally calculated
sha256 d35c50063b254a561d567926fe8e5280206f6144c12f3f82e832f87392b67510 tbtools-0.4.1-cargo2.tar.gz
sha256 9b16a3add311d607af8d9b348a842a37840d0f47dfcc6cf2a7756ee02c24ed69 LICENSE
+25
View File
@@ -0,0 +1,25 @@
################################################################################
#
# tbtools
#
################################################################################
TBTOOLS_VERSION = 0.4.1
TBTOOLS_SITE = $(call github,intel,tbtools,v$(TBTOOLS_VERSION))
TBTOOLS_LICENSE = MIT
TBTOOLS_LICENSE_FILES = LICENSE
TBTOOLS_DEPENDENCIES = udev
define TBTOOLS_INSTALL_SCRIPTS
$(MAKE) -C $(@D) PREFIX=$(TARGET_DIR)/usr install-scripts
endef
TBTOOLS_POST_INSTALL_TARGET_HOOKS += TBTOOLS_INSTALL_SCRIPTS
ifeq ($(BR2_PACKAGE_BASH_COMPLETION),y)
define TBTOOLS_INSTALL_COMPLETION
$(MAKE) -C $(@D) PREFIX=$(TARGET_DIR)/usr install-completion
endef
TBTOOLS_POST_INSTALL_TARGET_HOOKS += TBTOOLS_INSTALL_COMPLETION
endif
$(eval $(cargo-package))