From 86279f785245bc6d6f0a5cca4976942c98087941 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Tue, 28 Jul 2015 01:25:10 +0200 Subject: enable neon for ARM and threads --- package/fftw/Makefile | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'package') diff --git a/package/fftw/Makefile b/package/fftw/Makefile index cf85aa63a..6fee7a55c 100644 --- a/package/fftw/Makefile +++ b/package/fftw/Makefile @@ -17,16 +17,22 @@ DISTFILES:= $(PKG_NAME)-$(PKG_VERSION).tar.gz include $(ADK_TOPDIR)/mk/package.mk +$(eval $(call PKG_template,FFTW,fftw,$(PKG_VERSION)-$(PKG_RELEASE),$(PKG_DEPENDS),$(PKG_DESCR),$(PKG_SECTION),$(PKG_OPTS))) + CONFIG_STYLE:= manual BUILD_STYLE:= manual INSTALL_STYLE:= manual -$(eval $(call PKG_template,FFTW,fftw,$(PKG_VERSION)-$(PKG_RELEASE),$(PKG_DEPENDS),$(PKG_DESCR),$(PKG_SECTION),$(PKG_OPTS))) +CONFIGURE_ARGS:= --enable-threads + +ifeq ($(ADK_TARGET_ARCH_ARM_WITH_NEON),y) +CONFIGURE_ARGS+= --enable-neon --with-slow-timer +endif do-configure: mkdir -p $(WRKBUILD)/single mkdir -p $(WRKBUILD)/double - cd $(WRKBUILD)/single && $(WRKSRC)/configure $(CONFIGURE_TRIPLE) --prefix=/usr --enable-shared --enable-float + cd $(WRKBUILD)/single && $(WRKSRC)/configure $(CONFIGURE_TRIPLE) --prefix=/usr --enable-shared --enable-float $(CONFIGURE_ARGS) cd $(WRKBUILD)/double && $(WRKSRC)/configure $(CONFIGURE_TRIPLE) --prefix=/usr --enable-shared do-build: -- cgit v1.2.3