diff mbox series

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

Message ID 20250320181047.18035-17-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>
---
 .../tslib/{tslib_%.bbappend => tslib-arago.inc}             | 0
 meta-arago-distro/recipes-graphics/tslib/tslib_%.bbappend   | 6 +++---
 2 files changed, 3 insertions(+), 3 deletions(-)
 copy meta-arago-distro/recipes-graphics/tslib/{tslib_%.bbappend => tslib-arago.inc} (100%)
diff mbox series

Patch

diff --git a/meta-arago-distro/recipes-graphics/tslib/tslib_%.bbappend b/meta-arago-distro/recipes-graphics/tslib/tslib-arago.inc
similarity index 100%
copy from meta-arago-distro/recipes-graphics/tslib/tslib_%.bbappend
copy to meta-arago-distro/recipes-graphics/tslib/tslib-arago.inc
diff --git a/meta-arago-distro/recipes-graphics/tslib/tslib_%.bbappend b/meta-arago-distro/recipes-graphics/tslib/tslib_%.bbappend
index 74450a2a..eb8a53c1 100644
--- a/meta-arago-distro/recipes-graphics/tslib/tslib_%.bbappend
+++ b/meta-arago-distro/recipes-graphics/tslib/tslib_%.bbappend
@@ -1,4 +1,4 @@ 
-# look for files in this layer first
-FILESEXTRAPATHS:prepend := "${THISDIR}/files:"
+TSLIB_ARAGO = ""
+TSLIB_ARAGO:arago = "tslib-arago.inc"
 
-PR:append = ".arago1"
+require ${TSLIB_ARAGO}