From: Bernd Kuhls Date: Fri, 21 Apr 2017 13:00:26 +0000 (+0200) Subject: package/libpng: cleanup NEON support options X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=765f241063939c14bc3a18777b7a79fcd44a37f8;p=buildroot.git package/libpng: cleanup NEON support options Suggested by Thomas: http://lists.busybox.net/pipermail/buildroot/2017-April/189086.html Signed-off-by: Bernd Kuhls Signed-off-by: Thomas Petazzoni --- diff --git a/package/libpng/libpng.mk b/package/libpng/libpng.mk index 2491157028..7ae1dd59f7 100644 --- a/package/libpng/libpng.mk +++ b/package/libpng/libpng.mk @@ -14,7 +14,12 @@ LIBPNG_INSTALL_STAGING = YES LIBPNG_DEPENDENCIES = host-pkgconf zlib HOST_LIBPNG_DEPENDENCIES = host-pkgconf host-zlib LIBPNG_CONFIG_SCRIPTS = libpng$(LIBPNG_SERIES)-config libpng-config -LIBPNG_CONF_OPTS = $(if $(BR2_ARM_CPU_HAS_NEON),--enable-arm-neon=yes,--enable-arm-neon=no) + +ifeq ($(BR2_ARM_CPU_HAS_NEON),y) +LIBPNG_CONF_OPTS += --enable-arm-neon +else +LIBPNG_CONF_OPTS += --disable-arm-neon +endif $(eval $(autotools-package)) $(eval $(host-autotools-package))