opencv3: conditionally enable NEON and VFPv3 optimizations
Signed-off-by: Mathieu Maret <mathieu.maret@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
parent
ded50f69c6
commit
a17402e42d
@ -99,7 +99,9 @@ OPENCV3_CONF_OPTS += \
|
||||
# * PowerPC support is turned off since its only effect is altering CFLAGS,
|
||||
# adding '-mcpu=G3 -mtune=G5' to them, which is already handled by Buildroot.
|
||||
OPENCV3_CONF_OPTS += \
|
||||
-DENABLE_POWERPC=OFF
|
||||
-DENABLE_POWERPC=OFF \
|
||||
-DENABLE_NEON=$(if $(BR2_ARM_CPU_HAS_NEON),ON,OFF) \
|
||||
-DENABLE_VFPV3=$(if $(BR2_ARM_CPU_HAS_VFPV3),ON,OFF)
|
||||
|
||||
# Cuda stuff
|
||||
OPENCV3_CONF_OPTS += \
|
||||
|
Loading…
Reference in New Issue
Block a user