[OE-core] [PATCH 3/5] x264: Use updated gnu-config artifacts

Khem Raj raj.khem at gmail.com
Mon Mar 19 16:54:07 UTC 2018


On Mon, Mar 19, 2018 at 4:36 AM, Burton, Ross <ross.burton at intel.com> wrote:
> On 17 March 2018 at 03:40, Khem Raj <raj.khem at gmail.com> 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 <raj.khem at gmail.com>
>> ---
>>  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}.
>

this only works if the system uses autotools
in full respect. x264 has a hand woven configure
but rely on other parts of autotools. So we have to
stay with proposed solution.

> Ross



More information about the Openembedded-core mailing list