buildman: Allow using older versions of genboardscfg.py
authorSimon Glass <sjg@chromium.org>
Sun, 19 Jul 2020 15:59:49 +0000 (09:59 -0600)
committerSimon Glass <sjg@chromium.org>
Wed, 29 Jul 2020 01:30:39 +0000 (19:30 -0600)
commit5a910b92bc9d63d855f3efa8d10cb25db0a8ac60
tree3329126e02a04532dc6b44d0ab454a0808d636f4
parent56c31e5e500dbc4371359d15be5990c9f288ca58
buildman: Allow using older versions of genboardscfg.py

Older versions of this script don't support the -q flag. Since buildman
runs this script from when it starts, we may get the old version.

Fix this in two ways:

1. Use the version from the same tree as buildman is run from, if
available
2. Failing that, allow the -q flag to be missing

Signed-off-by: Simon Glass <sjg@chromium.org>
tools/buildman/control.py