mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-10 23:24:38 +00:00
buildman: Put the toolchain path first instead of last in PATH
If: 1. Toolchains A and B have the same filename 2. Toolchain A is in the PATH 3. Toolchain B is given in ~/.buildman and buildman uses it to build then buildman will add toolchain B to the end of its path but will not necessarily use it since U-Boot will find toolchain A first in the PATH. Try to fix this by putting the toolchain first in the path instead of last. Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
parent
b53241230d
commit
f210b58734
1 changed files with 1 additions and 1 deletions
|
@ -89,7 +89,7 @@ class Toolchain:
|
|||
"""
|
||||
env = dict(os.environ)
|
||||
env['CROSS_COMPILE'] = self.cross
|
||||
env['PATH'] += (':' + self.path)
|
||||
env['PATH'] = self.path + ':' + env['PATH']
|
||||
return env
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue