buildman: Allow the toolchain priority to be specified
authorSimon Glass <sjg@chromium.org>
Mon, 7 Mar 2016 02:45:37 +0000 (19:45 -0700)
committerSimon Glass <sjg@chromium.org>
Mon, 14 Mar 2016 21:34:50 +0000 (15:34 -0600)
commitff690df9fce2db07391a53f6cf4c5858b9ea6fad
tree93787887181b64e4b67eea909ccc194025857182
parentad24ebace118f4145b1a3f782ddf9b9ce5f8dcf3
buildman: Allow the toolchain priority to be specified

At present the priority of a toolchain is calculated from its filename based
on hard-coded rules. Allow it to be specified by the caller. We will use
this in a later patch. Also display the priority and provide a message when
it is overriden by another toolchain of higher priority.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Joe Hershberger <joe.hershberger@ni.com>
tools/buildman/toolchain.py