package/bayer2rgb-neon: enable for BR2_aarch64

Signed-off-by: Sébastien Szymanski <sebastien.szymanski@armadeus.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
This commit is contained in:
Sébastien Szymanski 2021-09-08 16:55:24 +02:00 committed by Yann E. MORIN
parent 088cf29f13
commit 0512910e49
2 changed files with 8 additions and 2 deletions

View File

@ -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

View File

@ -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))