similarity index 87%
copy from meta-arago-distro/recipes-graphics/drm/libdrm_%.bbappend
copy to meta-arago-distro/recipes-graphics/drm/libdrm-arago.inc
@@ -1,4 +1,4 @@
-FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}:"
+FILESEXTRAPATHS:prepend := "${THISDIR}/libdrm:"
SRC_URI += " \
file://0001-Add-option-to-run-a-test-indefinitely.patch \
@@ -1,11 +1,4 @@
-FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}:"
+LIBDRM_ARAGO = ""
+LIBDRM_ARAGO:arago = "libdrm-arago.inc"
-SRC_URI += " \
-file://0001-Add-option-to-run-a-test-indefinitely.patch \
-file://0001-omap-fix-omap_bo_size-for-tiled-buffers.patch \
-file://0002-omap-add-OMAP_BO-flags-to-affect-buffer-allocation.patch \
-file://0001-libsync-add-support-for-pre-v4.7-kernels.patch \
-file://0002-Add-sync_fence_info-and-sync_pt_info.patch \
-"
-
-PR:append = ".arago4"
+require ${LIBDRM_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> --- .../drm/{libdrm_%.bbappend => libdrm-arago.inc} | 2 +- .../recipes-graphics/drm/libdrm_%.bbappend | 13 +++---------- 2 files changed, 4 insertions(+), 11 deletions(-) copy meta-arago-distro/recipes-graphics/drm/{libdrm_%.bbappend => libdrm-arago.inc} (87%)