diff mbox series

[meta-arago,master,17/26] weston: Wrap the bbappend in a compliant manner

Message ID 20250320181047.18035-18-reatmon@ti.com
State Accepted
Delegated to: Ryan Eatmon
Headers show
Series Wrap bbappends in a compliant manner | expand

Commit Message

Ryan Eatmon March 20, 2025, 6:10 p.m. UTC
Wrap the bbappend in a yocto-check-layer compliant manner so that only
if you are building this recipe under meta-arago-distro with the arago
DISTRO_OVERRIDE would the bbappend apply.

Signed-off-by: Ryan Eatmon <reatmon@ti.com>
---
 .../wayland/{weston_14.0.%.bbappend => weston-arago.inc} | 2 +-
 .../recipes-graphics/wayland/weston_14.0.%.bbappend      | 9 +++------
 2 files changed, 4 insertions(+), 7 deletions(-)
 copy meta-arago-distro/recipes-graphics/wayland/{weston_14.0.%.bbappend => weston-arago.inc} (70%)
diff mbox series

Patch

diff --git a/meta-arago-distro/recipes-graphics/wayland/weston_14.0.%.bbappend b/meta-arago-distro/recipes-graphics/wayland/weston-arago.inc
similarity index 70%
copy from meta-arago-distro/recipes-graphics/wayland/weston_14.0.%.bbappend
copy to meta-arago-distro/recipes-graphics/wayland/weston-arago.inc
index ba3be91c..16518353 100644
--- a/meta-arago-distro/recipes-graphics/wayland/weston_14.0.%.bbappend
+++ b/meta-arago-distro/recipes-graphics/wayland/weston-arago.inc
@@ -1,4 +1,4 @@ 
-FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}:"
+FILESEXTRAPATHS:prepend := "${THISDIR}/weston:"
 
 PR:append = ".arago1"
 
diff --git a/meta-arago-distro/recipes-graphics/wayland/weston_14.0.%.bbappend b/meta-arago-distro/recipes-graphics/wayland/weston_14.0.%.bbappend
index ba3be91c..c98a62de 100644
--- a/meta-arago-distro/recipes-graphics/wayland/weston_14.0.%.bbappend
+++ b/meta-arago-distro/recipes-graphics/wayland/weston_14.0.%.bbappend
@@ -1,7 +1,4 @@ 
-FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}:"
+WESTON_ARAGO = ""
+WESTON_ARAGO:arago = "weston-arago.inc"
 
-PR:append = ".arago1"
-
-SRC_URI += " \
-        file://0001-Revert-require-GL_EXT_unpack_subimage-commit.patch \
-"
+require ${WESTON_ARAGO}