[U-Boot] [PATCH 08/11] buildman: Avoid overwriting existing toolchain entries
Tom Rini
trini at konsulko.com
Fri Jul 8 16:27:10 CEST 2016
On Sun, Jul 03, 2016 at 03:14:24PM -0600, Simon Glass wrote:
> The current code for setting up the toolchain config always writes the new
> paths to an item called 'toolchain'. This means that it will overwrite any
> existing toolchain item with the same name. In practice, this means that:
>
> buildman --fetch-arch all
>
> will fetch all toolchains, but only the path of the final one will be added
> to the config. This normally works out OK, since most toolchains are the
> same version (e.g. gcc 4.9) and will be found on the same path. But it is
> not correct and toolchains for archs which don't use the same version will
> not function as expected.
>
> Adjust the code to use unique names for each toolchain path entry.
This seems like a lot more work than just adding (and checking for?) :
download = /home/trini/.buildman-toolchains/*/*
to the config file.
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20160708/64414fff/attachment.sig>
More information about the U-Boot
mailing list