summaryrefslogtreecommitdiff
path: root/recipes-bsp/multitech
diff options
context:
space:
mode:
authorJohn Klug <john.klug@multitech.com>2020-10-02 15:09:59 -0500
committerJohn Klug <john.klug@multitech.com>2020-10-02 15:09:59 -0500
commit6b75cd9e954be8d8c85426bede47bb3de2964ece (patch)
treef0e6f442f40324e0e24da0d58ec37ee8f847f954 /recipes-bsp/multitech
parent1668dc1600328c92ddb528f944bc673cfc1535c8 (diff)
downloadmeta-multitech-6b75cd9e954be8d8c85426bede47bb3de2964ece.tar.gz
meta-multitech-6b75cd9e954be8d8c85426bede47bb3de2964ece.tar.bz2
meta-multitech-6b75cd9e954be8d8c85426bede47bb3de2964ece.zip
Move PIN mapping for MTAC-ETH to MTAC driver, add TI
Diffstat (limited to 'recipes-bsp/multitech')
-rw-r--r--recipes-bsp/multitech/mtac-eth_1.1.1.bb (renamed from recipes-bsp/multitech/mtac-eth_1.1.0.bb)8
1 files changed, 6 insertions, 2 deletions
diff --git a/recipes-bsp/multitech/mtac-eth_1.1.0.bb b/recipes-bsp/multitech/mtac-eth_1.1.1.bb
index af920bf..1789499 100644
--- a/recipes-bsp/multitech/mtac-eth_1.1.0.bb
+++ b/recipes-bsp/multitech/mtac-eth_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 "$@"