All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [git commit] package/bayer2rgb-neon: enable for BR2_aarch64
@ 2021-09-10 21:00 Yann E. MORIN
  0 siblings, 0 replies; only message in thread
From: Yann E. MORIN @ 2021-09-10 21:00 UTC (permalink / raw)
  To: buildroot

[-- Attachment #1: Type: text/plain, Size: 1594 bytes --]

commit: https://git.buildroot.net/buildroot/commit/?id=0512910e4901edcb78bb1daa4eb3be9bdc4dc8a9
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master

Signed-off-by: Sébastien Szymanski <sebastien.szymanski@armadeus.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
---
 package/bayer2rgb-neon/Config.in         | 2 +-
 package/bayer2rgb-neon/bayer2rgb-neon.mk | 8 +++++++-
 2 files changed, 8 insertions(+), 2 deletions(-)

diff --git a/package/bayer2rgb-neon/Config.in b/package/bayer2rgb-neon/Config.in
index 8fd18b4fa9..7822171020 100644
--- a/package/bayer2rgb-neon/Config.in
+++ b/package/bayer2rgb-neon/Config.in
@@ -1,6 +1,6 @@
 config BR2_PACKAGE_BAYER2RGB_NEON
 	bool "bayer2rgb-neon"
-	depends on BR2_arm && BR2_ARM_CPU_HAS_NEON
+	depends on (BR2_arm && BR2_ARM_CPU_HAS_NEON) || BR2_aarch64
 	depends on !BR2_STATIC_LIBS
 	depends on BR2_INSTALL_LIBSTDCPP
 	depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # C++11
diff --git a/package/bayer2rgb-neon/bayer2rgb-neon.mk b/package/bayer2rgb-neon/bayer2rgb-neon.mk
index a483890c81..212fe76766 100644
--- a/package/bayer2rgb-neon/bayer2rgb-neon.mk
+++ b/package/bayer2rgb-neon/bayer2rgb-neon.mk
@@ -13,6 +13,12 @@ BAYER2RGB_NEON_INSTALL_STAGING = YES
 BAYER2RGB_NEON_DEPENDENCIES = host-pkgconf host-gengetopt
 BAYER2RGB_NEON_AUTORECONF = YES
 
-BAYER2RGB_NEON_CONF_ENV = CFLAGS="$(TARGET_CFLAGS) -mfpu=neon"
+BAYER2RGB_NEON_CFLAGS = $(TARGET_CFLAGS)
+
+ifeq ($(BR2_arm),y)
+BAYER2RGB_NEON_CFLAGS += -mfpu=neon
+endif
+
+BAYER2RGB_NEON_CONF_ENV = CFLAGS="$(BAYER2RGB_NEON_CFLAGS)"
 
 $(eval $(autotools-package))

[-- Attachment #2: Type: text/plain, Size: 156 bytes --]

_______________________________________________
buildroot mailing list
buildroot@lists.buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2021-09-10 21:34 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-09-10 21:00 [Buildroot] [git commit] package/bayer2rgb-neon: enable for BR2_aarch64 Yann E. MORIN

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.