[oe-commits] Koen Kooi : uhd: fix build, update SRCREV
git version control
git at git.openembedded.org
Fri Jun 17 18:01:27 UTC 2011
Module: meta-openembedded.git
Branch: master
Commit: 11549e58097f9dda730bb142da768c897fbbc5ae
URL: http://git.openembedded.org/?p=meta-openembedded.git&a=commit;h=11549e58097f9dda730bb142da768c897fbbc5ae
Author: Koen Kooi <koen at dominion.thruhere.net>
Date: Fri Jun 17 16:15:38 2011 +0200
uhd: fix build, update SRCREV
Signed-off-by: Koen Kooi <koen at dominion.thruhere.net>
---
meta-oe/recipes-connectivity/uhd/uhd.inc | 1 +
...01-HACK-work-around-Wl-as-needed-problems.patch | 26 ++++++++++++++++++++
meta-oe/recipes-connectivity/uhd/uhd_git.bb | 7 +++--
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 d2ffb84..e6a71bc 100644
--- a/meta-oe/recipes-connectivity/uhd/uhd.inc
+++ b/meta-oe/recipes-connectivity/uhd/uhd.inc
@@ -1,6 +1,7 @@
DESCRIPTION = "Universal Hardware Driver for Ettus Research products."
HOMEPAGE = "http://www.ettus.com"
LICENSE = "GPLV3+"
+LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=51b35d652c070d136bf20244494be2d3"
DEPENDS = "git-native python-cheetah-native boost libusb1 uhd-firmware"
RDEPENDS_${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 0000000..2bce7c3
--- /dev/null
+++ b/meta-oe/recipes-connectivity/uhd/uhd/0001-HACK-work-around-Wl-as-needed-problems.patch
@@ -0,0 +1,26 @@
+From e5d7ae406cb7770c4fe4886bd162c18bf6ca2904 Mon Sep 17 00:00:00 2001
+From: Koen Kooi <koen at dominion.thruhere.net>
+Date: Fri, 17 Jun 2011 19:44:04 +0200
+Subject: [PATCH] HACK: work around -Wl,as-needed problems
+
+Signed-off-by: Koen Kooi <koen at dominion.thruhere.net>
+---
+ host/lib/types/CMakeLists.txt | 2 +-
+ 1 files changed, 1 insertions(+), 1 deletions(-)
+
+diff --git a/host/lib/types/CMakeLists.txt b/host/lib/types/CMakeLists.txt
+index 957dfd3..3147747 100644
+--- a/host/lib/types/CMakeLists.txt
++++ b/host/lib/types/CMakeLists.txt
+@@ -59,7 +59,7 @@ CHECK_CXX_SOURCE_COMPILES("
+ IF(HAVE_CLOCK_GETTIME)
+ MESSAGE(STATUS " High resolution timing supported through clock_gettime.")
+ SET(TIME_SPEC_DEFS HAVE_CLOCK_GETTIME)
+- LIBUHD_APPEND_LIBS("-lrt")
++ LIBUHD_APPEND_LIBS("-lrt -lpthread -lncurses")
+ ELSEIF(HAVE_MACH_ABSOLUTE_TIME)
+ MESSAGE(STATUS " High resolution timing supported through mach_absolute_time.")
+ SET(TIME_SPEC_DEFS HAVE_MACH_ABSOLUTE_TIME)
+--
+1.6.6.1
+
diff --git a/meta-oe/recipes-connectivity/uhd/uhd_git.bb b/meta-oe/recipes-connectivity/uhd/uhd_git.bb
index d1c936d..68a485e 100644
--- a/meta-oe/recipes-connectivity/uhd/uhd_git.bb
+++ b/meta-oe/recipes-connectivity/uhd/uhd_git.bb
@@ -1,8 +1,9 @@
require uhd.inc
-PR = "${INC_PR}.2"
+PR = "${INC_PR}.4"
-SRC_URI = "git://ettus.sourcerepo.com/ettus/uhd.git;protocol=git"
+SRC_URI = "git://ettus.sourcerepo.com/ettus/uhd.git;protocol=git \
+ file://0001-HACK-work-around-Wl-as-needed-problems.patch"
S = "${WORKDIR}/git/host"
-SRCREV = "cc639e876f326e958dace8438ae41b8cd9563780"
+SRCREV = "0aff497dacc9cc4eba5d800cc46343da083cfdf1"
More information about the Openembedded-commits
mailing list