package/numactl: add BR2_PACKAGE_NUMACTL_ARCH_SUPPORTS

For use in other packages that select numactl.

Cc: Pierre-Jean Texier <pjtexier@koncepto.io>
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
Baruch Siach 2020-06-04 16:54:07 +03:00 committed by Thomas Petazzoni
parent 36d78abceb
commit 7fc4c604a9

View file

@ -1,9 +1,15 @@
config BR2_PACKAGE_NUMACTL config BR2_PACKAGE_NUMACTL_ARCH_SUPPORTS
bool "numactl" bool
# numactl uses some system calls that are not available on all # numactl uses some system calls that are not available on all
# architectures. # architectures.
depends on BR2_aarch64 || BR2_i386 || BR2_mips || BR2_mipsel || \ default y if BR2_aarch64
BR2_mips64 || BR2_mips64el || BR2_powerpc || BR2_x86_64 default y if BR2_i386 || BR2_x86_64
default y if BR2_mips || BR2_mipsel || BR2_mips64 || BR2_mips64el
default y if BR2_powerpc
config BR2_PACKAGE_NUMACTL
bool "numactl"
depends on BR2_PACKAGE_NUMACTL_ARCH_SUPPORTS
help help
numactl allows you to run your application on specific cpus numactl allows you to run your application on specific cpus
and memory nodes. It does this by supplying a NUMA memory and memory nodes. It does this by supplying a NUMA memory