diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2015-07-28 01:25:10 +0200 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2015-07-28 01:25:29 +0200 |
commit | 86279f785245bc6d6f0a5cca4976942c98087941 (patch) | |
tree | b23feb9877ef018b18c1c2a95d0e37493ffa2c65 /package | |
parent | dd25ceab6c0166f27a0221ba296fd635839b3dc9 (diff) |
enable neon for ARM and threads
Diffstat (limited to 'package')
-rw-r--r-- | package/fftw/Makefile | 10 |
1 files changed, 8 insertions, 2 deletions
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: |