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>
This commit is contained in:
Andrew Davis authored and Ryan Eatmon committed 2025-10-12 16:05:35 -05:00
1 parent 0996df51df
commit 78ecd5e0bb
2 files changed
+4 -12

No files matched your search

@@ -8,10 +8,9 @@ PR = "${INC_PR}.0"
S = "${WORKDIR}/git/gdbserver-c6x/src"
PLATFORM = ""
PLATFORM:dra7xx = "DRA7xx_PLATFORM"
COMPATIBLE_MACHINE = "dra7xx"
EXTRA_OEMAKE = "PLATFORM=${PLATFORM}"
EXTRA_OEMAKE = "PLATFORM=DRA7xx_PLATFORM"
export XDAIS_DIR = "${XDAIS_INSTALL_DIR}"
export FC_DIR = "${FC_INSTALL_DIR}"
@@ -33,9 +32,6 @@ do_install() {
cp -f ../lib/* ${D}${datadir}/ti/gdbc6x/lib
}
COMPATIBLE_MACHINE = "dra7xx"
PACKAGE_ARCH = "${MACHINE_ARCH}"
FILES:${PN}-dev += "\
${datadir}/ti/gdbc6x \
"
@@ -13,10 +13,9 @@ S = "${WORKDIR}/git/kernel_module/gdbproxy-mod"
inherit module
PLATFORM = ""
PLATFORM:dra7xx = "DRA7xx_PLATFORM"
COMPATIBLE_MACHINE = "dra7xx"
EXTRA_OEMAKE = "PLATFORM=${PLATFORM} KVERSION=${KERNEL_VERSION} KERNEL_SRC=${STAGING_KERNEL_DIR}"
EXTRA_OEMAKE = "PLATFORM=DRA7xx_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.
@@ -25,9 +24,6 @@ do_configure() {
:
}
COMPATIBLE_MACHINE = "dra7xx"
PACKAGE_ARCH = "${MACHINE_ARCH}"
include gdbc6x.inc
KERNEL_MODULE_AUTOLOAD += "gdbserverproxy"