Home
last modified time | relevance | path

Searched hist:c8785c5b494466066e0a08f9740a6655941ec0c0 (Results 1 – 1 of 1) sorted by relevance

/rk3399_rockchip-uboot/tools/buildman/
H A Dtoolchain.pyc8785c5b494466066e0a08f9740a6655941ec0c0 Thu Jul 28 02:33:05 UTC 2016 Simon Glass <sjg@chromium.org> buildman: Avoid overwriting existing toolchain entries

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 a complete glob of the toolchain path.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Tom Rini <trini@konsulko.com>