summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Klug <john.klug@multitech.com>2020-10-02 15:52:18 -0500
committerJohn Klug <john.klug@multitech.com>2020-10-02 15:52:18 -0500
commit30360bdb07140c8c5724b17d289ad06c3ef64e86 (patch)
tree9076430110f5cd4700c2813d7062090c1ebc35ba
parent2418354266e4888eda3c784a92d3678f945b2bd9 (diff)
downloadmeta-multitech-30360bdb07140c8c5724b17d289ad06c3ef64e86.tar.gz
meta-multitech-30360bdb07140c8c5724b17d289ad06c3ef64e86.tar.bz2
meta-multitech-30360bdb07140c8c5724b17d289ad06c3ef64e86.zip
Move PIN mapping for MTAC-PULSE to MTAC driver, add TI
-rw-r--r--recipes-bsp/multitech/mtac-pulse_1.1.1.bb (renamed from recipes-bsp/multitech/mtac-pulse_1.1.0.bb)9
1 files changed, 7 insertions, 2 deletions
diff --git a/recipes-bsp/multitech/mtac-pulse_1.1.0.bb b/recipes-bsp/multitech/mtac-pulse_1.1.1.bb
index c0ad345..413c226 100644
--- a/recipes-bsp/multitech/mtac-pulse_1.1.0.bb
+++ b/recipes-bsp/multitech/mtac-pulse_1.1.1.bb
@@ -21,13 +21,18 @@ 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 "$@"