buildman: Allow 'gnueabihf' toolchains for ARM
Many toolchains for ARM use the 'gnueabihf' suffix rather than just 'gnueabi', so allow these to be used, but with a lower priority than 'gnueabi' ones. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
parent
573a3811ed
commit
546a6f3a9b
@ -120,8 +120,9 @@ class Toolchain:
|
||||
Priority of toolchain, PRIORITY_CALC=highest, 20=lowest.
|
||||
"""
|
||||
priority_list = ['-elf', '-unknown-linux-gnu', '-linux',
|
||||
'-none-linux-gnueabi', '-uclinux', '-none-eabi',
|
||||
'-gentoo-linux-gnu', '-linux-gnueabi', '-le-linux', '-uclinux']
|
||||
'-none-linux-gnueabi', '-none-linux-gnueabihf', '-uclinux',
|
||||
'-none-eabi', '-gentoo-linux-gnu', '-linux-gnueabi',
|
||||
'-linux-gnueabihf', '-le-linux', '-uclinux']
|
||||
for prio in range(len(priority_list)):
|
||||
if priority_list[prio] in fname:
|
||||
return PRIORITY_CALC + prio
|
||||
|
Loading…
Reference in New Issue
Block a user