diff options
Diffstat (limited to 'meta-ti-extras/recipes-devtools/gdbc6x/gdbserverproxy-module-drv_git.bb')
-rw-r--r-- | meta-ti-extras/recipes-devtools/gdbc6x/gdbserverproxy-module-drv_git.bb | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/meta-ti-extras/recipes-devtools/gdbc6x/gdbserverproxy-module-drv_git.bb b/meta-ti-extras/recipes-devtools/gdbc6x/gdbserverproxy-module-drv_git.bb new file mode 100644 index 00000000..8bea12f7 --- /dev/null +++ b/meta-ti-extras/recipes-devtools/gdbc6x/gdbserverproxy-module-drv_git.bb @@ -0,0 +1,36 @@ +DESCRIPTION = "Interface for GDB to commincate witha TI C66X DSP" +LICENSE = "GPL-2.0-only" +LIC_FILES_CHKSUM = "file://COPYING.txt;md5=75859989545e37968a99b631ef42722e" + +# This package builds a kernel module, use kernel PR as base and append a local +MACHINE_KERNEL_PR:append = "b" +PR = "${MACHINE_KERNEL_PR}" +PV:append = "+git" + +SRC_URI:append = "\ + file://0001-Support-Linux-kernels-v5.15.patch;patchdir=../.. \ + file://0002-Support-Linux-kernels-v6.6.patch;patchdir=../.. \ +" + +S = "${WORKDIR}/git/kernel_module/gdbproxy-mod" + +inherit module + +PLATFORM = "" +PLATFORM:dra7xx = "DRA7xx_PLATFORM" + +EXTRA_OEMAKE = "PLATFORM=${PLATFORM} KVERSION=${KERNEL_VERSION} KERNEL_SRC=${STAGING_KERNEL_DIR}" + +# The following is to prevent an unused configure.ac from erroneously +# triggering the QA check for gettext. +EXTRA_OECONF = "--disable-nls" +do_configure() { + : +} + +COMPATIBLE_MACHINE = "dra7xx" +PACKAGE_ARCH = "${MACHINE_ARCH}" + +include gdbc6x.inc + +KERNEL_MODULE_AUTOLOAD += "gdbserverproxy" |