diff options
| author | Andrew Davis <afd@ti.com> | 2025-10-02 08:54:50 -0500 |
|---|---|---|
| committer | Ryan Eatmon <reatmon@ti.com> | 2025-10-12 16:05:35 -0500 |
| commit | 78ecd5e0bb8c9d50b7ca8b892f3e673b83e8c437 (patch) | |
| tree | 517da0d2cdca43d6e24eb0ba8f168ac276a83fb3 | |
| parent | 0996df51dfb1004465828e9a43300506c363e306 (diff) | |
| download | meta-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.bb | 8 | ||||
| -rw-r--r-- | meta-ti-extras/recipes-devtools/gdbc6x/gdbserverproxy-module-drv_git.bb | 8 |
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 | ||
| 9 | S = "${WORKDIR}/git/gdbserver-c6x/src" | 9 | S = "${WORKDIR}/git/gdbserver-c6x/src" |
| 10 | 10 | ||
| 11 | PLATFORM = "" | 11 | COMPATIBLE_MACHINE = "dra7xx" |
| 12 | PLATFORM:dra7xx = "DRA7xx_PLATFORM" | ||
| 13 | 12 | ||
| 14 | EXTRA_OEMAKE = "PLATFORM=${PLATFORM}" | 13 | EXTRA_OEMAKE = "PLATFORM=DRA7xx_PLATFORM" |
| 15 | 14 | ||
| 16 | export XDAIS_DIR = "${XDAIS_INSTALL_DIR}" | 15 | export XDAIS_DIR = "${XDAIS_INSTALL_DIR}" |
| 17 | export FC_DIR = "${FC_INSTALL_DIR}" | 16 | export 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 | ||
| 36 | COMPATIBLE_MACHINE = "dra7xx" | ||
| 37 | PACKAGE_ARCH = "${MACHINE_ARCH}" | ||
| 38 | |||
| 39 | FILES:${PN}-dev += "\ | 35 | FILES:${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 | ||
| 14 | inherit module | 14 | inherit module |
| 15 | 15 | ||
| 16 | PLATFORM = "" | 16 | COMPATIBLE_MACHINE = "dra7xx" |
| 17 | PLATFORM:dra7xx = "DRA7xx_PLATFORM" | ||
| 18 | 17 | ||
| 19 | EXTRA_OEMAKE = "PLATFORM=${PLATFORM} KVERSION=${KERNEL_VERSION} KERNEL_SRC=${STAGING_KERNEL_DIR}" | 18 | EXTRA_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 | ||
| 28 | COMPATIBLE_MACHINE = "dra7xx" | ||
| 29 | PACKAGE_ARCH = "${MACHINE_ARCH}" | ||
| 30 | |||
| 31 | include gdbc6x.inc | 27 | include gdbc6x.inc |
| 32 | 28 | ||
| 33 | KERNEL_MODULE_AUTOLOAD += "gdbserverproxy" | 29 | KERNEL_MODULE_AUTOLOAD += "gdbserverproxy" |
