mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-01-04 16:10:10 +00:00
uhd: Remove from meta-oe. Now lives in meta-sdr.
https://github.com/balister/meta-sdr Signed-off-by: Philip Balister <philip@balister.org> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
This commit is contained in:
parent
8a56dc88fa
commit
381c941594
|
|
@ -1,27 +0,0 @@
|
|||
DESCRIPTION = "Universal Hardware Driver Firmware"
|
||||
HOMEPAGE = "http://www.ettus.com"
|
||||
|
||||
PE = "1"
|
||||
|
||||
LICENSE = "GPLv3"
|
||||
LIC_FILES_CHKSUM = "file://share/uhd/images/usrp_e100_fpga_v2.bin;md5=e86f2186823b264efc627aafc0ad60a2"
|
||||
|
||||
inherit allarch
|
||||
|
||||
SRC_URI = "http://files.ettus.com/binaries/uhd_stable/releases/uhd_${PV}-release/uhd-images_${PV}-release.tar.gz"
|
||||
SRC_URI[md5sum] = "65cf76fd363d576ceff9c1527ade297b"
|
||||
SRC_URI[sha256sum] = "9079586def30b6805053092673d942c0051f1f99eebc676b871f070c04b66e35"
|
||||
|
||||
S = "${WORKDIR}/uhd-images_${PV}-release"
|
||||
|
||||
do_install() {
|
||||
install -d ${D}${datadir}/uhd/images
|
||||
install -d ${D}${datadir}/uhd/images/bit
|
||||
install -m 0644 ${S}/share/uhd/images/bit/* ${D}${datadir}/uhd/images/bit
|
||||
rm -rf ${S}/share/uhd/images/bit
|
||||
install -m 0644 ${S}/share/uhd/images/* ${D}${datadir}/uhd/images
|
||||
}
|
||||
|
||||
PACKAGES = "${PN}"
|
||||
FILES_${PN} = "${datadir}/uhd/images"
|
||||
|
||||
|
|
@ -1,35 +0,0 @@
|
|||
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 orc-native ncurses"
|
||||
RDEPENDS_${PN} += "uhd-firmware"
|
||||
|
||||
PE = "1"
|
||||
INC_PR = "r3"
|
||||
|
||||
inherit cmake pythonnative
|
||||
|
||||
PACKAGES =+ "${PN}-tests ${PN}-examples ${PN}-e1xx"
|
||||
|
||||
INSANE_SKIP_${PN} = "dev-so"
|
||||
|
||||
FILES_${PN} += "${libdir}/libuhd.so \
|
||||
${datadir}/uhd/utils/*"
|
||||
FILES_${PN}-tests += "${datadir}/uhd/tests/*"
|
||||
FILES_${PN}-dbg += "${datadir}/uhd/examples/.debug/* \
|
||||
${datadir}/uhd/utils/.debug/* \
|
||||
${datadir}/uhd/tests/.debug/* \
|
||||
${datadir}/uhd/usrp_e_utils/.debug/*"
|
||||
FILES_${PN}-examples = "${datadir}/uhd/examples/*"
|
||||
|
||||
OECMAKE_BUILDPATH = "${S}/build"
|
||||
OECMAKE_SOURCEPATH = "${S}"
|
||||
|
||||
PACKAGECONFIG ??= ""
|
||||
PACKAGECONFIG[orc] = "-DENABLE_ORC=ON,-DENABLE_ORC=OFF,orc"
|
||||
|
||||
EXTRA_OECMAKE = "-DENABLE_E100=TRUE"
|
||||
|
||||
EXTRA_OEMAKE = "-C ${OECMAKE_BUILDPATH}"
|
||||
|
|
@ -1,40 +0,0 @@
|
|||
From 77be3026cbfe77b3ee1aaa549a27f5ad50320f9d Mon Sep 17 00:00:00 2001
|
||||
From: Koen Kooi <koen@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@dominion.thruhere.net>
|
||||
---
|
||||
host/lib/types/CMakeLists.txt | 2 +-
|
||||
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
|
||||
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)
|
||||
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,29 +0,0 @@
|
|||
From 317f6f08cedf005ce1f2d6f0d04cfb2659863423 Mon Sep 17 00:00:00 2001
|
||||
From: Khem Raj <raj.khem@gmail.com>
|
||||
Date: Sun, 30 Jun 2013 22:10:50 -0700
|
||||
Subject: [PATCH] use uint8_t from boost namespace
|
||||
|
||||
Fixes errors like
|
||||
codec_ctrl.cpp:113:10: error: 'uint8_t' was not declared in this scope
|
||||
|
||||
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
||||
---
|
||||
host/lib/usrp/e100/codec_ctrl.cpp | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/host/lib/usrp/e100/codec_ctrl.cpp b/host/lib/usrp/e100/codec_ctrl.cpp
|
||||
index 13b3bc9..2c13176 100644
|
||||
--- a/host/lib/usrp/e100/codec_ctrl.cpp
|
||||
+++ b/host/lib/usrp/e100/codec_ctrl.cpp
|
||||
@@ -110,7 +110,7 @@ e100_codec_ctrl_impl::e100_codec_ctrl_impl(spi_iface::sptr iface){
|
||||
//_ad9862_regs.dis2 = ad9862_regs_t::DIS2_DIS; needed for transmit
|
||||
|
||||
//write the register settings to the codec
|
||||
- for (uint8_t addr = 0; addr <= 25; addr++){
|
||||
+ for (boost::uint8_t addr = 0; addr <= 25; addr++){
|
||||
this->send_reg(addr);
|
||||
}
|
||||
|
||||
--
|
||||
1.7.9.5
|
||||
|
||||
|
|
@ -1,11 +0,0 @@
|
|||
require uhd.inc
|
||||
|
||||
PV = "3.5.3"
|
||||
PR = "${INC_PR}.0"
|
||||
|
||||
SRC_URI = "git://ettus.sourcerepo.com/ettus/uhd.git;branch=maint \
|
||||
file://0001-use-uint8_t-from-boost-namespace.patch;striplevel=2 \
|
||||
"
|
||||
S = "${WORKDIR}/git/host"
|
||||
|
||||
SRCREV = "f4c58120dc1e3674ee0228213f0f0011a0f80dcf"
|
||||
Loading…
Reference in New Issue
Block a user