Message ID | 20250320181047.18035-19-reatmon@ti.com |
---|---|
State | Accepted |
Delegated to: | Ryan Eatmon |
Headers | show |
Series | Wrap bbappends in a compliant manner | expand |
diff --git a/meta-arago-distro/recipes-graphics/wayland/weston-init.bbappend b/meta-arago-distro/recipes-graphics/wayland/weston-init-arago.inc similarity index 84% copy from meta-arago-distro/recipes-graphics/wayland/weston-init.bbappend copy to meta-arago-distro/recipes-graphics/wayland/weston-init-arago.inc index 4d5db58c..fc964df5 100644 --- a/meta-arago-distro/recipes-graphics/wayland/weston-init.bbappend +++ b/meta-arago-distro/recipes-graphics/wayland/weston-init-arago.inc @@ -1,4 +1,4 @@ -FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}:" +FILESEXTRAPATHS:prepend := "${THISDIR}/weston-init:" PR:append = ".arago12" diff --git a/meta-arago-distro/recipes-graphics/wayland/weston-init.bbappend b/meta-arago-distro/recipes-graphics/wayland/weston-init.bbappend index 4d5db58c..b005c3c1 100644 --- a/meta-arago-distro/recipes-graphics/wayland/weston-init.bbappend +++ b/meta-arago-distro/recipes-graphics/wayland/weston-init.bbappend @@ -1,14 +1,4 @@ -FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}:" +WESTON_INIT_ARAGO = "" +WESTON_INIT_ARAGO:arago = "weston-init-arago.inc" -PR:append = ".arago12" - -SRC_URI:append = " \ - file://weston.ini \ - file://weston-launch-calibrator.sh \ -" - -do_install:append() { - install -Dm755 weston-launch-calibrator.sh ${D}/${bindir}/weston-launch-calibrator -} - -FILES:${PN}:append = "${bindir}/weston-launch-calibrator" +require ${WESTON_INIT_ARAGO}
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> --- ...eston-init.bbappend => weston-init-arago.inc} | 2 +- .../wayland/weston-init.bbappend | 16 +++------------- 2 files changed, 4 insertions(+), 14 deletions(-) copy meta-arago-distro/recipes-graphics/wayland/{weston-init.bbappend => weston-init-arago.inc} (84%)