On 17 March 2018 at 03:40, Khem Raj <[email protected]> wrote:

> It is not using autoconf completely, therefore there
> is no autoreconf happening, so when we depend on latest
> gnu-config changes e.g. new architectures like riscv
> the build does not see them and fails.
>
> Installing these files from native sysroot helps
>
> Signed-off-by: Khem Raj <[email protected]>
> ---
>  meta/recipes-multimedia/x264/x264_git.bb | 2 ++
>  1 file changed, 2 insertions(+)
>
> diff --git a/meta/recipes-multimedia/x264/x264_git.bb
> b/meta/recipes-multimedia/x264/x264_git.bb
> index a669295044..c445d15e69 100644
> --- a/meta/recipes-multimedia/x264/x264_git.bb
> +++ b/meta/recipes-multimedia/x264/x264_git.bb
> @@ -43,6 +43,8 @@ EXTRA_OECONF = '--prefix=${prefix} \
>                 '
>
>  do_configure() {
> +    install -m 0755 ${STAGING_DATADIR_NATIVE}/gnu-config/config.guess
> ${S}
> +    install -m 0755 ${STAGING_DATADIR_NATIVE}/gnu-config/config.sub ${S}
>      ./configure ${EXTRA_OECONF}


A neater way is to call gnu-configize --force ${S}.

Ross
-- 
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core

Reply via email to