[Buildroot] [git commit] package/libpng: enable neon support for aarch64

Thomas Petazzoni thomas.petazzoni at bootlin.com
Tue Jun 2 20:01:48 UTC 2020


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

NEON support is enabled by default on aarch64, so we
can enable it unconditionaly.

Signed-off-by: Romain Naour <romain.naour at gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni at bootlin.com>
---
 package/libpng/libpng.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/package/libpng/libpng.mk b/package/libpng/libpng.mk
index 5c30a4f9ad..1a83c7e712 100644
--- a/package/libpng/libpng.mk
+++ b/package/libpng/libpng.mk
@@ -15,7 +15,7 @@ LIBPNG_DEPENDENCIES = host-pkgconf zlib
 HOST_LIBPNG_DEPENDENCIES = host-pkgconf host-zlib
 LIBPNG_CONFIG_SCRIPTS = libpng$(LIBPNG_SERIES)-config libpng-config
 
-ifeq ($(BR2_ARM_CPU_HAS_NEON),y)
+ifeq ($(BR2_ARM_CPU_HAS_NEON)$(BR2_aarch64),y)
 LIBPNG_CONF_OPTS += --enable-arm-neon
 else
 LIBPNG_CONF_OPTS += --disable-arm-neon


More information about the buildroot mailing list