summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrew Davis <afd@ti.com>2025-10-02 08:54:50 -0500
committerRyan Eatmon <reatmon@ti.com>2025-10-12 16:05:35 -0500
commit78ecd5e0bb8c9d50b7ca8b892f3e673b83e8c437 (patch)
tree517da0d2cdca43d6e24eb0ba8f168ac276a83fb3
parent0996df51dfb1004465828e9a43300506c363e306 (diff)
downloadmeta-ti-78ecd5e0bb8c9d50b7ca8b892f3e673b83e8c437.tar.gz
meta-ti-extras: gdbc6x: Simplify for DRA7xx only build
This recipe is already only compatible with the DRA7xx machine, so no need to set PLATFORM based on the only possibility. This then allows us to directly set the compile flags for the same. And now that the package does not change based on the machine, remove the PACKAGE_ARCH line. Signed-off-by: Andrew Davis <afd@ti.com> Signed-off-by: Ryan Eatmon <reatmon@ti.com>
-rw-r--r--meta-ti-extras/recipes-devtools/gdbc6x/gdbserver-c6x_git.bb8
-rw-r--r--meta-ti-extras/recipes-devtools/gdbc6x/gdbserverproxy-module-drv_git.bb8
2 files changed, 4 insertions, 12 deletions
diff --git a/meta-ti-extras/recipes-devtools/gdbc6x/gdbserver-c6x_git.bb b/meta-ti-extras/recipes-devtools/gdbc6x/gdbserver-c6x_git.bb
index b09599ad..0acea485 100644
--- a/meta-ti-extras/recipes-devtools/gdbc6x/gdbserver-c6x_git.bb
+++ b/meta-ti-extras/recipes-devtools/gdbc6x/gdbserver-c6x_git.bb
@@ -8,10 +8,9 @@ PR = "${INC_PR}.0"
8 8
9S = "${WORKDIR}/git/gdbserver-c6x/src" 9S = "${WORKDIR}/git/gdbserver-c6x/src"
10 10
11PLATFORM = "" 11COMPATIBLE_MACHINE = "dra7xx"
12PLATFORM:dra7xx = "DRA7xx_PLATFORM"
13 12
14EXTRA_OEMAKE = "PLATFORM=${PLATFORM}" 13EXTRA_OEMAKE = "PLATFORM=DRA7xx_PLATFORM"
15 14
16export XDAIS_DIR = "${XDAIS_INSTALL_DIR}" 15export XDAIS_DIR = "${XDAIS_INSTALL_DIR}"
17export FC_DIR = "${FC_INSTALL_DIR}" 16export FC_DIR = "${FC_INSTALL_DIR}"
@@ -33,9 +32,6 @@ do_install() {
33 cp -f ../lib/* ${D}${datadir}/ti/gdbc6x/lib 32 cp -f ../lib/* ${D}${datadir}/ti/gdbc6x/lib
34} 33}
35 34
36COMPATIBLE_MACHINE = "dra7xx"
37PACKAGE_ARCH = "${MACHINE_ARCH}"
38
39FILES:${PN}-dev += "\ 35FILES:${PN}-dev += "\
40 ${datadir}/ti/gdbc6x \ 36 ${datadir}/ti/gdbc6x \
41" 37"
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
index 1dc2296d..caf46be1 100644
--- a/meta-ti-extras/recipes-devtools/gdbc6x/gdbserverproxy-module-drv_git.bb
+++ b/meta-ti-extras/recipes-devtools/gdbc6x/gdbserverproxy-module-drv_git.bb
@@ -13,10 +13,9 @@ S = "${WORKDIR}/git/kernel_module/gdbproxy-mod"
13 13
14inherit module 14inherit module
15 15
16PLATFORM = "" 16COMPATIBLE_MACHINE = "dra7xx"
17PLATFORM:dra7xx = "DRA7xx_PLATFORM"
18 17
19EXTRA_OEMAKE = "PLATFORM=${PLATFORM} KVERSION=${KERNEL_VERSION} KERNEL_SRC=${STAGING_KERNEL_DIR}" 18EXTRA_OEMAKE = "PLATFORM=DRA7xx_PLATFORM KVERSION=${KERNEL_VERSION} KERNEL_SRC=${STAGING_KERNEL_DIR}"
20 19
21# The following is to prevent an unused configure.ac from erroneously 20# The following is to prevent an unused configure.ac from erroneously
22# triggering the QA check for gettext. 21# triggering the QA check for gettext.
@@ -25,9 +24,6 @@ do_configure() {
25 : 24 :
26} 25}
27 26
28COMPATIBLE_MACHINE = "dra7xx"
29PACKAGE_ARCH = "${MACHINE_ARCH}"
30
31include gdbc6x.inc 27include gdbc6x.inc
32 28
33KERNEL_MODULE_AUTOLOAD += "gdbserverproxy" 29KERNEL_MODULE_AUTOLOAD += "gdbserverproxy"