summaryrefslogtreecommitdiff
path: root/recipes-bsp/multitech/mts-id-eeprom.inc
diff options
context:
space:
mode:
authorJohn Klug <john.klug@multitech.com>2017-08-18 17:50:28 -0500
committerJohn Klug <john.klug@multitech.com>2017-08-22 13:14:32 -0500
commit38e1caafa8de3a0d900015a1233f4251bc1b3814 (patch)
tree4d74b10d64711d194b18069676e02167f2fa34db /recipes-bsp/multitech/mts-id-eeprom.inc
parentfd8e761bc3bbcbee29620eb7d135acc577edfd4f (diff)
downloadmeta-multitech-38e1caafa8de3a0d900015a1233f4251bc1b3814.tar.gz
meta-multitech-38e1caafa8de3a0d900015a1233f4251bc1b3814.tar.bz2
meta-multitech-38e1caafa8de3a0d900015a1233f4251bc1b3814.zip
mts-fpga-loader
Diffstat (limited to 'recipes-bsp/multitech/mts-id-eeprom.inc')
-rw-r--r--recipes-bsp/multitech/mts-id-eeprom.inc17
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 89fb97a..1d1ba68 100644
--- a/recipes-bsp/multitech/mts-id-eeprom.inc
+++ b/recipes-bsp/multitech/mts-id-eeprom.inc
@@ -8,11 +8,26 @@ INC_PR = "r0"
DEPENDS = "mts-io openssl"
RDEPENDS_${PN} =+ "bash"
-SRCREV = "c2da95882ea7a4218a4432ee5da8165aa61addfc"
+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
+}
+