[U-Boot] buildman: using wrong libgcc.a
Jeroen Hofstee
jeroen at myspectrum.nl
Thu Oct 30 21:57:39 CET 2014
Hello Steve,
On 30-10-14 21:42, Steve Rae wrote:
> Hmmmm -- maybe it would be better to specify the entire path for the
> CROSS_COMPILE, and not rely on the PATH to find the cross compile tools:
>
> diff --git a/tools/buildman/toolchain.py b/tools/buildman/toolchain.py
> index 27dc318..58c7b1f 100644
> --- a/tools/buildman/toolchain.py
> +++ b/tools/buildman/toolchain.py
> @@ -33,6 +33,7 @@ class Toolchain:
> self.cross = os.path.basename(fname)[:-3]
> pos = self.cross.find('-')
> self.arch = self.cross[:pos] if pos != -1 else 'sandbox'
> + self.cross = fname[:-3]
>
A bit off topic, but is it possible to stop adding these magic 3
constants. strlen("clang") != 3. strlen("cc") isn't either. Anyway
I am aware buildman is already full with it, so I am fine with
one more (for now).
Regards,
Jeroen
More information about the U-Boot
mailing list