diff mbox series

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

Message ID 20250320181047.18035-8-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>
---
 .../{psplash_git.bbappend => psplash-arago.inc}      |  2 +-
 .../recipes-core/psplash/psplash_git.bbappend        | 12 +++---------
 2 files changed, 4 insertions(+), 10 deletions(-)
 copy meta-arago-distro/recipes-core/psplash/{psplash_git.bbappend => psplash-arago.inc} (83%)
diff mbox series

Patch

diff --git a/meta-arago-distro/recipes-core/psplash/psplash_git.bbappend b/meta-arago-distro/recipes-core/psplash/psplash-arago.inc
similarity index 83%
copy from meta-arago-distro/recipes-core/psplash/psplash_git.bbappend
copy to meta-arago-distro/recipes-core/psplash/psplash-arago.inc
index f522261f..5e481434 100644
--- a/meta-arago-distro/recipes-core/psplash/psplash_git.bbappend
+++ b/meta-arago-distro/recipes-core/psplash/psplash-arago.inc
@@ -1,5 +1,5 @@ 
 # look for files in this layer first
-FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}:"
+FILESEXTRAPATHS:prepend := "${THISDIR}/psplash:"
 
 PR:append = ".arago5"
 
diff --git a/meta-arago-distro/recipes-core/psplash/psplash_git.bbappend b/meta-arago-distro/recipes-core/psplash/psplash_git.bbappend
index f522261f..7c9da9fc 100644
--- a/meta-arago-distro/recipes-core/psplash/psplash_git.bbappend
+++ b/meta-arago-distro/recipes-core/psplash/psplash_git.bbappend
@@ -1,10 +1,4 @@ 
-# look for files in this layer first
-FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}:"
+PSPLASH_ARAGO = ""
+PSPLASH_ARAGO:arago = "psplash-arago.inc"
 
-PR:append = ".arago5"
-
-SRC_URI += "file://psplash-18bpp.patch                      \
-            file://0001-psplash-Add-Arago-custom-color.patch\
-"
-
-SPLASH_IMAGES = "file://txn-logo.png;outsuffix=default"
+require ${PSPLASH_ARAGO}