diff options
author | Nico Huber <nico.h@gmx.de> | 2017-06-24 20:35:59 +0200 |
---|---|---|
committer | Nico Huber <nico.h@gmx.de> | 2017-06-27 18:24:29 +0000 |
commit | cd87e1ba2d08523a6c8b575b18d2eab9d842fc5f (patch) | |
tree | 3b2b75f50fd10a29db108fdf45bf6f2ad7470081 /util/superiotool/COPYING | |
parent | 18c74d69af2a5beb60da78301b5fa4d17d75be47 (diff) |
buildgcc: Adapt messages about GNAT and bootstrapping
Don't ask for bootstrapping in case of a different host GCC major
version. GCC's versioning scheme changed starting with the release
of GCC 5. There are no big changes between the versions any more.
Instead, show the message when the host GCC's version is below 4.
In case GNAT can't be found, ask the user to abort and install it.
Also give hints for Ubuntu where the package versions are a little
messy (e.g. the meta packages gcc and gnat often point to different
versions).
In case GNAT is found but is too old (< 4.9), enable bootstrapping
by default and tell the user that building will take longer.
In all three cases show a timeout to draw the user's attention.
v2: Update GNAT check to also look for `gnatbind`. It has to be
somewhere in $PATH.
Change-Id: I4d9de11d7469e137ede8ad138296d20c0f8ba78f
Signed-off-by: Nico Huber <nico.h@gmx.de>
Reviewed-on: https://review.coreboot.org/20332
Reviewed-by: Patrick Georgi <pgeorgi@google.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
Diffstat (limited to 'util/superiotool/COPYING')
0 files changed, 0 insertions, 0 deletions