From ee5fa0bb6299b49dc4402d8e4e460dd9a91e27d5 Mon Sep 17 00:00:00 2001 From: John Klug Date: Mon, 11 Feb 2019 09:50:29 -0600 Subject: Remove FPGA hex for LoRa from MTR --- recipes-bsp/multitech/mts-id-eeprom.inc | 19 ++++++++++++------- 1 file changed, 12 insertions(+), 7 deletions(-) (limited to 'recipes-bsp/multitech') 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 -- cgit v1.2.3