Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/2] package/numactl: add BR2_PACKAGE_NUMACTL_ARCH_SUPPORTS
@ 2020-06-04 13:54 Baruch Siach
  2020-06-04 13:54 ` [Buildroot] [PATCH 2/2] package/rt-tests: bump to version 1.8 Baruch Siach
  2020-06-04 20:58 ` [Buildroot] [PATCH 1/2] package/numactl: add BR2_PACKAGE_NUMACTL_ARCH_SUPPORTS Thomas Petazzoni
  0 siblings, 2 replies; 6+ messages in thread
From: Baruch Siach @ 2020-06-04 13:54 UTC (permalink / raw)
  To: buildroot

For use in other packages that select numactl.

Cc: Pierre-Jean Texier <pjtexier@koncepto.io>
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
---
 package/numactl/Config.in | 14 ++++++++++----
 1 file changed, 10 insertions(+), 4 deletions(-)

diff --git a/package/numactl/Config.in b/package/numactl/Config.in
index 8ea07bb856e8..cd47f2f9a967 100644
--- a/package/numactl/Config.in
+++ b/package/numactl/Config.in
@@ -1,9 +1,15 @@
-config BR2_PACKAGE_NUMACTL
-	bool "numactl"
+config BR2_PACKAGE_NUMACTL_ARCH_SUPPORTS
+	bool
 	# numactl uses some system calls that are not available on all
 	# architectures.
-	depends on BR2_aarch64 || BR2_i386 || BR2_mips || BR2_mipsel || \
-		BR2_mips64 || BR2_mips64el || BR2_powerpc || BR2_x86_64
+	default y if BR2_aarch64
+	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
 	  numactl allows you to run your application on specific cpus
 	  and memory nodes. It does this by supplying a NUMA memory
-- 
2.26.2

^ permalink raw reply related	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2020-06-05  6:22 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-06-04 13:54 [Buildroot] [PATCH 1/2] package/numactl: add BR2_PACKAGE_NUMACTL_ARCH_SUPPORTS Baruch Siach
2020-06-04 13:54 ` [Buildroot] [PATCH 2/2] package/rt-tests: bump to version 1.8 Baruch Siach
2020-06-04 20:59   ` Thomas Petazzoni
2020-06-05  2:58     ` Baruch Siach
2020-06-05  6:22       ` Thomas Petazzoni
2020-06-04 20:58 ` [Buildroot] [PATCH 1/2] package/numactl: add BR2_PACKAGE_NUMACTL_ARCH_SUPPORTS Thomas Petazzoni

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox