diff options
| author | Andrew Davis <afd@ti.com> | 2025-10-02 08:54:50 -0500 |
|---|---|---|
| committer | Ryan Eatmon <reatmon@ti.com> | 2025-10-14 15:37:09 -0500 |
| commit | b3bd4813b29df64436f0409f81b19df85e03a0fe (patch) | |
| tree | a1c84833793c5eac627a813dc28ec756c7af8b4b | |
| parent | 5397fdaac20fe3641b08a31dd8febebdb506b214 (diff) | |
| download | meta-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.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 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 | ||
| 9 | S:append = "/gdbserver-c6x/src" | 9 | S:append = "/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 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 | ||
| 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" |
