diff mbox series

[meta-arago,scarthgap,4/8] nativesdk-buildtools-perl-dummy: Wrap the bbappend in a compliant manner

Message ID 20250519170110.22506-5-reatmon@ti.com
State Under Review
Delegated to: Ryan Eatmon
Headers show
Series Cleanup for auto checking | expand

Commit Message

Ryan Eatmon May 19, 2025, 5:01 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>
---
 ...pend => nativesdk-buildtools-perl-dummy-arago.inc} |  0
 .../meta/nativesdk-buildtools-perl-dummy.bbappend     | 11 ++++-------
 2 files changed, 4 insertions(+), 7 deletions(-)
 copy meta-arago-extras/recipes-core/meta/{nativesdk-buildtools-perl-dummy.bbappend => nativesdk-buildtools-perl-dummy-arago.inc} (100%)
diff mbox series

Patch

diff --git a/meta-arago-extras/recipes-core/meta/nativesdk-buildtools-perl-dummy.bbappend b/meta-arago-extras/recipes-core/meta/nativesdk-buildtools-perl-dummy-arago.inc
similarity index 100%
copy from meta-arago-extras/recipes-core/meta/nativesdk-buildtools-perl-dummy.bbappend
copy to meta-arago-extras/recipes-core/meta/nativesdk-buildtools-perl-dummy-arago.inc
diff --git a/meta-arago-extras/recipes-core/meta/nativesdk-buildtools-perl-dummy.bbappend b/meta-arago-extras/recipes-core/meta/nativesdk-buildtools-perl-dummy.bbappend
index b9d40d6e..f88196f5 100644
--- a/meta-arago-extras/recipes-core/meta/nativesdk-buildtools-perl-dummy.bbappend
+++ b/meta-arago-extras/recipes-core/meta/nativesdk-buildtools-perl-dummy.bbappend
@@ -1,7 +1,4 @@ 
-DUMMYPROVIDES += "\
-    nativesdk-perl-dev \
-    nativesdk-perl-module-feature \
-    nativesdk-perl-module-file-spec-unix \
-    nativesdk-perl-module-integer \
-    nativesdk-perl-module-symbol \
-"
+NATIVESDK_BUILDTOOLS_PERL_DUMMY_ARAGO = ""
+NATIVESDK_BUILDTOOLS_PERL_DUMMY_ARAGO:arago = "nativesdk-buildtools-perl-dummy-arago.inc"
+
+require ${NATIVESDK_BUILDTOOLS_PERL_DUMMY_ARAGO}