Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/1] opencv3: Enable NEON and VFPV3 optimizations
@ 2018-06-07  8:38 Mathieu Maret
  2018-06-07 13:57 ` Thomas Petazzoni
  0 siblings, 1 reply; 2+ messages in thread
From: Mathieu Maret @ 2018-06-07  8:38 UTC (permalink / raw)
  To: buildroot

Signed-off-by: Mathieu Maret <mathieu.maret@gmail.com>
---
 package/opencv3/opencv3.mk | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/package/opencv3/opencv3.mk b/package/opencv3/opencv3.mk
index 15e4ead..53b771e 100644
--- a/package/opencv3/opencv3.mk
+++ b/package/opencv3/opencv3.mk
@@ -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 += \
-- 
2.7.4

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

* [Buildroot] [PATCH 1/1] opencv3: Enable NEON and VFPV3 optimizations
  2018-06-07  8:38 [Buildroot] [PATCH 1/1] opencv3: Enable NEON and VFPV3 optimizations Mathieu Maret
@ 2018-06-07 13:57 ` Thomas Petazzoni
  0 siblings, 0 replies; 2+ messages in thread
From: Thomas Petazzoni @ 2018-06-07 13:57 UTC (permalink / raw)
  To: buildroot

Hello,

On Thu,  7 Jun 2018 10:38:57 +0200, Mathieu Maret wrote:
> Signed-off-by: Mathieu Maret <mathieu.maret@gmail.com>
> ---
>  package/opencv3/opencv3.mk | 4 +++-
>  1 file changed, 3 insertions(+), 1 deletion(-)

Applied to master, thanks.

Thomas
-- 
Thomas Petazzoni, CTO, Bootlin (formerly Free Electrons)
Embedded Linux and Kernel engineering
https://bootlin.com

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

end of thread, other threads:[~2018-06-07 13:57 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-06-07  8:38 [Buildroot] [PATCH 1/1] opencv3: Enable NEON and VFPV3 optimizations Mathieu Maret
2018-06-07 13:57 ` Thomas Petazzoni

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