summaryrefslogtreecommitdiffstats
path: root/meta-ti-extras/recipes-devtools/gdbc6x/gdbserverproxy-module-drv_git.bb
blob: 2ee972693fecbad735b635f046dbae97d7bbc464 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
SUMMARY = "Interface for GDB to commincate witha TI C66X DSP"
LICENSE = "GPL-2.0-only"
LIC_FILES_CHKSUM = "file://COPYING.txt;md5=75859989545e37968a99b631ef42722e"

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:append = "/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"