diff options
Diffstat (limited to 'meta-oe/recipes-connectivity/gnuradio')
4 files changed, 112 insertions, 9 deletions
diff --git a/meta-oe/recipes-connectivity/gnuradio/gnuradio.inc b/meta-oe/recipes-connectivity/gnuradio/gnuradio.inc index d114f89eac..3759e077b2 100644 --- a/meta-oe/recipes-connectivity/gnuradio/gnuradio.inc +++ b/meta-oe/recipes-connectivity/gnuradio/gnuradio.inc | |||
@@ -1,10 +1,11 @@ | |||
1 | DESCRIPTION = "GNU Radio" | 1 | DESCRIPTION = "GNU Radio" |
2 | URL = "http://gnuradio.org" | 2 | HOMEPAGE = "http://gnuradio.org" |
3 | SECTION = "apps" | ||
4 | PRIORITY = "optional" | ||
5 | LICENSE = "GPLv3" | 3 | LICENSE = "GPLv3" |
6 | DEPENDS = "uhd gsl guile-native fftwf python alsa-lib boost cppunit swig-native python-numpy" | 4 | LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504" |
7 | INC_PR = "r8" | 5 | |
6 | DEPENDS = "uhd virtual/libsdl gsl guile-native fftwf python alsa-lib boost cppunit swig-native python-numpy" | ||
7 | |||
8 | INC_PR = "r0" | ||
8 | 9 | ||
9 | inherit distutils-base autotools pkgconfig | 10 | inherit distutils-base autotools pkgconfig |
10 | 11 | ||
diff --git a/meta-oe/recipes-connectivity/gnuradio/gnuradio/0001-buildsys-don-t-add-usr-include-and-usr-lib-to-config.patch b/meta-oe/recipes-connectivity/gnuradio/gnuradio/0001-buildsys-don-t-add-usr-include-and-usr-lib-to-config.patch new file mode 100644 index 0000000000..7caaf51e65 --- /dev/null +++ b/meta-oe/recipes-connectivity/gnuradio/gnuradio/0001-buildsys-don-t-add-usr-include-and-usr-lib-to-config.patch | |||
@@ -0,0 +1,58 @@ | |||
1 | From a130153ae84d8bb5914879cef94df09f06825c10 Mon Sep 17 00:00:00 2001 | ||
2 | From: Koen Kooi <koen@dominion.thruhere.net> | ||
3 | Date: Sat, 18 Jun 2011 11:25:36 +0200 | ||
4 | Subject: [PATCH] buildsys: don't add /usr/include and /usr/lib to configure tests for libusb | ||
5 | |||
6 | Signed-off-by: Koen Kooi <koen@dominion.thruhere.net> | ||
7 | --- | ||
8 | config/usrp_libusb.m4 | 13 ------------- | ||
9 | 1 files changed, 0 insertions(+), 13 deletions(-) | ||
10 | |||
11 | diff --git a/config/usrp_libusb.m4 b/config/usrp_libusb.m4 | ||
12 | index cc3410f..b421820 100644 | ||
13 | --- a/config/usrp_libusb.m4 | ||
14 | +++ b/config/usrp_libusb.m4 | ||
15 | @@ -117,10 +117,6 @@ AC_DEFUN([USRP_LIBUSB], [ | ||
16 | dnl configured to find this header. | ||
17 | AC_LANG_PUSH(C) | ||
18 | save_CPPFLAGS="$CPPFLAGS" | ||
19 | - if test x$USB_INCLUDEDIR != x; then | ||
20 | - USB_INCLUDES="-I$USB_INCLUDEDIR" | ||
21 | - CPPFLAGS="$USB_INCLUDES" | ||
22 | - fi | ||
23 | AC_MSG_CHECKING([$libusb_name for header $usb_header]) | ||
24 | AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[ | ||
25 | #include "$usb_header" | ||
26 | @@ -172,9 +168,6 @@ AC_DEFUN([USRP_LIBUSB], [ | ||
27 | *) | ||
28 | AC_LANG_PUSH(C) | ||
29 | save_CPPFLAGS="$CPPFLAGS" | ||
30 | - if test x$USB_INCLUDEDIR != x; then | ||
31 | - CPPFLAGS="$USB_INCLUDES" | ||
32 | - fi | ||
33 | save_LIBS="$LIBS" | ||
34 | LIBS="$USB_LIBS" | ||
35 | AC_MSG_CHECKING([$libusb_name for symbol usb_debug in library $usb_lib_name]) | ||
36 | @@ -217,9 +210,6 @@ AC_DEFUN([USRP_LIBUSB], [ | ||
37 | dnl final error checking, mostly to create #define's | ||
38 | AC_LANG_PUSH(C) | ||
39 | save_CPPFLAGS="$CPPFLAGS" | ||
40 | - if test x$USB_INCLUDEDIR != x; then | ||
41 | - CPPFLAGS="$USB_INCLUDES" | ||
42 | - fi | ||
43 | dnl Check for the header. | ||
44 | AC_CHECK_HEADERS([$usb_header], [], [libusbok=no]) | ||
45 | CPPFLAGS="$save_CPPFLAGS" | ||
46 | @@ -231,9 +221,6 @@ AC_DEFUN([USRP_LIBUSB], [ | ||
47 | dnl check for the library (again) | ||
48 | AC_LANG_PUSH(C) | ||
49 | save_CPPFLAGS="$CPPFLAGS" | ||
50 | - if test x$USB_INCLUDEDIR != x; then | ||
51 | - CPPFLAGS="$USB_INCLUDES" | ||
52 | - fi | ||
53 | save_LIBS="$LIBS" | ||
54 | LIBS="$USB_LIBS" | ||
55 | AC_CHECK_LIB([$usb_lib_name], [$usb_lib_func], [], [ | ||
56 | -- | ||
57 | 1.6.6.1 | ||
58 | |||
diff --git a/meta-oe/recipes-connectivity/gnuradio/gnuradio/0001-volk-Remove-all-traces-of-volk-from-configure-for-OE.patch b/meta-oe/recipes-connectivity/gnuradio/gnuradio/0001-volk-Remove-all-traces-of-volk-from-configure-for-OE.patch new file mode 100644 index 0000000000..e2f674b752 --- /dev/null +++ b/meta-oe/recipes-connectivity/gnuradio/gnuradio/0001-volk-Remove-all-traces-of-volk-from-configure-for-OE.patch | |||
@@ -0,0 +1,42 @@ | |||
1 | From 857c38eb8201e2a34b524fcabea21b1accbdb288 Mon Sep 17 00:00:00 2001 | ||
2 | From: Philip Balister <philip@opensdr.com> | ||
3 | Date: Fri, 13 May 2011 12:26:14 -0400 | ||
4 | Subject: [PATCH] volk : Remove all traces of volk from configure for OE builds. | ||
5 | |||
6 | Signed-off-by: Philip Balister <philip@opensdr.com> | ||
7 | --- | ||
8 | Makefile.common | 4 ++-- | ||
9 | configure.ac | 2 +- | ||
10 | 2 files changed, 3 insertions(+), 3 deletions(-) | ||
11 | |||
12 | diff --git a/Makefile.common b/Makefile.common | ||
13 | index 20b8a78..aeda1dd 100644 | ||
14 | --- a/Makefile.common | ||
15 | +++ b/Makefile.common | ||
16 | @@ -92,8 +92,8 @@ GRUEL_INCLUDES = @gruel_INCLUDES@ | ||
17 | GRUEL_LA = @gruel_LA@ | ||
18 | |||
19 | # How to link in the VOLK library from inside the tree | ||
20 | -VOLK_INCLUDES = @volk_INCLUDES@ | ||
21 | -VOLK_LA = @volk_LA@ | ||
22 | +#VOLK_INCLUDES = @volk_INCLUDES@ | ||
23 | +#VOLK_LA = @volk_LA@ | ||
24 | |||
25 | # How to link in the USRP library from inside the tree | ||
26 | USRP_INCLUDES = @usrp_INCLUDES@ | ||
27 | diff --git a/configure.ac b/configure.ac | ||
28 | index 73ebbd6..e5cf7a2 100644 | ||
29 | --- a/configure.ac | ||
30 | +++ b/configure.ac | ||
31 | @@ -349,7 +349,7 @@ AC_ARG_ENABLE( | ||
32 | |||
33 | build_dirs="config" | ||
34 | GRC_GRUEL dnl must come first | ||
35 | -GRC_VOLK | ||
36 | +dnl GRC_VOLK | ||
37 | GRC_GCELL | ||
38 | GRC_GNURADIO_CORE | ||
39 | GRC_USRP | ||
40 | -- | ||
41 | 1.7.3.4 | ||
42 | |||
diff --git a/meta-oe/recipes-connectivity/gnuradio/gnuradio_git.bb b/meta-oe/recipes-connectivity/gnuradio/gnuradio_git.bb index 757a80136d..76c9424180 100644 --- a/meta-oe/recipes-connectivity/gnuradio/gnuradio_git.bb +++ b/meta-oe/recipes-connectivity/gnuradio/gnuradio_git.bb | |||
@@ -1,16 +1,18 @@ | |||
1 | require gnuradio.inc | 1 | require gnuradio.inc |
2 | 2 | ||
3 | PR = "${INC_PR}.1" | 3 | PR = "${INC_PR}.0" |
4 | PV = "3.3.0-${PR}+gitr${SRCREV}" | 4 | PV = "3.4.0-${PR}+gitr${SRCREV}" |
5 | 5 | ||
6 | SRCREV = "cdca1c917626f7c63f820da921a17187efc92cd5" | 6 | SRCREV = "f53fef3d2bc39b2020b8bce3d88b43569dd16605" |
7 | 7 | ||
8 | # Make it easy to test against developer repos and branches | 8 | # Make it easy to test against developer repos and branches |
9 | GIT_REPO = "gnuradio.git" | 9 | GIT_REPO = "gnuradio.git" |
10 | GIT_BRANCH = "next" | 10 | GIT_BRANCH = "next" |
11 | 11 | ||
12 | SRC_URI = "git://gnuradio.org/git/${GIT_REPO};branch=${GIT_BRANCH};protocol=http \ | 12 | SRC_URI = "git://gnuradio.org/git/${GIT_REPO};branch=${GIT_BRANCH};protocol=http \ |
13 | " | 13 | file://0001-volk-Remove-all-traces-of-volk-from-configure-for-OE.patch \ |
14 | file://0001-buildsys-don-t-add-usr-include-and-usr-lib-to-config.patch \ | ||
15 | " | ||
14 | 16 | ||
15 | S="${WORKDIR}/git" | 17 | S="${WORKDIR}/git" |
16 | 18 | ||