mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-07-30 14:46:31 +00:00
python-numpy: introduce ARCH_SUPPORTS hidden variable
Some packages selects python-numpy. This package has a some CPU specific code. To simplify and avoid duplicate dependencies this patch introduce an hidden ARCH_SUPPORTS variable. [Thomas: fix the definition of the new option to make sure its value is actually 'y' when a supported architecture is used.] Signed-off-by: Gwenhael Goavec-Merou <gwenhael.goavec-merou@trabucayre.com> Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Reviewed-by: Samuel Martin <s.martin49@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
parent
37ad0f8d70
commit
bb9014b329
@ -1,9 +1,13 @@
|
|||||||
config BR2_PACKAGE_PYTHON_NUMPY
|
config BR2_PACKAGE_PYTHON_NUMPY_ARCH_SUPPORTS
|
||||||
bool "python-numpy"
|
bool
|
||||||
# Numpy has some CPU specific code
|
# 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_mips || BR2_mipsel || BR2_powerpc || BR2_powerpc64 \
|
||||||
|| BR2_sh || BR2_x86_64
|
|| BR2_sh || BR2_x86_64
|
||||||
|
|
||||||
|
config BR2_PACKAGE_PYTHON_NUMPY
|
||||||
|
bool "python-numpy"
|
||||||
|
depends on BR2_PACKAGE_PYTHON_NUMPY_ARCH_SUPPORTS
|
||||||
help
|
help
|
||||||
NumPy is the fundamental package for scientific computing
|
NumPy is the fundamental package for scientific computing
|
||||||
with Python.
|
with Python.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user