diff mbox series

[meta-ti,scarthgap/master,1/4] meta-ti-extras: gdbc6x: Simplify for DRA7xx only build

Message ID 20251002135453.1820662-1-afd@ti.com
State New
Headers show
Series [meta-ti,scarthgap/master,1/4] meta-ti-extras: gdbc6x: Simplify for DRA7xx only build | expand

Commit Message

Andrew Davis Oct. 2, 2025, 1:54 p.m. UTC
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>
---
 .../recipes-devtools/gdbc6x/gdbserver-c6x_git.bb          | 8 ++------
 .../gdbc6x/gdbserverproxy-module-drv_git.bb               | 8 ++------
 2 files changed, 4 insertions(+), 12 deletions(-)

Comments

PRC Automation Oct. 2, 2025, 2 p.m. UTC | #1
meta-ti / na / 20251002135453.1820662-1-afd

PRC Results: FAIL

=========================================================
  check-yocto-patches: PASS
=========================================================
Patches
----------------------------------------
WARN - [meta-ti][scarthgap/master][PATCH 1/4] meta-ti-extras: gdbc6x: Simplify for DRA7xx only build
    WARN: Commit message does not include file/recipe name: meta-ti-extras: gdbc6x: Simplify for DRA7xx only build. (COMMIT-MESSAGE-2)
        patch
    
    WARN: Commit message should not include directory path to recipe: meta-ti-extras: gdbc6x: Simplify for DRA7xx only build.
              meta-ti-extras:
              gdbc6x: (COMMIT-MESSAGE-3)
        patch
WARN - [meta-ti][scarthgap/master][PATCH 2/4] meta-ti-extras: dsptop: Simplify for DRA7xx only build
    WARN: Commit message should not include directory path to recipe: meta-ti-extras: dsptop: Simplify for DRA7xx only build.
              meta-ti-extras:
              dsptop: (COMMIT-MESSAGE-3)
        patch
WARN - [meta-ti][scarthgap/master][PATCH 3/4] meta-ti-extras: gdbc6x: Explicitly allow build for AM57x
    WARN: Commit message should not include directory path to recipe: meta-ti-extras: gdbc6x: Explicitly allow build for AM57x.
              meta-ti-extras:
              gdbc6x: (COMMIT-MESSAGE-3)
        patch
WARN - [meta-ti][scarthgap/master][PATCH 4/4] meta-ti-extras: dsptop: Explicitly allow build for AM57x
    WARN: Commit message should not include directory path to recipe: meta-ti-extras: dsptop: Explicitly allow build for AM57x.
              meta-ti-extras:
              dsptop: (COMMIT-MESSAGE-3)
        patch



=========================================================
  apply-yocto-patch: FAIL
=========================================================
scarthgap
=====================
Summary:
- Patch Series: [meta-ti][scarthgap/master][PATCH 1/4] meta-ti-extras: gdbc6x: Simplify for DRA7xx only build
- Submitter: From: Andrew Davis <afd@ti.com>
- Date: Date: Thu, 2 Oct 2025 08:54:50 -0500
- Num Patches: 4
- Mailing List (public inbox) Commit SHA: 3038a2795636df482f21bb9d51f2f5cc19c0dac1

Applied to:
- Repository: lcpd-prc-meta-ti
- Base Branch: scarthgap
- Commit Author: LCPD Automation Script <lcpdbld@list.ti.com>
- Commit Subject: CI/CD Auto-Merger: cicd.scarthgap.202509260858
- Commit SHA: 9a30c7b97a979fa66cb22b2c2ce1d3b7d466ee24

Patches
----------------------------------------
FAIL - [meta-ti][scarthgap/master][PATCH 1/4] meta-ti-extras: gdbc6x: Simplify for DRA7xx only build
    error: patch failed: meta-ti-extras/recipes-devtools/gdbc6x/gdbserver-c6x_git.bb:8
    error: meta-ti-extras/recipes-devtools/gdbc6x/gdbserver-c6x_git.bb: patch does not apply
    Applying: meta-ti-extras: gdbc6x: Simplify for DRA7xx only build
    Patch failed at 0001 meta-ti-extras: gdbc6x: Simplify for DRA7xx only build

master
=====================
Summary:
- Patch Series: [meta-ti][scarthgap/master][PATCH 1/4] meta-ti-extras: gdbc6x: Simplify for DRA7xx only build
- Submitter: From: Andrew Davis <afd@ti.com>
- Date: Date: Thu, 2 Oct 2025 08:54:50 -0500
- Num Patches: 4
- Mailing List (public inbox) Commit SHA: 3038a2795636df482f21bb9d51f2f5cc19c0dac1

Applied to:
- Repository: lcpd-prc-meta-ti
- Base Branch: master-wip
- Commit Author: MD Danish Anwar <danishanwar@ti.com>
- Commit Subject: meta-ti-bsp: Add pruprp-fw for AM64xx
- Commit SHA: b22a780fead09cdb8ce7d827560831bed2cceb27

Patches
----------------------------------------
All patches applied
diff mbox series

Patch

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"
 
 S:append = "/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 \
 "
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"
 
 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"