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-14 15:37:09 -0500
commitb3bd4813b29df64436f0409f81b19df85e03a0fe (patch)
treea1c84833793c5eac627a813dc28ec756c7af8b4b
parent5397fdaac20fe3641b08a31dd8febebdb506b214 (diff)
downloadmeta-ti-b3bd4813b29df64436f0409f81b19df85e03a0fe.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 6c538817..c73fb031 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:append = "/gdbserver-c6x/src" 9S:append = "/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 2ee97269..fcca0bbe 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:append = "/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"