Message ID | 20251002135453.1820662-3-afd@ti.com |
---|---|
State | New |
Headers | show |
Series | [meta-ti,scarthgap/master,1/4] meta-ti-extras: gdbc6x: Simplify for DRA7xx only build | expand |
diff --git a/meta-ti-extras/recipes-devtools/gdbc6x/gdbc6x_git.bb b/meta-ti-extras/recipes-devtools/gdbc6x/gdbc6x_git.bb index b803ac5b..3e6dfbff 100644 --- a/meta-ti-extras/recipes-devtools/gdbc6x/gdbc6x_git.bb +++ b/meta-ti-extras/recipes-devtools/gdbc6x/gdbc6x_git.bb @@ -5,7 +5,7 @@ LIC_FILES_CHKSUM = "file://debian/copyright;md5=bf0fe2872eb3dfeebb2cbe38206fe81f DEPENDS = "ncurses bison-native texinfo flex-native gettext" -COMPATIBLE_MACHINE = "dra7xx" +COMPATIBLE_MACHINE = "omap-a15" PR = "${INC_PR}.1" 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 c73fb031..a2d8da75 100644 --- a/meta-ti-extras/recipes-devtools/gdbc6x/gdbserver-c6x_git.bb +++ b/meta-ti-extras/recipes-devtools/gdbc6x/gdbserver-c6x_git.bb @@ -8,7 +8,7 @@ PR = "${INC_PR}.0" S:append = "/gdbserver-c6x/src" -COMPATIBLE_MACHINE = "dra7xx" +COMPATIBLE_MACHINE = "omap-a15" EXTRA_OEMAKE = "PLATFORM=DRA7xx_PLATFORM" 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 fcca0bbe..1e4fd6c5 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,7 +13,7 @@ S:append = "/kernel_module/gdbproxy-mod" inherit module -COMPATIBLE_MACHINE = "dra7xx" +COMPATIBLE_MACHINE = "omap-a15" EXTRA_OEMAKE = "PLATFORM=DRA7xx_PLATFORM KVERSION=${KERNEL_VERSION} KERNEL_SRC=${STAGING_KERNEL_DIR}"
This recipe builds and runs fine on both DRA7x and AM57x machines. The COMPATIBLE_MACHINE is set to just DRA7x, but this was okay as AM57x machines also set themselves as DRA7x family devices. The issue is then we cannot then differentiate between packages that are actually DRA7x- only and those that just use that family to mean both machine types. To fix this when we mean both are allowed use "omap-a15" as done here. Signed-off-by: Andrew Davis <afd@ti.com> --- meta-ti-extras/recipes-devtools/gdbc6x/gdbc6x_git.bb | 2 +- meta-ti-extras/recipes-devtools/gdbc6x/gdbserver-c6x_git.bb | 2 +- .../recipes-devtools/gdbc6x/gdbserverproxy-module-drv_git.bb | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-)