python-numpy: reformat BR2_PACKAGE_PYTHON_NUMPY_ARCH_SUPPORTS
authorEvgeniy Didin <Evgeniy.Didin@synopsys.com>
Thu, 9 Nov 2017 15:15:50 +0000 (18:15 +0300)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sat, 11 Nov 2017 22:26:42 +0000 (23:26 +0100)
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@synopsys.com
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/python-numpy/Config.in

index 859542f58425a0d541b2d34b23d592e6c998141e..5abe04bde9493c61c6dd2b760bf1d196dae5ff49 100644 (file)
@@ -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"