[Buildroot] gdb texinfo dependency
Romain Naour
romain.naour at gmail.com
Wed Oct 5 21:23:38 UTC 2016
Hi Thomas²
Le 05/10/2016 à 22:16, Thomas Petazzoni a écrit :
> Hello,
>
> On Wed, 5 Oct 2016 22:11:31 +0200, Thomas De Schampheleire wrote:
>
>> I did that now. While I'm still running some more tests, I already
>> tested tarball versions 7.10.1 and 7.11.1, and both ARC and Microblaze
>> git versions. I currently only tested host-gdb, but for all these
>> cases I can get rid of the host-texinfo dependency with following
>> extra changes:
>>
>> GDB_INSTALL_OPTS += MAKEINFO=true
>> GDB_MAKE_OPTS += MAKEINFO=true
>> HOST_GDB_INSTALL_OPTS += MAKEINFO=true
>> HOST_GDB_MAKE_OPTS += MAKEINFO=true
>>
>> The INSTALL_OPTS were needed for the tarball versions, while the
>> MAKE_OPTS (and perhaps also the INSTALL_OPTS, not sure) for the git
>> versions.
I don't remember if I tried with INSTALL_OPTS += MAKEINFO=true...
Initially we had ac_cv_prog_MAKEINFO=missing in CONF_ENV
>
> OK.
>
>> I still need to test the (target-)gdb, but I guess it won't make a
>> difference as the Makefiles are the same.
>
> Worth testing to check that everything is alright.
>
>> Is this too simplistic? Am I missing something?
>
> If it works, then all good.
I tested here, and it seems good even for microblaze host-gdb.
Best regards,
Romain
>
> Note that for binutils, we have a different work-around: we touch
> all .info files so that they have a date that is later than the source
> files they are generated from. But that only works for tarball releases
> (that contain .info files). For binutils fetched from Git, we depend on
> host-texinfo.
>
> Best regards,
>
> Thomas
>
More information about the buildroot
mailing list