mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-05-07 05:10:20 +00:00
uhd: update to 3.2.1
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
This commit is contained in:
@@ -3,10 +3,11 @@ HOMEPAGE = "http://www.ettus.com"
|
|||||||
LICENSE = "GPLV3+"
|
LICENSE = "GPLV3+"
|
||||||
LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=51b35d652c070d136bf20244494be2d3"
|
LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=51b35d652c070d136bf20244494be2d3"
|
||||||
|
|
||||||
DEPENDS = "git-native python-cheetah-native boost libusb1 uhd-firmware"
|
DEPENDS = "git-native python-cheetah-native boost libusb1 uhd-firmware orc-native"
|
||||||
RDEPENDS_${PN} += "uhd-firmware"
|
RDEPENDS_${PN} += "uhd-firmware"
|
||||||
|
|
||||||
INC_PR = "r4"
|
PE = "1"
|
||||||
|
INC_PR = "r0"
|
||||||
|
|
||||||
inherit cmake
|
inherit cmake
|
||||||
|
|
||||||
@@ -15,14 +16,16 @@ PACKAGES =+ "${PN}-tests ${PN}-examples"
|
|||||||
FILES_${PN} += "${libdir}/libuhd.so"
|
FILES_${PN} += "${libdir}/libuhd.so"
|
||||||
FILES_${PN} += "${datadir}/uhd/utils/*"
|
FILES_${PN} += "${datadir}/uhd/utils/*"
|
||||||
FILES_${PN}-tests += "${datadir}/uhd/tests/*"
|
FILES_${PN}-tests += "${datadir}/uhd/tests/*"
|
||||||
FILES_${PN}-dbg += "${datadir}/uhd/examples/.debug/*"
|
FILES_${PN}-dbg += "${datadir}/uhd/examples/.debug \
|
||||||
FILES_${PN}-dbg += "${datadir}/uhd/utils/.debug/*"
|
${datadir}/uhd/utils/.debug \
|
||||||
FILES_${PN}-dbg += "${datadir}/uhd/tests/.debug/*"
|
${datadir}/uhd/tests/.debug \
|
||||||
|
${datadir}/uhd/usrp_e_utils/.debug \
|
||||||
|
"
|
||||||
FILES_${PN}-examples = "${datadir}/uhd/examples/*"
|
FILES_${PN}-examples = "${datadir}/uhd/examples/*"
|
||||||
|
|
||||||
OECMAKE_BUILDPATH = "${S}/build"
|
OECMAKE_BUILDPATH = "${S}/build"
|
||||||
OECMAKE_SOURCEPATH = "${S}"
|
OECMAKE_SOURCEPATH = "${S}"
|
||||||
|
|
||||||
EXTRA_OECMAKE = "-DENABLE_USRP_E100=TRUE"
|
EXTRA_OECMAKE = "-DENABLE_E100=TRUE -DENABLE_USRP_E_UTILS=TRUE"
|
||||||
|
|
||||||
EXTRA_OEMAKE = "-C ${OECMAKE_BUILDPATH}"
|
EXTRA_OEMAKE = "-C ${OECMAKE_BUILDPATH}"
|
||||||
|
|||||||
+17
-3
@@ -1,12 +1,13 @@
|
|||||||
From e5d7ae406cb7770c4fe4886bd162c18bf6ca2904 Mon Sep 17 00:00:00 2001
|
From 77be3026cbfe77b3ee1aaa549a27f5ad50320f9d Mon Sep 17 00:00:00 2001
|
||||||
From: Koen Kooi <koen@dominion.thruhere.net>
|
From: Koen Kooi <koen@dominion.thruhere.net>
|
||||||
Date: Fri, 17 Jun 2011 19:44:04 +0200
|
Date: Fri, 17 Jun 2011 19:44:04 +0200
|
||||||
Subject: [PATCH] HACK: work around -Wl,as-needed problems
|
Subject: [PATCH] HACK: work around -Wl,as-needed problems
|
||||||
|
|
||||||
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
|
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
|
||||||
---
|
---
|
||||||
host/lib/types/CMakeLists.txt | 2 +-
|
host/lib/types/CMakeLists.txt | 2 +-
|
||||||
1 files changed, 1 insertions(+), 1 deletions(-)
|
host/usrp_e_utils/CMakeLists.txt | 2 +-
|
||||||
|
2 files changed, 2 insertions(+), 2 deletions(-)
|
||||||
|
|
||||||
diff --git a/host/lib/types/CMakeLists.txt b/host/lib/types/CMakeLists.txt
|
diff --git a/host/lib/types/CMakeLists.txt b/host/lib/types/CMakeLists.txt
|
||||||
index 957dfd3..3147747 100644
|
index 957dfd3..3147747 100644
|
||||||
@@ -21,6 +22,19 @@ index 957dfd3..3147747 100644
|
|||||||
ELSEIF(HAVE_MACH_ABSOLUTE_TIME)
|
ELSEIF(HAVE_MACH_ABSOLUTE_TIME)
|
||||||
MESSAGE(STATUS " High resolution timing supported through mach_absolute_time.")
|
MESSAGE(STATUS " High resolution timing supported through mach_absolute_time.")
|
||||||
SET(TIME_SPEC_DEFS HAVE_MACH_ABSOLUTE_TIME)
|
SET(TIME_SPEC_DEFS HAVE_MACH_ABSOLUTE_TIME)
|
||||||
|
diff --git a/host/usrp_e_utils/CMakeLists.txt b/host/usrp_e_utils/CMakeLists.txt
|
||||||
|
index 9162a20..18414ad 100644
|
||||||
|
--- a/host/usrp_e_utils/CMakeLists.txt
|
||||||
|
+++ b/host/usrp_e_utils/CMakeLists.txt
|
||||||
|
@@ -38,7 +38,7 @@ IF(ENABLE_USRP_E_UTILS)
|
||||||
|
FOREACH(util_source ${usrp_e_utils_sources})
|
||||||
|
GET_FILENAME_COMPONENT(util_name ${util_source} NAME_WE)
|
||||||
|
ADD_EXECUTABLE(${util_name} ${util_source})
|
||||||
|
- TARGET_LINK_LIBRARIES(${util_name} ${Boost_LIBRARIES})
|
||||||
|
+ TARGET_LINK_LIBRARIES(${util_name} ${Boost_LIBRARIES} -lpthread -lncurses)
|
||||||
|
INSTALL(TARGETS ${util_name} RUNTIME DESTINATION ${PKG_DATA_DIR}/usrp_e_utils)
|
||||||
|
ENDFOREACH(util_source)
|
||||||
|
|
||||||
--
|
--
|
||||||
1.6.6.1
|
1.6.6.1
|
||||||
|
|
||||||
|
|||||||
@@ -1,9 +1,10 @@
|
|||||||
require uhd.inc
|
require uhd.inc
|
||||||
|
|
||||||
PR = "${INC_PR}.4"
|
PV = "3.2.1"
|
||||||
|
PR = "${INC_PR}.0"
|
||||||
|
|
||||||
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;striplevel=2"
|
file://0001-HACK-work-around-Wl-as-needed-problems.patch;striplevel=2"
|
||||||
S = "${WORKDIR}/git/host"
|
S = "${WORKDIR}/git/host"
|
||||||
|
|
||||||
SRCREV = "0aff497dacc9cc4eba5d800cc46343da083cfdf1"
|
SRCREV = "fc349d30507620baca935e75e68a9554b40d427c"
|
||||||
|
|||||||
Reference in New Issue
Block a user