summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Klug <john.klug@multitech.com>2019-02-11 09:50:29 -0600
committerJohn Klug <john.klug@multitech.com>2019-02-11 09:50:29 -0600
commitee5fa0bb6299b49dc4402d8e4e460dd9a91e27d5 (patch)
tree3a860f38eca865bedef9387bd9675fe7dcdccd65
parent9b1ac47ee04d049ca998003ed8d6b4e9a8713fe7 (diff)
downloadmeta-multitech-atmel-ee5fa0bb6299b49dc4402d8e4e460dd9a91e27d5.tar.gz
meta-multitech-atmel-ee5fa0bb6299b49dc4402d8e4e460dd9a91e27d5.tar.bz2
meta-multitech-atmel-ee5fa0bb6299b49dc4402d8e4e460dd9a91e27d5.zip
Remove FPGA hex for LoRa from MTR
-rw-r--r--recipes-bsp/multitech/mts-id-eeprom.inc19
1 files changed, 12 insertions, 7 deletions
diff --git a/recipes-bsp/multitech/mts-id-eeprom.inc b/recipes-bsp/multitech/mts-id-eeprom.inc
index 75a866b..f149f40 100644
--- a/recipes-bsp/multitech/mts-id-eeprom.inc
+++ b/recipes-bsp/multitech/mts-id-eeprom.inc
@@ -4,7 +4,7 @@ SECTION = "console/utils"
PRIORITY = "optional"
LICENSE = "GPLv2+"
LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f"
-INC_PR = "r1"
+INC_PR = "r2"
DEPENDS = "mts-io openssl"
RDEPENDS_${PN} =+ "bash"
@@ -13,8 +13,6 @@ 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"
@@ -22,14 +20,21 @@ inherit autotools
PARALLEL_MAKE = ""
-FILES_${PN}_append += "${sbindir}/mts-fpga-loader-1_5"
+FILES_${PN}_append_mtcap += "${sbindir}/mts-fpga-loader-1_5"
+FILES_${PN}_append_mtcdt += "${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() {
+
+fakeroot do_install_append_mtcap() {
+ # 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
+}
+
+fakeroot do_install_append_mtcdt() {
# 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