buildman: Remove output binaries before building
authorSimon Glass <sjg@chromium.org>
Thu, 17 Dec 2020 00:24:17 +0000 (17:24 -0700)
committerSimon Glass <sjg@chromium.org>
Wed, 23 Dec 2020 03:39:26 +0000 (20:39 -0700)
commit73da3d2cffc601b2761c4aa32492b88f87c363c5
tree7edf1020083f72933c7cda44c3ae8ee9cc211797
parentfc314300ddbd60861b556318413662d6844a111d
buildman: Remove output binaries before building

Buildman reuses build directories from previous builds to avoid the cost
of 'make mrproper' for every build. If the previous build produced an SPL
image but the current one does not, the SPL image will remain and buildman
will think it is a result of building the current board.

Remove these files before building, to avoid this problem.

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