[yocto] [PATCH][meta-mingw] gcc-crosssdk: use oe.utils.str_filter_out

Richard Purdie richard.purdie at linuxfoundation.org
Tue Jan 30 03:46:19 PST 2018


On Tue, 2018-01-30 at 11:25 +0000, Ross Burton wrote:
> oe_filter_out has been removed from oe-core so use the replacement
> function.
> 
> Signed-off-by: Ross Burton <ross.burton at intel.com>
> ---
>  recipes-devtools/gcc/gcc-crosssdk_%.bbappend | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/recipes-devtools/gcc/gcc-crosssdk_%.bbappend b/recipes-
> devtools/gcc/gcc-crosssdk_%.bbappend
> index b3b843a..d52a16b 100644
> --- a/recipes-devtools/gcc/gcc-crosssdk_%.bbappend
> +++ b/recipes-devtools/gcc/gcc-crosssdk_%.bbappend
> @@ -1,4 +1,4 @@
> -EXTRA_OECONF_mingw32 := "${@oe_filter_out('--with-linker-hash-
> style=${LINKER_HASH_STYLE}', '${EXTRA_OECONF}', d)}"
> +EXTRA_OECONF_mingw32 := "${@oe.utils.str_filter_out('--with-linker-
> hash-style=${LINKER_HASH_STYLE}', '${EXTRA_OECONF}', d)}"

Why aren't we using 
EXTRA_OECONF_remove_mingw32 = "--with-linker-hash-style=${LINKER_HASH_STYLE}"
out of interest?

I thought (hoped) the filter-out stuff was dead now?

Cheers,

Richard





More information about the yocto mailing list