summaryrefslogtreecommitdiff
path: root/recipes-bsp/multitech/mtac-gpiob_1.1.2.bb
diff options
context:
space:
mode:
authorJohn Klug <john.klug@multitech.com>2020-10-06 16:47:37 -0500
committerJohn Klug <john.klug@multitech.com>2021-06-22 12:24:35 -0500
commit23881fdaa212e3c17d823c7286455010df034fe1 (patch)
treee785b871517414cd54a96bfb7cab84d4a1d2fffb /recipes-bsp/multitech/mtac-gpiob_1.1.2.bb
parentae9aa1b62b8e1f570784ab043e0eeb9c8af0e40c (diff)
downloadmeta-multitech-23881fdaa212e3c17d823c7286455010df034fe1.tar.gz
meta-multitech-23881fdaa212e3c17d823c7286455010df034fe1.tar.bz2
meta-multitech-23881fdaa212e3c17d823c7286455010df034fe1.zip
Update GPIOB recipe for MACHINE dependencies
Diffstat (limited to 'recipes-bsp/multitech/mtac-gpiob_1.1.2.bb')
-rw-r--r--recipes-bsp/multitech/mtac-gpiob_1.1.2.bb8
1 files changed, 6 insertions, 2 deletions
diff --git a/recipes-bsp/multitech/mtac-gpiob_1.1.2.bb b/recipes-bsp/multitech/mtac-gpiob_1.1.2.bb
index 1b74994..91ebb93 100644
--- a/recipes-bsp/multitech/mtac-gpiob_1.1.2.bb
+++ b/recipes-bsp/multitech/mtac-gpiob_1.1.2.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 "$@"