diff mbox series

[meta-arago,master,19/26] cryptodev-module: Wrap the bbappend in a compliant manner

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

Patch

diff --git a/meta-arago-distro/recipes-kernel/cryptodev/cryptodev-module_%.bbappend b/meta-arago-distro/recipes-kernel/cryptodev/cryptodev-module-arago.inc
similarity index 100%
copy from meta-arago-distro/recipes-kernel/cryptodev/cryptodev-module_%.bbappend
copy to meta-arago-distro/recipes-kernel/cryptodev/cryptodev-module-arago.inc
diff --git a/meta-arago-distro/recipes-kernel/cryptodev/cryptodev-module_%.bbappend b/meta-arago-distro/recipes-kernel/cryptodev/cryptodev-module_%.bbappend
index 74688f1c..8a6bfaad 100644
--- a/meta-arago-distro/recipes-kernel/cryptodev/cryptodev-module_%.bbappend
+++ b/meta-arago-distro/recipes-kernel/cryptodev/cryptodev-module_%.bbappend
@@ -1,3 +1,4 @@ 
-PR:append = ".arago0"
+CRYPTODEV_MODULE_ARAGO = ""
+CRYPTODEV_MODULE_ARAGO:arago = "cryptodev-module-arago.inc"
 
-KERNEL_MODULE_AUTOLOAD += "cryptodev"
+require ${CRYPTODEV_MODULE_ARAGO}