diff mbox series

[meta-arago,master,5/9] nativesdk-buildtools-perl-dummy: Wrap the bbappend in a compliant manner

Message ID 20250519170055.22364-6-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 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%)

Comments

Denys Dmytriyenko May 20, 2025, 9:48 p.m. UTC | #1
Since this has been taken upstream, it can be dropped from master altogether. 
Let me know if you need a spearate patch for this.

https://git.openembedded.org/openembedded-core/commit/?id=2b1ec442cf8c0d5753376e52bca5f8da5350848c


On Mon, May 19, 2025 at 12:00:51PM -0500, Ryan Eatmon via lists.yoctoproject.org wrote:
> 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 --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}
> -- 
> 2.17.1
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}