[OE-core] [PATCH] perl: don't package the host configuration

Alexander Kanavin alex.kanavin at gmail.com
Thu Feb 6 22:16:42 UTC 2020


My patch is more comprehensive, as it also adjusts the ptests ;)

Alex

On Thu, 6 Feb 2020 at 23:07, Ross Burton <ross at burtonini.com> wrote:

> From: Ross Burton <ross.burton at intel.com>
>
> `make install` installs xconfig.h, which is the configuration of the
> *build host* used when building miniperl, used to bootstrap the Perl
> build.
>
> As this changes depending on the build host, remove don't install it.
>
> [ YOCTO #13372 ]
>
> Signed-off-by: Ross Burton <ross.burton at intel.com>
> ---
>  meta/recipes-devtools/perl/perl_5.30.1.bb | 4 ++++
>  1 file changed, 4 insertions(+)
>
> diff --git a/meta/recipes-devtools/perl/perl_5.30.1.bb
> b/meta/recipes-devtools/perl/perl_5.30.1.bb
> index d4b6bb32b43..8af9dfa4a2c 100644
> --- a/meta/recipes-devtools/perl/perl_5.30.1.bb
> +++ b/meta/recipes-devtools/perl/perl_5.30.1.bb
> @@ -139,6 +139,10 @@ do_install() {
>      # Fix up shared library
>      rm ${D}/${libdir}/perl5/${PV}/*/CORE/libperl.so
>      ln -sf ../../../../libperl.so.${PERL_LIB_VER} $(echo
> ${D}/${libdir}/perl5/${PV}/*/CORE)/libperl.so
> +
> +    # This is the native configuration for the bootstrap perl, don't need
> it
> +    # packaged.
> +    rm -f ${D}${libdir}/perl5/${PV}/*/CORE/xconfig.h
>  }
>
>  do_install_append_class-target() {
> --
> 2.20.1
>
> --
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core at lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-core
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20200206/6b0b62a5/attachment.html>


More information about the Openembedded-core mailing list