package/tbtools: new package
PATCH 1/1 package/tbtools: new package
This is a collection of tools for Linux Thunderbolt/USB4 development, debugging and validation.
--- package/Config.in | 1 + package/tbtools/Config.in | 9 +++++++++ package/tbtools/tbtools.mk | 12 ++++++++++++ 3 files changed, 22 insertions(+) create mode 100644 package/tbtools/Config.in create mode 100644 package/tbtools/tbtools.mk
package/Config.in +1 -0
@@ -157,6 +157,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"
package/tbtools/Config.in new file +9 -0
@@ -0,0 +1,9 @@ +config BR2_PACKAGE_TBTOOLS + bool "tbtools" + depends on BR2_PACKAGE_HOST_RUSTC_TARGET_ARCH_SUPPORTS + 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
package/tbtools/tbtools.mk new file +12 -0
@@ -0,0 +1,12 @@ +################################################################################ +# +# tbtools +# +################################################################################ + +TBTOOLS_VERSION = v0.3.2 +TBTOOLS_SITE = $(call github,intel,tbtools,$(TBTOOLS_VERSION)) +TBTOOLS_LICENSE = MIT +TBTOOLS_LICENSE_FILES = LICENSE + +$(eval $(cargo-package))
Signature · 6 lines
2.43.0 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
Hi Mika,
Quoted 30 lines · Mika Westerberg
This is a collection of tools for Linux Thunderbolt/USB4 development, debugging and validation.
Signed-off-by Mika Westerberg <mika.westerberg at linux.intel.com>--- package/Config.in | 1 + package/tbtools/Config.in | 9 +++++++++ package/tbtools/tbtools.mk | 12 ++++++++++++ 3 files changed, 22 insertions(+) create mode 100644 package/tbtools/Config.in create mode 100644 package/tbtools/tbtools.mkpackage/Config.in +1
-0@@ -157,6 +157,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"package/tbtools/Config.in new file +0
-0
package/tbtools/Config.in line 3
Quoted 3 lines
package/tbtools/Config.in new file +3
-0@@ -0,0 +1,9 @@ +config BR2_PACKAGE_TBTOOLS + bool "tbtools" + depends on BR2_PACKAGE_HOST_RUSTC_TARGET_ARCH_SUPPORTS
Tested this and theres a dependency on libudev which should be declared here. Also, currently the 32-bit build fails (for x86 at least), so I'd suggest BR2_ARCH_IS_64 for now to prevent breakage.
Quoted 27 lines
package/tbtools/Config.in new file +6
-0+ select BR2_PACKAGE_HOST_RUSTC + help + tbtools is a collection of tools for Linux Thunderbolt/USB4 + development, debugging and validation. + + https://github.com/intel/tbtoolspackage/tbtools/tbtools.mk new file +12
-0@@ -0,0 +1,12 @@ +################################################################################ +# +# tbtools +# +################################################################################ + +TBTOOLS_VERSION = v0.3.2 +TBTOOLS_SITE = $(call github,intel,tbtools,$(TBTOOLS_VERSION)) +TBTOOLS_LICENSE = MIT +TBTOOLS_LICENSE_FILES = LICENSE + +$(eval $(cargo-package))Signature · 1 line
2.43.0
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
Hi Aapo,
Quoted 32 lines · Aapo Vienamo
Hi Mika,
Quoted 29 lines · Mika Westerberg
This is a collection of tools for Linux Thunderbolt/USB4 development, debugging and validation.
Signed-off-by Mika Westerberg <mika.westerberg at linux.intel.com>--- package/Config.in | 1 + package/tbtools/Config.in | 9 +++++++++ package/tbtools/tbtools.mk | 12 ++++++++++++ 3 files changed, 22 insertions(+) create mode 100644 package/tbtools/Config.in create mode 100644 package/tbtools/tbtools.mkpackage/Config.in +1
-0@@ -157,6 +157,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"package/tbtools/Config.in new file +0
-0
Quoted 8 lines
package/tbtools/Config.in line 3
Quoted 4 lines
package/tbtools/Config.in new file +3
-0@@ -0,0 +1,9 @@ +config BR2_PACKAGE_TBTOOLS + bool "tbtools" + depends on BR2_PACKAGE_HOST_RUSTC_TARGET_ARCH_SUPPORTSTested this and theres a dependency on libudev which should be declared here. Also, currently the 32-bit build fails (for x86 at least), so I'd suggest
BR2_ARCH_IS_64for now to prevent breakage.
Thanks for testing! I for some reason did not see issue with libudev but okay :)
If I add following in v2, would it work for you?
package/tbtools/Config.in +2 -0
@@ -1,6 +1,8 @@ config BR2_PACKAGE_TBTOOLS bool "tbtools" depends on BR2_PACKAGE_HOST_RUSTC_TARGET_ARCH_SUPPORTS + depends on BR2_PACKAGE_HAS_UDEV + depends on BR2_ARCH_IS_64 select BR2_PACKAGE_HOST_RUSTC help tbtools is a collection of tools for Linux Thunderbolt/USB4
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
Aapo Vienamo
Reviewed-byQuoted 44 lines · Mika Westerberg
Hi Aapo,
Quoted 32 lines · Aapo Vienamo
Hi Mika,
Quoted 29 lines · Mika Westerberg
This is a collection of tools for Linux Thunderbolt/USB4 development, debugging and validation.
Signed-off-by Mika Westerberg <mika.westerberg at linux.intel.com>--- package/Config.in | 1 + package/tbtools/Config.in | 9 +++++++++ package/tbtools/tbtools.mk | 12 ++++++++++++ 3 files changed, 22 insertions(+) create mode 100644 package/tbtools/Config.in create mode 100644 package/tbtools/tbtools.mkpackage/Config.in +1
-0@@ -157,6 +157,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"package/tbtools/Config.in new file +0
-0Quoted 8 lines
package/tbtools/Config.in line 3
Quoted 4 lines
package/tbtools/Config.in new file +3
-0@@ -0,0 +1,9 @@ +config BR2_PACKAGE_TBTOOLS + bool "tbtools" + depends on BR2_PACKAGE_HOST_RUSTC_TARGET_ARCH_SUPPORTSTested this and theres a dependency on libudev which should be declared here. Also, currently the 32-bit build fails (for x86 at least), so I'd suggest
BR2_ARCH_IS_64for now to prevent breakage.
Quoted 2 lines
Thanks for testing! I for some reason did not see issue with libudev but okay :)
That could be if you had already enabled udev in the buildroot config. The udev crate depends on libudev-sys, which is where the build fails as it's just FFI bindings for the system libudev.
Quoted 1 line
If I add following in v2, would it work for you?
Yes, with these changes:
Quoted 13 lines
package/tbtools/Config.in +2
-0@@ -1,6 +1,8 @@ config BR2_PACKAGE_TBTOOLS bool "tbtools" depends on BR2_PACKAGE_HOST_RUSTC_TARGET_ARCH_SUPPORTS + depends on BR2_PACKAGE_HAS_UDEV + depends on BR2_ARCH_IS_64 select BR2_PACKAGE_HOST_RUSTC help tbtools is a collection of tools for Linux Thunderbolt/USB4
Quoted 4 lines
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot