update dm820/dm7080 hardware drivers
[opendreambox.git] / meta-dreambox / recipes-bsp / dreambox-dvb-modules / dreambox-dvb-modules-legacy.inc
1 DREAMBOX_DVB_MODULES_MIRROR ?= "http://dreamboxupdate.com/download/${DISTRO}/2.0.0/${PN}"
2 PRECOMPILED_ARCH = "${@d.getVar('PV', True).split('-')[-2]}"
3
4 SRC_URI = "${DREAMBOX_DVB_MODULES_MIRROR}/dreambox-dvb-modules-${PRECOMPILED_ARCH}-${PV}.tar.bz2;name=modules"
5
6 do_install() {
7     install -d ${D}/lib/modules/${DM_LOCALVERSION}/extra
8     install -m 0644 ${WORKDIR}/*.ko ${D}/lib/modules/${DM_LOCALVERSION}/extra
9     install -m 0644 ${WORKDIR}/LICENSE ${D}/lib/modules/${DM_LOCALVERSION}/extra
10 }
11
12 require dreambox-dvb-modules-base.inc