summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Klug <john.klug@multitech.com>2020-10-02 11:50:44 -0500
committerJohn Klug <john.klug@multitech.com>2021-06-22 12:10:19 -0500
commit1f60f2c0c22df468f6ba5cd09b9b5ae4ce01cd41 (patch)
treee61e2b5e3b2758d96e16952644c46af2f3cd5dbd
parent4296007530825e17f3e72194aca76bf27eb7f045 (diff)
downloadmeta-multitech-1f60f2c0c22df468f6ba5cd09b9b5ae4ce01cd41.tar.gz
meta-multitech-1f60f2c0c22df468f6ba5cd09b9b5ae4ce01cd41.tar.bz2
meta-multitech-1f60f2c0c22df468f6ba5cd09b9b5ae4ce01cd41.zip
New mtac-mfser recipe supporting both Atmel and TI
-rw-r--r--recipes-bsp/multitech/mtac-mfser_1.1.1.bb (renamed from recipes-bsp/multitech/mtac-mfser_1.1.0.bb)8
1 files changed, 6 insertions, 2 deletions
diff --git a/recipes-bsp/multitech/mtac-mfser_1.1.0.bb b/recipes-bsp/multitech/mtac-mfser_1.1.1.bb
index d83b8e9..5105e95 100644
--- a/recipes-bsp/multitech/mtac-mfser_1.1.0.bb
+++ b/recipes-bsp/multitech/mtac-mfser_1.1.1.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 "$@"