|
@@ -1,9 +1,13 @@
|
|
|
-config BR2_PACKAGE_PYTHON_NUMPY
|
|
|
- bool "python-numpy"
|
|
|
+config BR2_PACKAGE_PYTHON_NUMPY_ARCH_SUPPORTS
|
|
|
+ bool
|
|
|
# Numpy has some CPU specific code
|
|
|
- depends on BR2_aarch64 || BR2_arm || BR2_armeb || BR2_i386 \
|
|
|
+ default y if BR2_aarch64 || BR2_arm || BR2_armeb || BR2_i386 \
|
|
|
|| BR2_mips || BR2_mipsel || BR2_powerpc || BR2_powerpc64 \
|
|
|
|| BR2_sh || BR2_x86_64
|
|
|
+
|
|
|
+config BR2_PACKAGE_PYTHON_NUMPY
|
|
|
+ bool "python-numpy"
|
|
|
+ depends on BR2_PACKAGE_PYTHON_NUMPY_ARCH_SUPPORTS
|
|
|
help
|
|
|
NumPy is the fundamental package for scientific computing
|
|
|
with Python.
|