1
0
mirror of https://git.yoctoproject.org/meta-ti synced 2026-01-12 01:20:20 +00:00

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
2025-10-02 08:54:50 -05:00
committed by Ryan Eatmon
parent 0996df51df
commit 78ecd5e0bb
2 changed files with 4 additions and 12 deletions

View File

@@ -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 \
"

View File

@@ -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"