summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--recipes-bsp/multitech/mtac-eth_1.1.1.bb4
-rw-r--r--recipes-bsp/multitech/mtac-gpiob_1.1.2.bb4
-rw-r--r--recipes-bsp/multitech/mtac-lora_1.1.5.bb4
-rw-r--r--recipes-bsp/multitech/mtac-mfser_1.1.1.bb4
-rw-r--r--recipes-bsp/multitech/mtac-pulse_1.1.1.bb5
-rw-r--r--recipes-bsp/multitech/mtac-xdot_1.1.1.bb4
-rw-r--r--recipes-bsp/multitech/mtac_4.0.7.bb5
7 files changed, 29 insertions, 1 deletions
diff --git a/recipes-bsp/multitech/mtac-eth_1.1.1.bb b/recipes-bsp/multitech/mtac-eth_1.1.1.bb
index 94b1e5f..4000d31 100644
--- a/recipes-bsp/multitech/mtac-eth_1.1.1.bb
+++ b/recipes-bsp/multitech/mtac-eth_1.1.1.bb
@@ -21,8 +21,12 @@ S = "${WORKDIR}/git"
inherit module
+MTS_EXTRA_SYMBOLS="${STAGING_INCDIR}/mts-io/Module.symvers \
+ ${STAGING_INCDIR}/mtac/Module.symvers"
+
COMMON_OEMAKE = " -C ${STAGING_KERNEL_DIR} \
KBUILD_VERBOSE=1 \
+ KBUILD_EXTRA_SYMBOLS='${MTS_EXTRA_SYMBOLS}' \
M=${S} \
modules \
"
diff --git a/recipes-bsp/multitech/mtac-gpiob_1.1.2.bb b/recipes-bsp/multitech/mtac-gpiob_1.1.2.bb
index cfd630b..39f415d 100644
--- a/recipes-bsp/multitech/mtac-gpiob_1.1.2.bb
+++ b/recipes-bsp/multitech/mtac-gpiob_1.1.2.bb
@@ -23,8 +23,12 @@ S = "${WORKDIR}/git"
inherit module
+MTS_EXTRA_SYMBOLS="${STAGING_INCDIR}/mts-io/Module.symvers \
+ ${STAGING_INCDIR}/mtac/Module.symvers"
+
COMMON_OEMAKE = " -C ${STAGING_KERNEL_DIR} \
KBUILD_VERBOSE=1 \
+ KBUILD_EXTRA_SYMBOLS='${MTS_EXTRA_SYMBOLS}' \
M=${S} \
modules \
"
diff --git a/recipes-bsp/multitech/mtac-lora_1.1.5.bb b/recipes-bsp/multitech/mtac-lora_1.1.5.bb
index 34d402d..1e30a07 100644
--- a/recipes-bsp/multitech/mtac-lora_1.1.5.bb
+++ b/recipes-bsp/multitech/mtac-lora_1.1.5.bb
@@ -21,8 +21,12 @@ S = "${WORKDIR}/git"
inherit module
+MTS_EXTRA_SYMBOLS="${STAGING_INCDIR}/mts-io/Module.symvers \
+ ${STAGING_INCDIR}/mtac/Module.symvers"
+
COMMON_OEMAKE = " -C ${STAGING_KERNEL_DIR} \
KBUILD_VERBOSE=1 \
+ KBUILD_EXTRA_SYMBOLS='${MTS_EXTRA_SYMBOLS}' \
M=${S} \
modules \
"
diff --git a/recipes-bsp/multitech/mtac-mfser_1.1.1.bb b/recipes-bsp/multitech/mtac-mfser_1.1.1.bb
index b9f5bde..7942526 100644
--- a/recipes-bsp/multitech/mtac-mfser_1.1.1.bb
+++ b/recipes-bsp/multitech/mtac-mfser_1.1.1.bb
@@ -21,8 +21,12 @@ S = "${WORKDIR}/git"
inherit module
+MTS_EXTRA_SYMBOLS="${STAGING_INCDIR}/mts-io/Module.symvers \
+ ${STAGING_INCDIR}/mtac/Module.symvers"
+
COMMON_OEMAKE = " -C ${STAGING_KERNEL_DIR} \
KBUILD_VERBOSE=1 \
+ KBUILD_EXTRA_SYMBOLS='${MTS_EXTRA_SYMBOLS}' \
M=${S} \
modules \
"
diff --git a/recipes-bsp/multitech/mtac-pulse_1.1.1.bb b/recipes-bsp/multitech/mtac-pulse_1.1.1.bb
index 5a4c21c..d00f962 100644
--- a/recipes-bsp/multitech/mtac-pulse_1.1.1.bb
+++ b/recipes-bsp/multitech/mtac-pulse_1.1.1.bb
@@ -21,12 +21,15 @@ S = "${WORKDIR}/git"
inherit module
+MTS_EXTRA_SYMBOLS="${STAGING_INCDIR}/mts-io/Module.symvers \
+ ${STAGING_INCDIR}/mtac/Module.symvers"
+
COMMON_OEMAKE = " -C ${STAGING_KERNEL_DIR} \
KBUILD_VERBOSE=1 \
+ KBUILD_EXTRA_SYMBOLS='${MTS_EXTRA_SYMBOLS}' \
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 \
diff --git a/recipes-bsp/multitech/mtac-xdot_1.1.1.bb b/recipes-bsp/multitech/mtac-xdot_1.1.1.bb
index e41865a..65bb3c3 100644
--- a/recipes-bsp/multitech/mtac-xdot_1.1.1.bb
+++ b/recipes-bsp/multitech/mtac-xdot_1.1.1.bb
@@ -22,8 +22,12 @@ S = "${WORKDIR}/git"
inherit module
+MTS_EXTRA_SYMBOLS="${STAGING_INCDIR}/mts-io/Module.symvers \
+ ${STAGING_INCDIR}/mtac/Module.symvers"
+
COMMON_OEMAKE = " -C ${STAGING_KERNEL_DIR} \
KBUILD_VERBOSE=1 \
+ KBUILD_EXTRA_SYMBOLS='${MTS_EXTRA_SYMBOLS}' \
M=${S} \
modules \
"
diff --git a/recipes-bsp/multitech/mtac_4.0.7.bb b/recipes-bsp/multitech/mtac_4.0.7.bb
index b032a9a..ca872e2 100644
--- a/recipes-bsp/multitech/mtac_4.0.7.bb
+++ b/recipes-bsp/multitech/mtac_4.0.7.bb
@@ -27,8 +27,11 @@ S = "${WORKDIR}/git"
inherit module
+MTS_EXTRA_SYMBOLS="${STAGING_INCDIR}/mts-io/Module.symvers"
+
COMMON_OEMAKE = " -C ${STAGING_KERNEL_DIR} \
KBUILD_VERBOSE=1 \
+ KBUILD_EXTRA_SYMBOLS="${MTS_EXTRA_SYMBOLS}" \
M=${S} \
modules \
"
@@ -56,6 +59,8 @@ fakeroot do_install () {
# use cp instead of install so the driver doesn't get stripped
cp ${S}/mtac.ko ${D}${base_libdir}/modules/${KERNEL_VERSION}/extra
+ install -Dm0644 ${S}/Module.symvers ${D}${includedir}/${BPN}/Module.symvers
+
install -d ${D}${includedir}/mts-kernel-headers/linux
install -m 0644 ${S}/mtac.h ${D}${includedir}/mts-kernel-headers/linux
cp ${S}/machine/* ${D}${includedir}/mts-kernel-headers/linux