summaryrefslogtreecommitdiff
path: root/recipes/gnuradio/gnuradio_git.bb
blob: a769aa26f43fc68204c74864c088b244031bb5c0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
require gnuradio.inc

DEFAULT_PREFERENCE = "-1"

DEPENDS += " gsl "

#SRCREV = "0cd478fdc090123e09b7ee21c88e5657abab8ae0"

SRCREV = "bf7ad4d17514aba9fc5209bc916ce37482f77eaa"

PR = "${INC_PR}.2"
PV = "3.2.1-${PR}+gitr${SRCREV}"

EXTRA_OECONF += "--with-boost=${STAGING_DIR_TARGET}/usr CXXFLAGS=-DBOOST_SP_USE_PTHREADS --disable-usrp2 --disable-usrp2-firmware --with-fusb-tech=libusb1"

# Make it easy to test against developer repos and branches
GIT_REPO = "balister.git"
GIT_BRANCH = "omap3-build"

SRC_URI = "git://gnuradio.org/git/${GIT_REPO};branch=${GIT_BRANCH};protocol=http \
     ${SOURCEFORGE_MIRROR}/libusb/libusb-0.1.12.tar.gz \
"

S="${WORKDIR}/git"

do_compile_append() {
        sed -i -e s:${STAGING_DIR_TARGET}::g \
               -e s:/${TARGET_SYS}::g \
                  gnuradio-core/gnuradio-core.pc
}


SRC_URI[md5sum] = "caf182cbc7565dac0fd72155919672e6"
SRC_URI[sha256sum] = "37f6f7d9de74196eb5fc0bbe0aea9b5c939de7f500acba3af6fd643f3b538b44"