diff mbox series

[meta-arago,master,01/26] alsa-state: Wrap the bbappend in a compliant manner

Message ID 20250320181047.18035-2-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>
---
 .../{alsa-state.bbappend => alsa-state-arago.inc}           | 2 +-
 .../recipes-bsp/alsa-state/alsa-state.bbappend              | 6 +++---
 2 files changed, 4 insertions(+), 4 deletions(-)
 copy meta-arago-distro/recipes-bsp/alsa-state/{alsa-state.bbappend => alsa-state-arago.inc} (53%)
diff mbox series

Patch

diff --git a/meta-arago-distro/recipes-bsp/alsa-state/alsa-state.bbappend b/meta-arago-distro/recipes-bsp/alsa-state/alsa-state-arago.inc
similarity index 53%
copy from meta-arago-distro/recipes-bsp/alsa-state/alsa-state.bbappend
copy to meta-arago-distro/recipes-bsp/alsa-state/alsa-state-arago.inc
index ef9c2f32..80dfa776 100644
--- a/meta-arago-distro/recipes-bsp/alsa-state/alsa-state.bbappend
+++ b/meta-arago-distro/recipes-bsp/alsa-state/alsa-state-arago.inc
@@ -1,4 +1,4 @@ 
 PR:append = ".arago0"
 
 # look for files in this layer first
-FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}:"
+FILESEXTRAPATHS:prepend := "${THISDIR}/alsa-state:"
diff --git a/meta-arago-distro/recipes-bsp/alsa-state/alsa-state.bbappend b/meta-arago-distro/recipes-bsp/alsa-state/alsa-state.bbappend
index ef9c2f32..1a4fc80b 100644
--- a/meta-arago-distro/recipes-bsp/alsa-state/alsa-state.bbappend
+++ b/meta-arago-distro/recipes-bsp/alsa-state/alsa-state.bbappend
@@ -1,4 +1,4 @@ 
-PR:append = ".arago0"
+ALSA_STATE_ARAGO = ""
+ALSA_STATE_ARAGO:arago = "alsa-state-arago.inc"
 
-# look for files in this layer first
-FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}:"
+require ${ALSA_STATE_ARAGO}