aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/uhd/uhd-firmware.inc
blob: b3c24ae7f695c4702b8eb8e4034d43a841cd169c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
DESCRIPTION = "Universal Hardware Driver Firmware"
HOMEPAGE = "http://www.ettus.com"
LICENSE = "GPLv3"

INC_PR = "r1"

PACKAGE_ARCH = "all"

#PV_U = `echo ${PV} | sed 's/\./_/g'`

SRC_URI = "http://www.ettus.com/downloads/uhd_releases/${@'${PV}'.replace('.', '_')}/images-only/UHD-images-${PV}.tar.gz"

S = ${WORKDIR}/UHD-images-${PV}

do_install() {
	install -d ${D}${datadir}/uhd/images
	install -m 0644 ${S}/share/uhd/images/* ${D}${datadir}/uhd/images
}

PACKAGES = "${PN}"
FILES_${PN} = ${datadir}/uhd/images