]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
buildman: fix toolchain priority_list
authorMasahiro Yamada <yamada.m@jp.panasonic.com>
Mon, 7 Jul 2014 00:47:45 +0000 (09:47 +0900)
committerSimon Glass <sjg@chromium.org>
Mon, 7 Jul 2014 23:22:54 +0000 (17:22 -0600)
'-elf' appears twice in the toolchain priority_list.
The second one is rudundant.

Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
Cc: Simon Glass <sjg@chromium.org>
Acked-by: Simon Glass <sjg@chromium.org>
tools/buildman/toolchain.py

index e392035ea5be75b30114a80cb945fe1d68ec8901..1b9771f8e6f42a749a8be0e50e2a327252bdf8e7 100644 (file)
@@ -66,7 +66,7 @@ class Toolchain:
         Returns:
             Priority of toolchain, 0=highest, 20=lowest.
         """
-        priority_list = ['-elf', '-unknown-linux-gnu', '-linux', '-elf',
+        priority_list = ['-elf', '-unknown-linux-gnu', '-linux',
             '-none-linux-gnueabi', '-uclinux', '-none-eabi',
             '-gentoo-linux-gnu', '-linux-gnueabi', '-le-linux', '-uclinux']
         for prio in range(len(priority_list)):