[oe-commits] Philip Balister : uhd: Add recipe for Ettus Research Universal Hardware Driver.
git version control
git at git.openembedded.org
Sat Oct 16 15:42:58 UTC 2010
Module: openembedded.git
Branch: org.openembedded.dev
Commit: 937cc3dae2e3a4e8d67493ce7429d68e85f5f14c
URL: http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=937cc3dae2e3a4e8d67493ce7429d68e85f5f14c
Author: Philip Balister <philip at opensdr.com>
Date: Sat Oct 16 11:36:09 2010 -0400
uhd: Add recipe for Ettus Research Universal Hardware Driver.
---
recipes/uhd/uhd.inc | 24 ++++++++++++++++++++++++
recipes/uhd/uhd_git.bb | 8 ++++++++
2 files changed, 32 insertions(+), 0 deletions(-)
diff --git a/recipes/uhd/uhd.inc b/recipes/uhd/uhd.inc
new file mode 100644
index 0000000..865e8c0
--- /dev/null
+++ b/recipes/uhd/uhd.inc
@@ -0,0 +1,24 @@
+DESCRIPTION = "Universal Hardware Driver for Ettus Research products."
+HOMEPAGE = "http://www.ettus.com"
+LICENSE = "GPLV3+"
+
+DEPENDS = "python-cheetah-native boost libusb1"
+
+INC_PR = "r1"
+
+inherit cmake
+
+PACKAGES += "${PN}-tests ${PN}-examples"
+
+FILES_${PN} += "${libdir}/libuhd.so"
+FILES_${PN} += "${datadir}/uhd/utils/*"
+FILES_${PN}-tests += "${datadir}/uhd/tests/*"
+FILES_${PN}-dbg += "${datadir}/uhd/examples/.debug/*"
+FILES_${PN}-dbg += "${datadir}/uhd/utils/.debug/*"
+FILES_${PN}-dbg += "${datadir}/uhd/tests/.debug/*"
+FILES_${PN}-examples = "${datadir}/uhd/examples/*"
+
+OECMAKE_BUILDPATH = "${S}/build"
+OECMAKE_SOURCEPATH = "${S}"
+
+EXTRA_OEMAKE = "-C ${OECMAKE_BUILDPATH}"
diff --git a/recipes/uhd/uhd_git.bb b/recipes/uhd/uhd_git.bb
new file mode 100644
index 0000000..15d88a2
--- /dev/null
+++ b/recipes/uhd/uhd_git.bb
@@ -0,0 +1,8 @@
+require recipes/uhd/uhd.inc
+
+PR = "${INC_PR}.0"
+
+SRC_URI = "git://ettus.sourcerepo.com/ettus/uhd.git;protocol=git"
+S = "${WORKDIR}/git/host"
+
+SRCREV = "816a07bee54e998e4fb25beeb44b9ac3888189bf"
More information about the Openembedded-commits
mailing list