• 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 82f7217b33422 Nov 2016
Raw file
Source viewDiff to previous
xxxxxxxxxx
 
1
################################################################################
2
#
3
# gnuradio
4
#
5
################################################################################
6
​
7
GNURADIO_VERSION = 3.7.9.1
8
GNURADIO_SITE = http://gnuradio.org/releases/gnuradio
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
ifeq ($(BR2_PACKAGE_ORC),y)
21
GNURADIO_DEPENDENCIES += orc
22
endif
23
​
24
GNURADIO_CONF_OPTS = \
25
    -DENABLE_DEFAULT=OFF \
26
    -DENABLE_VOLK=ON \
27
    -DENABLE_GNURADIO_RUNTIME=ON
28
​
29
# For third-party blocks, the gnuradio libraries are mandatory at
30
# compile time.
31
GNURADIO_INSTALL_STAGING = YES
32
​
33
# Yes, this is silly, because -march is already known by the compiler
34
# with the internal toolchain, and passed by the external wrapper for
35
# external toolchains. Nonetheless, gnuradio does some matching on the
36
# CFLAGS to decide whether to build the NEON functions or not, and
37
# wants to see the string 'armv7' in the CFLAGS.
38
ifeq ($(BR2_ARM_CPU_ARMV7A)$(BR2_ARM_CPU_HAS_NEON),yy)
39
GNURADIO_CONF_OPTS += -DCMAKE_C_FLAGS="$(TARGET_CFLAGS) -march=armv7-a"
40
endif
41
​
42
# As soon as -mfpu=neon is supported by the compiler, gnuradio will try
43
# to use it. But having NEON support in the compiler doesn't necessarily
44
# mean we have NEON support in our CPU.
45
ifeq ($(BR2_ARM_CPU_HAS_NEON),)
46
GNURADIO_CONF_OPTS += -Dhave_mfpu_neon=0
47
endif
48
​
49
ifeq ($(BR2_PACKAGE_GNURADIO_ANALOG),y)
50
GNURADIO_CONF_OPTS += -DENABLE_GR_ANALOG=ON
51
else
52
GNURADIO_CONF_OPTS += -DENABLE_GR_ANALOG=OFF
53
endif
54
​
55
ifeq ($(BR2_PACKAGE_GNURADIO_AUDIO),y)
56
ifeq ($(BR2_PACKAGE_ALSA_LIB),y)
57
GNURADIO_DEPENDENCIES += alsa-lib
58
endif
59
ifeq ($(BR2_PACKAGE_PORTAUDIO),y)
60
GNURADIO_DEPENDENCIES += portaudio
61
endif
62
GNURADIO_CONF_OPTS += -DENABLE_GR_AUDIO=ON
63
else
64
GNURADIO_CONF_OPTS += -DENABLE_GR_AUDIO=OFF
65
endif
66
​
67
ifeq ($(BR2_PACKAGE_GNURADIO_BLOCKS),y)
68
GNURADIO_CONF_OPTS += -DENABLE_GR_BLOCKS=ON
69
else
70
GNURADIO_CONF_OPTS += -DENABLE_GR_BLOCKS=OFF
71
endif
72
​
73
ifeq ($(BR2_PACKAGE_GNURADIO_CHANNELS),y)
74
GNURADIO_CONF_OPTS += -DENABLE_GR_CHANNELS=ON
75
else
76
GNURADIO_CONF_OPTS += -DENABLE_GR_CHANNELS=OFF
77
endif
78
​
79
ifeq ($(BR2_PACKAGE_GNURADIO_CTRLPORT),y)
80
GNURADIO_CONF_OPTS += -DENABLE_GR_CTRLPORT=ON
81
else
82
GNURADIO_CONF_OPTS += -DENABLE_GR_CTRLPORT=OFF
83
endif
84
​
85
ifeq ($(BR2_PACKAGE_GNURADIO_DIGITAL),y)
86
GNURADIO_CONF_OPTS += -DENABLE_GR_DIGITAL=ON
87
else
88
GNURADIO_CONF_OPTS += -DENABLE_GR_DIGITAL=OFF
89
endif
90
​
91
ifeq ($(BR2_PACKAGE_GNURADIO_FEC),y)
92
GNURADIO_DEPENDENCIES += gsl
  • 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.