diff options
author | John Klug <john.klug@multitech.com> | 2020-10-02 14:40:02 -0500 |
---|---|---|
committer | John Klug <john.klug@multitech.com> | 2020-10-02 14:40:02 -0500 |
commit | 1668dc1600328c92ddb528f944bc673cfc1535c8 (patch) | |
tree | a0ee21a0886d79702b57214f73e093a7643af951 | |
parent | 010dca2ffbed71d3e5f37ce192c4324fa085393e (diff) | |
download | meta-multitech-1668dc1600328c92ddb528f944bc673cfc1535c8.tar.gz meta-multitech-1668dc1600328c92ddb528f944bc673cfc1535c8.tar.bz2 meta-multitech-1668dc1600328c92ddb528f944bc673cfc1535c8.zip |
Move PIN mapping for MTAC cards to MTAC driver
-rw-r--r-- | recipes-bsp/multitech/mtac-lora_1.1.5.bb (renamed from recipes-bsp/multitech/mtac-lora_1.1.4.bb) | 8 | ||||
-rw-r--r-- | recipes-bsp/multitech/mtac_4.0.5.bb | 2 |
2 files changed, 8 insertions, 2 deletions
diff --git a/recipes-bsp/multitech/mtac-lora_1.1.4.bb b/recipes-bsp/multitech/mtac-lora_1.1.5.bb index 0fc3bac..dd59fef 100644 --- a/recipes-bsp/multitech/mtac-lora_1.1.4.bb +++ b/recipes-bsp/multitech/mtac-lora_1.1.5.bb @@ -21,13 +21,17 @@ S = "${WORKDIR}/git" inherit module -EXTRA_OEMAKE = " -C ${STAGING_KERNEL_DIR} \ - EXTRA_CFLAGS='-I${STAGING_INCDIR}/mts-kernel-headers' \ +COMMON_OEMAKE = " -C ${STAGING_KERNEL_DIR} \ KBUILD_VERBOSE=1 \ M=${S} \ modules \ " +EXTRA_OEMAKE_mtcdt = "${COMMON_OEMAKE} EXTRA_CFLAGS='-I${STAGING_INCDIR}/mts-kernel-headers \ + -D SAM9G25'" +EXTRA_OEMAKE_mtcpmhs = "${COMMON_OEMAKE} EXTRA_CFLAGS='-I${STAGING_INCDIR}/mts-kernel-headers \ + -D TI43X'" + do_compile () { bbnote make "$@" make "$@" diff --git a/recipes-bsp/multitech/mtac_4.0.5.bb b/recipes-bsp/multitech/mtac_4.0.5.bb index fa0fee0..b45b653 100644 --- a/recipes-bsp/multitech/mtac_4.0.5.bb +++ b/recipes-bsp/multitech/mtac_4.0.5.bb @@ -52,4 +52,6 @@ fakeroot do_install () { install -d ${D}${includedir}/mts-kernel-headers/linux install -m 0644 ${S}/mtac.h ${D}${includedir}/mts-kernel-headers/linux + cp ${S}/machine/* ${D}${includedir}/mts-kernel-headers/linux + chmod -R 0644 ${D}${includedir}/mts-kernel-headers/linux } |