summaryrefslogtreecommitdiff
path: root/recipes-bsp
diff options
context:
space:
mode:
authorHarsh Sharma <harsh.sharma@multitech.com>2022-04-12 15:15:14 -0500
committerHarsh Sharma <harsh.sharma@multitech.com>2022-04-12 15:15:14 -0500
commit25ea360955dcaaf5be18f0471f3457c7088633a0 (patch)
tree825c910d3deb0b796422c8e1f7034227817fcb99 /recipes-bsp
parent9c923734a70e03c1f0bbc8b214118e910258c782 (diff)
downloadmeta-multitech-25ea360955dcaaf5be18f0471f3457c7088633a0.tar.gz
meta-multitech-25ea360955dcaaf5be18f0471f3457c7088633a0.tar.bz2
meta-multitech-25ea360955dcaaf5be18f0471f3457c7088633a0.zip
Updated mts-io recipe to automate driver version generation
Diffstat (limited to 'recipes-bsp')
-rw-r--r--recipes-bsp/multitech/mts-io.inc7
1 files changed, 4 insertions, 3 deletions
diff --git a/recipes-bsp/multitech/mts-io.inc b/recipes-bsp/multitech/mts-io.inc
index 7f9ff1b..eb19b89 100644
--- a/recipes-bsp/multitech/mts-io.inc
+++ b/recipes-bsp/multitech/mts-io.inc
@@ -10,7 +10,7 @@ do_fetch[depends] += "virtual/kernel:do_shared_workdir"
INC_PR = "r3"
#SRCREV = "${PV}"
-SRCREV = "af1a65245846202072604b4ffb574cf1b7bf9967"
+SRCREV = "e332db6f7631d0e550e38225416d209b104a8c96"
PR = "${INC_PR}.0"
PKGR = "${PR}-${KERNEL_MODULE_PACKAGE_SUFFIX}${EXTENDPRAUTO}"
@@ -37,13 +37,14 @@ inherit update-rc.d
inherit autotools
EXTRA_OEMAKE = " -C ${STAGING_KERNEL_DIR} \
+ EXTRA_CFLAGS='-I${B}' \
KBUILD_VERBOSE=1 \
M=${S}/io-module \
modules \
"
-EXTRA_OEMAKE_append_mtre = "EXTRA_CFLAGS='-D MTRE'"
+EXTRA_OEMAKE_append_mtre = "EXTRA_CFLAGS+=' -D MTRE'"
-EXTRA_OEMAKE_append_mtcap3 = "EXTRA_CFLAGS='-D PLATFORM_BUS_SYMLINK'"
+EXTRA_OEMAKE_append_mtcap3 = "EXTRA_CFLAGS+=' -D PLATFORM_BUS_SYMLINK'"
do_compile () {
bbnote make "$@"