• 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/gnuradio/gnuradio.mk
Gwenhael Goavec-MerouGwenhael Goavec-Merou committed accaa7f487910 Apr 2015
Raw file
Source viewDiff to previous
xxxxxxxxxx
 
1
################################################################################
2
#
3
# gnuradio
4
#
5
################################################################################
6
​
7
GNURADIO_VERSION = 3.7.5
8
GNURADIO_SITE = http://gnuradio.org/redmine/attachments/download/792
9
GNURADIO_LICENSE = GPLv3+
10
GNURADIO_LICENSE_FILES = COPYING
11
​
12
GNURADIO_SUPPORTS_IN_SOURCE_BUILD = NO
13
​
14
# host-python-cheetah is needed for volk to compile
15
GNURADIO_DEPENDENCIES = \
16
    host-python-cheetah \
17
    host-swig \
18
    boost
19
​
20
GNURADIO_CONF_OPTS = \
21
    -DENABLE_DEFAULT=OFF \
22
    -DENABLE_VOLK=ON \
23
    -DENABLE_GNURADIO_RUNTIME=ON
24
​
25
# For third-party blocks, the gnuradio libraries are mandatory at
26
# compile time.
27
GNURADIO_INSTALL_STAGING = YES
28
​
29
# Yes, this is silly, because -march is already known by the compiler
30
# with the internal toolchain, and passed by the external wrapper for
31
# external toolchains. Nonetheless, gnuradio does some matching on the
32
# CFLAGS to decide whether to build the NEON functions or not, and
33
# wants to see the string 'armv7' in the CFLAGS.
34
ifeq ($(BR2_ARM_CPU_ARMV7A)$(BR2_ARM_CPU_HAS_NEON),yy)
35
GNURADIO_CONF_OPTS += -DCMAKE_C_FLAGS="-march=armv7-a"
36
endif
37
​
38
# As soon as -mfpu=neon is supported by the compiler, gnuradio will try
39
# to use it. But having NEON support in the compiler doesn't necessarily
40
# mean we have NEON support in our CPU.
41
ifeq ($(BR2_ARM_CPU_HAS_NEON),)
42
GNURADIO_CONF_OPTS += -Dhave_mfpu_neon=0
43
endif
44
​
45
ifeq ($(BR2_PACKAGE_GNURADIO_ANALOG),y)
46
GNURADIO_CONF_OPTS += -DENABLE_GR_ANALOG=ON
47
else
48
GNURADIO_CONF_OPTS += -DENABLE_GR_ANALOG=OFF
49
endif
50
​
51
ifeq ($(BR2_PACKAGE_GNURADIO_BLOCKS),y)
52
GNURADIO_CONF_OPTS += -DENABLE_GR_BLOCKS=ON
53
else
54
GNURADIO_CONF_OPTS += -DENABLE_GR_BLOCKS=OFF
55
endif
56
​
57
ifeq ($(BR2_PACKAGE_GNURADIO_CHANNELS),y)
58
GNURADIO_CONF_OPTS += -DENABLE_GR_CHANNELS=ON
59
else
60
GNURADIO_CONF_OPTS += -DENABLE_GR_CHANNELS=OFF
61
endif
62
​
63
ifeq ($(BR2_PACKAGE_GNURADIO_DIGITAL),y)
64
GNURADIO_CONF_OPTS += -DENABLE_GR_DIGITAL=ON
65
else
66
GNURADIO_CONF_OPTS += -DENABLE_GR_DIGITAL=OFF
67
endif
68
​
69
ifeq ($(BR2_PACKAGE_GNURADIO_FEC),y)
70
GNURADIO_CONF_OPTS += -DENABLE_GR_FEC=ON
71
else
72
GNURADIO_CONF_OPTS += -DENABLE_GR_FEC=OFF
73
endif
74
​
75
ifeq ($(BR2_PACKAGE_GNURADIO_FFT),y)
76
GNURADIO_DEPENDENCIES += fftw
77
GNURADIO_CONF_OPTS += -DENABLE_GR_FFT=ON
78
else
79
GNURADIO_CONF_OPTS += -DENABLE_GR_FFT=OFF
80
endif
81
​
82
ifeq ($(BR2_PACKAGE_GNURADIO_FILTER),y)
83
GNURADIO_CONF_OPTS += -DENABLE_GR_FILTER=ON
84
else
85
GNURADIO_CONF_OPTS += -DENABLE_GR_FILTER=OFF
86
endif
87
​
88
ifeq ($(BR2_PACKAGE_GNURADIO_PYTHON),y)
89
GNURADIO_DEPENDENCIES += python
90
GNURADIO_CONF_OPTS += -DENABLE_PYTHON=ON
91
else
92
GNURADIO_CONF_OPTS += -DENABLE_PYTHON=OFF
  • 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.