recovery-ui: add dm520 binary recovery-ui package
[opendreambox.git] / meta-opendreambox / recipes-dreambox / recovery / recovery_1.0.bb
1 SUMMARY = "Command-line tools to flash and recover your Dreambox"
2 HOMEPAGE = "http://dreamboxupdate.com/"
3 LICENSE = "CLOSED"
4 SRCREV = "${@opendreambox_srcrev('f6d9de6dc38272d83f19f63afe874e1cb58a8c61', d)}"
5 SRCREV_dm820 = "${@opendreambox_srcrev('9919a65aeb1c7e6f54f6b6df21cb94354f611901', d)}"
6 SRCREV_dm7080 = "${@opendreambox_srcrev('d04ef152c73dac9460a56503d81708eb4f6dcff2', d)}"
7
8 SRC_URI_append = ";branch=${BRANCH}"
9
10 inherit opendreambox-git
11
12 do_install() {
13     oe_runmake install DESTDIR=${D}
14 }
15
16 PACKAGES =+ "flash-scripts"
17
18 PACKAGE_ARCH = "${MACHINE_ARCH}"
19
20 RDEPENDS_${PN} = " \
21     e2fsprogs-mke2fs \
22     flash-scripts \
23     gpgv \
24     parted \
25     pigz \
26     util-linux-mount \
27 "
28 RDEPENDS_flash-scripts = " \
29     coreutils-realpath \
30     fastboot \
31     mkbootblob \
32     util-linux-sfdisk \
33 "
34
35 FILES_flash-scripts = " \
36     ${sbindir}/flash-rescue \
37     ${sbindir}/flash-kernel \
38     ${sbindir}/flash-ssbl \
39     ${sbindir}/librecovery \
40     ${sbindir}/select-boot-source \
41     ${sbindir}/to-the-rescue \
42     ${sbindir}/writespi \
43 "
44
45 BRANCH = "master"
46 BRANCH_dm820 = "dm820"
47 BRANCH_dm7080 = "dm7080"
48
49 COMPATIBLE_MACHINE = "^(dm820|dm7080)$"