blob: 75a866b2351c9f1c0ea1fa79d5d3f6f03988ab76 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|
DESCRIPTION = "ID EEPROM tool for MTCDP"
HOMEPAGE = "http://www.multitech.net/"
SECTION = "console/utils"
PRIORITY = "optional"
LICENSE = "GPLv2+"
LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f"
INC_PR = "r1"
DEPENDS = "mts-io openssl"
RDEPENDS_${PN} =+ "bash"
SRCREV = "${PV}"
SRC_URI = "git://git.multitech.net/mts-id-eeprom.git;protocol=git"
SRC_URI_append_mtcdt = " file://mtcdt-fpga-v31.hex file://mtcdt-fpga-v33.hex"
SRC_URI_append_mtcap = " file://mtcap-fpga-v31.hex file://mtcap-fpga-v33.hex"
SRC_URI_append_mtr = " file://mtr-fpga-v31.hex file://mtr-fpga-v33.hex"
SRC_URI_append_mtrv1 = " file://mtrv1-fpga-v31.hex file://mtrv1-fpga-v33.hex"
S = "${WORKDIR}/git"
inherit autotools
PARALLEL_MAKE = ""
FILES_${PN}_append += "${sbindir}/mts-fpga-loader-1_5"
FILES_${PN}_append_mtcap += "${libdir}/mts-flash-binaries/mtcap-fpga-v31.hex ${libdir}/mts-flash-binaries/mtcap-fpga-v33.hex "
FILES_${PN}_append_mtcdt += "${libdir}/mts-flash-binaries/mtcdt-fpga-v31.hex ${libdir}/mts-flash-binaries/mtcdt-fpga-v33.hex "
FILES_${PN}_append_mtr += "${libdir}/mts-flash-binaries/mtr-fpga-v31.hex ${libdir}/mts-flash-binaries/mtr-fpga-v33.hex "
FILES_${PN}_append_mtrv1 += "${libdir}/mts-flash-binaries/mtrv1-fpga-v31.hex ${libdir}/mts-flash-binaries/mtrv1-fpga-v33.hex "
fakeroot do_install_append() {
# install MTCAP mts-io init script
install -d -m 0755 ${D}${libdir}/mts-flash-binaries
install -m 0444 ${WORKDIR}/${MACHINE}-fpga-v31.hex ${D}${libdir}/mts-flash-binaries
install -m 0444 ${WORKDIR}/${MACHINE}-fpga-v33.hex ${D}${libdir}/mts-flash-binaries
}
|