diff mbox series

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

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

Patch

diff --git a/meta-arago-distro/recipes-core/dbus/dbus_%.bbappend b/meta-arago-distro/recipes-core/dbus/dbus-arago.inc
similarity index 100%
copy from meta-arago-distro/recipes-core/dbus/dbus_%.bbappend
copy to meta-arago-distro/recipes-core/dbus/dbus-arago.inc
diff --git a/meta-arago-distro/recipes-core/dbus/dbus_%.bbappend b/meta-arago-distro/recipes-core/dbus/dbus_%.bbappend
index da612c59..5464eaa7 100644
--- a/meta-arago-distro/recipes-core/dbus/dbus_%.bbappend
+++ b/meta-arago-distro/recipes-core/dbus/dbus_%.bbappend
@@ -1,3 +1,4 @@ 
-PR:append = ".arago1"
+DBUS_ARAGO = ""
+DBUS_ARAGO:arago = "dbus-arago.inc"
 
-LICENSE = "GPL-2.0-or-later"
+require ${DBUS_ARAGO}