diff options
| author | Koen Kooi <koen@dominion.thruhere.net> | 2011-03-17 21:41:22 +0100 |
|---|---|---|
| committer | Koen Kooi <koen@dominion.thruhere.net> | 2011-03-17 21:41:22 +0100 |
| commit | c58cc7d3796dcee6e93885c835ed04cb566abeb2 (patch) | |
| tree | 3eea4d4ef6a4ef79e0f4e025d7012c1a5cc38835 /meta-oe/recipes-connectivity/uhd | |
| parent | eec6ab97f712e06eb52c9f7c99e19ffab3ce9d74 (diff) | |
| download | meta-openembedded-c58cc7d3796dcee6e93885c835ed04cb566abeb2.tar.gz | |
move layer into meta-oe in preparation for future splits
As per TSC decision
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Diffstat (limited to 'meta-oe/recipes-connectivity/uhd')
4 files changed, 64 insertions, 0 deletions
diff --git a/meta-oe/recipes-connectivity/uhd/uhd-firmware.inc b/meta-oe/recipes-connectivity/uhd/uhd-firmware.inc new file mode 100644 index 0000000000..763aa6ca56 --- /dev/null +++ b/meta-oe/recipes-connectivity/uhd/uhd-firmware.inc | |||
| @@ -0,0 +1,20 @@ | |||
| 1 | DESCRIPTION = "Universal Hardware Driver Firmware" | ||
| 2 | HOMEPAGE = "http://www.ettus.com" | ||
| 3 | LICENSE = "GPLv3" | ||
| 4 | |||
| 5 | INC_PR = "r0" | ||
| 6 | |||
| 7 | PACKAGE_ARCH = "all" | ||
| 8 | |||
| 9 | SRC_URI = "http://www.ettus.com/downloads/uhd_images/UHD-images-${PV}/UHD-images-${PV}-Linux.tar.gz" | ||
| 10 | |||
| 11 | S = ${WORKDIR}/UHD-images-${PV}-Linux | ||
| 12 | |||
| 13 | do_install() { | ||
| 14 | install -d ${D}${datadir}/uhd/images | ||
| 15 | install -m 0644 ${S}/share/uhd/images/* ${D}${datadir}/uhd/images | ||
| 16 | } | ||
| 17 | |||
| 18 | PACKAGES = "${PN}" | ||
| 19 | FILES_${PN} = ${datadir}/uhd/images | ||
| 20 | |||
diff --git a/meta-oe/recipes-connectivity/uhd/uhd-firmware_0001.20101124013843.905f426.bb b/meta-oe/recipes-connectivity/uhd/uhd-firmware_0001.20101124013843.905f426.bb new file mode 100644 index 0000000000..7fc8dde335 --- /dev/null +++ b/meta-oe/recipes-connectivity/uhd/uhd-firmware_0001.20101124013843.905f426.bb | |||
| @@ -0,0 +1,9 @@ | |||
| 1 | require uhd-firmware.inc | ||
| 2 | |||
| 3 | LIC_FILES_CHKSUM = "file://share/uhd/images/usrp_e100_fpga.bin;md5=38e997b0ea38503d7d7f389ba76d39df" | ||
| 4 | |||
| 5 | PR = "${INC_PR}.0" | ||
| 6 | |||
| 7 | SRC_URI[md5sum] = "6db20f93e3c4646395bd6e8260e2261f" | ||
| 8 | SRC_URI[sha256sum] = "4c73655519cd9f4e49e5727f094b463850b03db13d91a8b0429b789e74a9deea" | ||
| 9 | |||
diff --git a/meta-oe/recipes-connectivity/uhd/uhd.inc b/meta-oe/recipes-connectivity/uhd/uhd.inc new file mode 100644 index 0000000000..d2ffb848fb --- /dev/null +++ b/meta-oe/recipes-connectivity/uhd/uhd.inc | |||
| @@ -0,0 +1,27 @@ | |||
| 1 | DESCRIPTION = "Universal Hardware Driver for Ettus Research products." | ||
| 2 | HOMEPAGE = "http://www.ettus.com" | ||
| 3 | LICENSE = "GPLV3+" | ||
| 4 | |||
| 5 | DEPENDS = "git-native python-cheetah-native boost libusb1 uhd-firmware" | ||
| 6 | RDEPENDS_${PN} += "uhd-firmware" | ||
| 7 | |||
| 8 | INC_PR = "r4" | ||
| 9 | |||
| 10 | inherit cmake | ||
| 11 | |||
| 12 | PACKAGES =+ "${PN}-tests ${PN}-examples" | ||
| 13 | |||
| 14 | FILES_${PN} += "${libdir}/libuhd.so" | ||
| 15 | FILES_${PN} += "${datadir}/uhd/utils/*" | ||
| 16 | FILES_${PN}-tests += "${datadir}/uhd/tests/*" | ||
| 17 | FILES_${PN}-dbg += "${datadir}/uhd/examples/.debug/*" | ||
| 18 | FILES_${PN}-dbg += "${datadir}/uhd/utils/.debug/*" | ||
| 19 | FILES_${PN}-dbg += "${datadir}/uhd/tests/.debug/*" | ||
| 20 | FILES_${PN}-examples = "${datadir}/uhd/examples/*" | ||
| 21 | |||
| 22 | OECMAKE_BUILDPATH = "${S}/build" | ||
| 23 | OECMAKE_SOURCEPATH = "${S}" | ||
| 24 | |||
| 25 | EXTRA_OECMAKE = "-DENABLE_USRP_E100=TRUE" | ||
| 26 | |||
| 27 | EXTRA_OEMAKE = "-C ${OECMAKE_BUILDPATH}" | ||
diff --git a/meta-oe/recipes-connectivity/uhd/uhd_git.bb b/meta-oe/recipes-connectivity/uhd/uhd_git.bb new file mode 100644 index 0000000000..d1c936d001 --- /dev/null +++ b/meta-oe/recipes-connectivity/uhd/uhd_git.bb | |||
| @@ -0,0 +1,8 @@ | |||
| 1 | require uhd.inc | ||
| 2 | |||
| 3 | PR = "${INC_PR}.2" | ||
| 4 | |||
| 5 | SRC_URI = "git://ettus.sourcerepo.com/ettus/uhd.git;protocol=git" | ||
| 6 | S = "${WORKDIR}/git/host" | ||
| 7 | |||
| 8 | SRCREV = "cc639e876f326e958dace8438ae41b8cd9563780" | ||
