From 25ea360955dcaaf5be18f0471f3457c7088633a0 Mon Sep 17 00:00:00 2001 From: Harsh Sharma Date: Tue, 12 Apr 2022 15:15:14 -0500 Subject: Updated mts-io recipe to automate driver version generation --- recipes-bsp/multitech/mts-io.inc | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'recipes-bsp') 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 "$@" -- cgit v1.2.3