Files
buildroot/package/cpuinfo/Config.in
Thomas Perale 38107ec40c package/cpuinfo: add thread requirement comment
When the package was introduced in [1], it lacked a kconfig comment
indicating that it requires a toolchain with thread support.

[1] ea1cc1af55 package/cpuinfo: new package

Signed-off-by: Thomas Perale <thomas.perale@mind.be>
Signed-off-by: Romain Naour <romain.naour@smile.fr>
2025-08-09 23:54:57 +02:00

21 lines
535 B
Plaintext

config BR2_PACKAGE_CPUINFO_ARCH_SUPPORTS
bool
default y if BR2_aarch64
default y if BR2_arm
default y if BR2_i386
default y if BR2_x86_64
config BR2_PACKAGE_CPUINFO
bool "cpuinfo"
depends on BR2_PACKAGE_CPUINFO_ARCH_SUPPORTS
depends on BR2_TOOLCHAIN_HAS_THREADS
help
CPU INFOrmation library, cpuinfo is a library to detect
essential for performance optimization information about
host CPU.
https://github.com/pytorch/cpuinfo
comment "cpuinfo needs a toolchain w/ threads"
depends on !BR2_TOOLCHAIN_HAS_THREADS