From cebea4f5cd850e5e5ffdd5ecd810c723c1b0e356 Mon Sep 17 00:00:00 2001 From: John Klug Date: Fri, 2 Nov 2018 15:22:27 -0500 Subject: Fix up CRESET and CDONE for LoRa H --- recipes-bsp/multitech/mtac-lora_1.1.1.bb | 45 -------------------------------- recipes-bsp/multitech/mtac-lora_1.1.2.bb | 45 ++++++++++++++++++++++++++++++++ 2 files changed, 45 insertions(+), 45 deletions(-) delete mode 100644 recipes-bsp/multitech/mtac-lora_1.1.1.bb create mode 100644 recipes-bsp/multitech/mtac-lora_1.1.2.bb (limited to 'recipes-bsp') diff --git a/recipes-bsp/multitech/mtac-lora_1.1.1.bb b/recipes-bsp/multitech/mtac-lora_1.1.1.bb deleted file mode 100644 index c068b58..0000000 --- a/recipes-bsp/multitech/mtac-lora_1.1.1.bb +++ /dev/null @@ -1,45 +0,0 @@ -DESCRIPTION = "MTAC LoRa Card" -HOMEPAGE = "http://www.multitech.net/developer/products/multiconnect-conduit-platform/accessory-cards/mtac-lora/" -SECTION = "base" -PRIORITY = "optional" -LICENSE = "GPLv2" -LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f" -DEPENDS = "virtual/kernel mtac mts-io" -RDEPENDS_${PN} = "kernel-module-mtac" -INC_PR = "r0" - -SRCREV = "${PV}" - -PR = "${INC_PR}.0-${MLINUX_KERNEL_VERSION}${MLINUX_KERNEL_EXTRA_VERSION}" - -SRC_URI = " \ - git://git.multitech.net/mtac-lora.git;protocol=git \ -" -S = "${WORKDIR}/git" - -inherit module - -EXTRA_OEMAKE = " -C ${STAGING_KERNEL_DIR} \ - KBUILD_VERBOSE=1 \ - M=${S} \ - modules \ - " - -do_compile () { - bbnote make "$@" - make "$@" - unset CFLAGS CPPFLAGS CXXFLAGS LDFLAGS - oe_runmake -} - -PACKAGES = "kernel-module-${PN}" - -FILES_kernel-module-${PN} = "${base_libdir}/modules/${KERNEL_VERSION}/extra/mtac_lora.ko" - -PARALLEL_MAKE = "" - -fakeroot do_install () { - install -m 0755 -d ${D}${base_libdir}/modules/${KERNEL_VERSION}/extra - # use cp instead of install so the driver doesn't get stripped - cp ${S}/mtac_lora.ko ${D}${base_libdir}/modules/${KERNEL_VERSION}/extra -} diff --git a/recipes-bsp/multitech/mtac-lora_1.1.2.bb b/recipes-bsp/multitech/mtac-lora_1.1.2.bb new file mode 100644 index 0000000..c068b58 --- /dev/null +++ b/recipes-bsp/multitech/mtac-lora_1.1.2.bb @@ -0,0 +1,45 @@ +DESCRIPTION = "MTAC LoRa Card" +HOMEPAGE = "http://www.multitech.net/developer/products/multiconnect-conduit-platform/accessory-cards/mtac-lora/" +SECTION = "base" +PRIORITY = "optional" +LICENSE = "GPLv2" +LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f" +DEPENDS = "virtual/kernel mtac mts-io" +RDEPENDS_${PN} = "kernel-module-mtac" +INC_PR = "r0" + +SRCREV = "${PV}" + +PR = "${INC_PR}.0-${MLINUX_KERNEL_VERSION}${MLINUX_KERNEL_EXTRA_VERSION}" + +SRC_URI = " \ + git://git.multitech.net/mtac-lora.git;protocol=git \ +" +S = "${WORKDIR}/git" + +inherit module + +EXTRA_OEMAKE = " -C ${STAGING_KERNEL_DIR} \ + KBUILD_VERBOSE=1 \ + M=${S} \ + modules \ + " + +do_compile () { + bbnote make "$@" + make "$@" + unset CFLAGS CPPFLAGS CXXFLAGS LDFLAGS + oe_runmake +} + +PACKAGES = "kernel-module-${PN}" + +FILES_kernel-module-${PN} = "${base_libdir}/modules/${KERNEL_VERSION}/extra/mtac_lora.ko" + +PARALLEL_MAKE = "" + +fakeroot do_install () { + install -m 0755 -d ${D}${base_libdir}/modules/${KERNEL_VERSION}/extra + # use cp instead of install so the driver doesn't get stripped + cp ${S}/mtac_lora.ko ${D}${base_libdir}/modules/${KERNEL_VERSION}/extra +} -- cgit v1.2.3