toolchain.inc: Update and fix the test-toolchain target
commit8be01465286ed24b2a816a8b1cef0b20b55496f6
authorMartin Roth <martin@coreboot.org>
Thu, 24 Dec 2020 16:42:39 +0000 (24 09:42 -0700)
committerPatrick Georgi <pgeorgi@google.com>
Wed, 24 Feb 2021 11:29:39 +0000 (24 11:29 +0000)
treeafac2986dcc803daf7ef99977fb8578ca6ce5ebe
parent9056fde0233596b62b9e4d7b75fcfb7fdd72bc82
toolchain.inc: Update and fix the test-toolchain target

Due to some change, the test-toolchain was no longer working, and was
always reporting that the toolchain is out of date.

This fixes the failure, and prints both the expected versions of Clang,
GCC, and IASL on failures.

Additional changes fix some indentation issues and skip trying to update
submodules when the test is run.

Signed-off-by: Martin Roth <martin@coreboot.org>
Change-Id: Ia350f279c3fd3533523996327cc6b2304e0bead4
Reviewed-on: https://review.coreboot.org/c/coreboot/+/48903
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Patrick Georgi <pgeorgi@google.com>
toolchain.inc