similarity index 85%
copy from meta-arago-extras/recipes-graphics/wayland/wayland-protocols_%.bbappend
copy to meta-arago-extras/recipes-graphics/wayland/wayland-protocols-arago.inc
@@ -1,4 +1,4 @@
-FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}:"
+FILESEXTRAPATHS:prepend := "${THISDIR}/wayland-protocols:"
PR:append = ".arago2"
@@ -1,13 +1,4 @@
-FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}:"
+WAYLAND_PROTOCOLS_ARAGO = ""
+WAYLAND_PROTOCOLS_ARAGO:arago = "wayland-protocols-arago.inc"
-PR:append = ".arago2"
-
-SRC_URI += " \
- file://0001-wayland-drm-Add-wayland-drm-protocol-to-stable.patch \
- file://0002-wayland-drm-Update-to-version-2.patch \
-"
-
-do_install:append() {
- install -d ${D}${datadir}/wayland-protocols/stable/wayland-drm
- cp ${S}/stable/wayland-drm/wayland-drm.xml ${D}${datadir}/wayland-protocols/stable/wayland-drm/
-}
+require ${WAYLAND_PROTOCOLS_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> --- ...ols_%.bbappend => wayland-protocols-arago.inc} | 2 +- .../wayland/wayland-protocols_%.bbappend | 15 +++------------ 2 files changed, 4 insertions(+), 13 deletions(-) copy meta-arago-extras/recipes-graphics/wayland/{wayland-protocols_%.bbappend => wayland-protocols-arago.inc} (85%)