summaryrefslogtreecommitdiff
path: root/recipes-bsp/multitech
diff options
context:
space:
mode:
authorJohn Klug <john.klug@multitech.com>2020-10-02 11:50:44 -0500
committerJohn Klug <john.klug@multitech.com>2020-10-02 11:50:44 -0500
commitda2b137d780ff8c0a1f0ecef04175aa8620956dd (patch)
treec24403e79aea5795273d7c6e388e225a3c5d02e1 /recipes-bsp/multitech
parent27d555a2de6a8912d92bdee3ca80312a2f78fed4 (diff)
downloadmeta-multitech-da2b137d780ff8c0a1f0ecef04175aa8620956dd.tar.gz
meta-multitech-da2b137d780ff8c0a1f0ecef04175aa8620956dd.tar.bz2
meta-multitech-da2b137d780ff8c0a1f0ecef04175aa8620956dd.zip
New mtac-mfser recipe supporting both Atmel and TI
Diffstat (limited to 'recipes-bsp/multitech')
-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 2438a8b..4671d2b 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 "$@"