• Skip to sidebar navigation
  • Skip to content

Bitbucket

  • More
    ProjectsRepositories
  • Help
    • Online help
    • Learn Git
    • Welcome to Bitbucket
    • Keyboard shortcuts
  • Log In
Alexander Dahl
  1. Alexander Dahl

buildroot

Public
Actions
  • Clone
  • Compare

Learn more about cloning repositories

You have read-only access

Navigation
  • Source
  • Commits
  • Branches
  • All Branches Graph
  • Forks
  1. Alexander Dahl
  2. buildroot

Source

buildroot/package/liquid-dsp/liquid-dsp.mk
Gustavo ZacariasGustavo Zacarias committed 7d435d8510d10 Nov 2015
Raw file
Source viewDiff to previous
 
1
################################################################################
2
#
3
# liquid-dsp
4
#
5
################################################################################
6
​
7
LIQUID_DSP_VERSION = df5a459fa05dba4199c1299555891104cc1fdca7
8
LIQUID_DSP_SITE = $(call github,jgaeddert,liquid-dsp,$(LIQUID_DSP_VERSION))
9
LIQUID_DSP_LICENSE = MIT
10
LIQUID_DSP_LICENSE_FILES = LICENSE
11
LIQUID_DSP_INSTALL_STAGING = YES
12
LIQUID_DSP_AUTORECONF = YES
13
​
14
LIQUID_DSP_CONF_ENV = \
15
    ax_cv_have_mmx_ext=$(if $(BR2_X86_CPU_HAS_MMX),yes,no) \
16
    ax_cv_have_sse_ext=$(if $(BR2_X86_CPU_HAS_SSE),yes,no) \
17
    ax_cv_have_sse2_ext=$(if $(BR2_X86_CPU_HAS_SSE2),yes,no) \
18
    ax_cv_have_sse3_ext=$(if $(BR2_X86_CPU_HAS_SSE3),yes,no) \
19
    ax_cv_have_ssse3_ext=$(if $(BR2_X86_CPU_HAS_SSSE3),yes,no) \
20
    ax_cv_have_sse41_ext=$(if $(BR2_X86_CPU_HAS_SSE4),yes,no) \
21
    ax_cv_have_sse42_ext=$(if $(BR2_X86_CPU_HAS_SSE42),yes,no) \
22
    ax_cv_have_avx_ext=$(if $(BR2_X86_CPU_HAS_AVX),yes,no)
23
​
24
LIQUID_DSP_CFLAGS = $(TARGET_CFLAGS)
25
LIQUID_DSP_LDFLAGS = $(TARGET_LDFLAGS)
26
​
27
# Speed over accuracy trade off
28
ifeq ($(BR2_PACKAGE_LIQUID_DSP_FAST),y)
29
LIQUID_DSP_CFLAGS += -ffast-math
30
endif
31
​
32
# use FFTW instead of built-in FFT
33
ifeq ($(BR2_PACKAGE_FFTW_PRECISION_SINGLE),y)
34
LIQUID_DSP_LDFLAGS += -lfftw3f
35
endif
36
​
37
# disable altivec, it has build issues
38
ifeq ($(BR2_powerpc)$(BR2_powerpc64),y)
39
LIQUID_DSP_CONF_OPTS += --enable-simdoverride
40
endif
41
​
42
ifeq ($(BR2_PACKAGE_FFTW_PRECISION_DOUBLE),y)
43
LIQUID_DSP_LDFLAGS += -lfftw3
44
endif
45
​
46
ifeq ($(BR2_PACKAGE_FFTW_PRECISION_LONG_DOUBLE),y)
47
LIQUID_DSP_LDFLAGS += -lfftw3l
48
endif
49
​
50
LIQUID_DSP_CONF_OPTS += \
51
    CFLAGS="$(LIQUID_DSP_CFLAGS)" \
52
    LDFLAGS="$(LIQUID_DSP_LDFLAGS)"
53
​
54
$(eval $(autotools-package))
  • Git repository management for enterprise teams powered by Atlassian Bitbucket
  • Atlassian Bitbucket v6.7.2
  • Documentation
  • Request a feature
  • About
  • Contact Atlassian
Atlassian

Everything looks good. We'll let you know here if there's anything you should know about.