Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH] python-numpy: reformat Config.in variable
@ 2017-11-09  9:53 Evgeniy Didin
  2017-11-09  9:53 ` [Buildroot] [PATCHv2]python-numpy: disable for ARCompact Evgeniy Didin
  0 siblings, 1 reply; 2+ messages in thread
From: Evgeniy Didin @ 2017-11-09  9:53 UTC (permalink / raw)
  To: buildroot

Current BR2_PACKAGE_PYTHON_NUMPY_ARCH_SUPPORTS variable layout going to be
inconvenient and ugly for adding new architectures or restricting specific
architectures. Lets reformat layout of this variable.

Signed-off-by: Evgeniy Didin <didin@synopsys.com>
CC: Alexey Brodkin <abrodkin@synopsys.com>
Cc: arc-buildroot at synopsys.com
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>

---
 package/python-numpy/Config.in | 14 +++++++++++---
 1 file changed, 11 insertions(+), 3 deletions(-)

diff --git a/package/python-numpy/Config.in b/package/python-numpy/Config.in
index 859542f584..5abe04bde9 100644
--- a/package/python-numpy/Config.in
+++ b/package/python-numpy/Config.in
@@ -1,9 +1,17 @@
 config BR2_PACKAGE_PYTHON_NUMPY_ARCH_SUPPORTS
 	bool
 	# Numpy has some CPU specific code
-	default y if BR2_arc || BR2_aarch64 || BR2_arm || BR2_armeb || BR2_i386 \
-		|| BR2_mips || BR2_mipsel || BR2_powerpc || BR2_powerpc64 \
-		|| BR2_sh || BR2_x86_64
+	default y if BR2_arc 
+	default y if BR2_aarch64
+	default y if BR2_arm 
+	default y if BR2_armeb
+	default y if BR2_i386 
+	default y if BR2_mips
+	default y if BR2_mipsel
+	default y if BR2_powerpc
+	default y if BR2_powerpc64 
+	default y if BR2_sh 
+	default y if BR2_x86_64
 
 config BR2_PACKAGE_PYTHON_NUMPY
 	bool "python-numpy"
-- 
2.11.0

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

end of thread, other threads:[~2017-11-09  9:53 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-11-09  9:53 [Buildroot] [PATCH] python-numpy: reformat Config.in variable Evgeniy Didin
2017-11-09  9:53 ` [Buildroot] [PATCHv2]python-numpy: disable for ARCompact Evgeniy Didin

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