summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-connectivity/uhd
diff options
context:
space:
mode:
Diffstat (limited to 'meta-oe/recipes-connectivity/uhd')
-rw-r--r--meta-oe/recipes-connectivity/uhd/uhd.inc1
-rw-r--r--meta-oe/recipes-connectivity/uhd/uhd/0001-HACK-work-around-Wl-as-needed-problems.patch26
-rw-r--r--meta-oe/recipes-connectivity/uhd/uhd_git.bb7
3 files changed, 31 insertions, 3 deletions
diff --git a/meta-oe/recipes-connectivity/uhd/uhd.inc b/meta-oe/recipes-connectivity/uhd/uhd.inc
index d2ffb848f..e6a71bc26 100644
--- a/meta-oe/recipes-connectivity/uhd/uhd.inc
+++ b/meta-oe/recipes-connectivity/uhd/uhd.inc
@@ -1,6 +1,7 @@
1DESCRIPTION = "Universal Hardware Driver for Ettus Research products." 1DESCRIPTION = "Universal Hardware Driver for Ettus Research products."
2HOMEPAGE = "http://www.ettus.com" 2HOMEPAGE = "http://www.ettus.com"
3LICENSE = "GPLV3+" 3LICENSE = "GPLV3+"
4LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=51b35d652c070d136bf20244494be2d3"
4 5
5DEPENDS = "git-native python-cheetah-native boost libusb1 uhd-firmware" 6DEPENDS = "git-native python-cheetah-native boost libusb1 uhd-firmware"
6RDEPENDS_${PN} += "uhd-firmware" 7RDEPENDS_${PN} += "uhd-firmware"
diff --git a/meta-oe/recipes-connectivity/uhd/uhd/0001-HACK-work-around-Wl-as-needed-problems.patch b/meta-oe/recipes-connectivity/uhd/uhd/0001-HACK-work-around-Wl-as-needed-problems.patch
new file mode 100644
index 000000000..2bce7c388
--- /dev/null
+++ b/meta-oe/recipes-connectivity/uhd/uhd/0001-HACK-work-around-Wl-as-needed-problems.patch
@@ -0,0 +1,26 @@
1From e5d7ae406cb7770c4fe4886bd162c18bf6ca2904 Mon Sep 17 00:00:00 2001
2From: Koen Kooi <koen@dominion.thruhere.net>
3Date: Fri, 17 Jun 2011 19:44:04 +0200
4Subject: [PATCH] HACK: work around -Wl,as-needed problems
5
6Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
7---
8 host/lib/types/CMakeLists.txt | 2 +-
9 1 files changed, 1 insertions(+), 1 deletions(-)
10
11diff --git a/host/lib/types/CMakeLists.txt b/host/lib/types/CMakeLists.txt
12index 957dfd3..3147747 100644
13--- a/host/lib/types/CMakeLists.txt
14+++ b/host/lib/types/CMakeLists.txt
15@@ -59,7 +59,7 @@ CHECK_CXX_SOURCE_COMPILES("
16 IF(HAVE_CLOCK_GETTIME)
17 MESSAGE(STATUS " High resolution timing supported through clock_gettime.")
18 SET(TIME_SPEC_DEFS HAVE_CLOCK_GETTIME)
19- LIBUHD_APPEND_LIBS("-lrt")
20+ LIBUHD_APPEND_LIBS("-lrt -lpthread -lncurses")
21 ELSEIF(HAVE_MACH_ABSOLUTE_TIME)
22 MESSAGE(STATUS " High resolution timing supported through mach_absolute_time.")
23 SET(TIME_SPEC_DEFS HAVE_MACH_ABSOLUTE_TIME)
24--
251.6.6.1
26
diff --git a/meta-oe/recipes-connectivity/uhd/uhd_git.bb b/meta-oe/recipes-connectivity/uhd/uhd_git.bb
index d1c936d00..68a485e7e 100644
--- a/meta-oe/recipes-connectivity/uhd/uhd_git.bb
+++ b/meta-oe/recipes-connectivity/uhd/uhd_git.bb
@@ -1,8 +1,9 @@
1require uhd.inc 1require uhd.inc
2 2
3PR = "${INC_PR}.2" 3PR = "${INC_PR}.4"
4 4
5SRC_URI = "git://ettus.sourcerepo.com/ettus/uhd.git;protocol=git" 5SRC_URI = "git://ettus.sourcerepo.com/ettus/uhd.git;protocol=git \
6 file://0001-HACK-work-around-Wl-as-needed-problems.patch"
6S = "${WORKDIR}/git/host" 7S = "${WORKDIR}/git/host"
7 8
8SRCREV = "cc639e876f326e958dace8438ae41b8cd9563780" 9SRCREV = "0aff497dacc9cc4eba5d800cc46343da083cfdf1"