diff options
author | John Klug <john.klug@multitech.com> | 2017-08-18 17:50:28 -0500 |
---|---|---|
committer | John Klug <john.klug@multitech.com> | 2017-09-06 18:02:13 -0500 |
commit | 1fa739b993611d2eb3e12a4df08e9e3fb529cfff (patch) | |
tree | 5dcb22feeae885a2bdd5049c9cd1012e914e3a50 /recipes-bsp/multitech/mts-id-eeprom.inc | |
parent | dc467330e9bb2194cd12f5914d53607a8bfcfa68 (diff) | |
download | meta-multitech-1fa739b993611d2eb3e12a4df08e9e3fb529cfff.tar.gz meta-multitech-1fa739b993611d2eb3e12a4df08e9e3fb529cfff.tar.bz2 meta-multitech-1fa739b993611d2eb3e12a4df08e9e3fb529cfff.zip |
mts-fpga-loader
Diffstat (limited to 'recipes-bsp/multitech/mts-id-eeprom.inc')
-rw-r--r-- | recipes-bsp/multitech/mts-id-eeprom.inc | 17 |
1 files changed, 16 insertions, 1 deletions
diff --git a/recipes-bsp/multitech/mts-id-eeprom.inc b/recipes-bsp/multitech/mts-id-eeprom.inc index 61f024d..60c3d69 100644 --- a/recipes-bsp/multitech/mts-id-eeprom.inc +++ b/recipes-bsp/multitech/mts-id-eeprom.inc @@ -5,13 +5,28 @@ PRIORITY = "optional" LICENSE = "GPLv2+" LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f" INC_PR = "r0" -DEPENDS = "mts-io" +DEPENDS = "mts-io openssl" 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" + S = "${WORKDIR}/git" inherit autotools PARALLEL_MAKE = "" + +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 " + + +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 +} + |