coreboot-kgpe-d16/util
Nico Huber cd87e1ba2d 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>
2017-06-27 18:24:29 +00:00
..
abuild abuild: Remove space before tab 2017-06-07 20:37:35 +02:00
acpi tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
amdfwtool amdfwtool: Move normal firmware 2 after fanless firmware2s 2017-04-27 23:27:06 +02:00
amdtools Use more secure HTTPS URLs for coreboot sites 2017-06-07 12:04:50 +02:00
archive archive: build archive tool with HOSTCC 2016-03-08 17:40:05 +01:00
arm_boot_tools/mksunxiboot
autoport Use more secure HTTPS URLs for coreboot sites 2017-06-07 12:04:50 +02:00
bimgtool codebase: Change makefile $(shell pwd) commands to $(CURDIR) 2016-03-11 18:48:06 +01:00
blobtool util/blobtool: add spec files for DDR3 SPDs 2017-06-27 16:06:53 +00:00
board_status Use more secure HTTPS URLs for coreboot sites 2017-06-07 12:04:50 +02:00
broadcom util/broadcom: Check for successful file access 2016-12-16 18:22:43 +01:00
cbfstool util/cbfstool/lz4frame.c: Add comment to fall through 2017-06-06 19:37:21 +02:00
cbmem cbmem: Escape literal asterisks in log banner regex 2017-06-14 02:17:14 +02:00
checklist util/checklist: Place tables in proper boot order 2016-08-03 18:01:32 +02:00
chromeos util/chromeos: Make scripts executable 2016-07-30 19:34:20 +02:00
crossgcc buildgcc: Adapt messages about GNAT and bootstrapping 2017-06-27 18:24:29 +00:00
docker Use more secure HTTPS URLs for coreboot sites 2017-06-07 12:04:50 +02:00
dtd_parser
ectool util/ectool: Dump ram by default 2017-04-25 18:46:04 +02:00
exynos
futility util/futility/Makefile: Update clean target 2017-03-29 05:16:49 +02:00
fuzz-tests
genbuild_h genbuild_h: Fix numeric comparison to remove error 2016-03-14 23:37:12 +01:00
genprof
gitconfig Rename and move util/gitconfig/rebase.sh 2016-10-25 17:09:19 +02:00
hugo util/hugo: no need to enable an interactive terminal 2017-05-26 18:36:47 +02:00
ifdfake util/ifdfake: Add number of regions 2016-12-15 23:47:09 +01:00
ifdtool ifdtool: avoid potential unaligned pointer usage 2017-06-02 01:58:20 +02:00
intelmetool Use more secure HTTPS URLs for coreboot sites 2017-06-07 12:04:50 +02:00
inteltool inteltool/Makefile: Clean .dependencies too 2017-06-14 12:54:40 +02:00
intelvbttool intelvbttool: cope with errors in open() 2016-07-31 19:23:29 +02:00
ipqheader util: ipq40xx: Scripts to combine SBL and Coreboot ELFs 2016-05-09 09:36:27 +02:00
k8resdump
kbc1126 util: Add tools for dumping and inserting KBC1126 firmware images. 2017-05-11 16:48:40 +02:00
kconfig Kconfig: Change symbol override from warning to notice 2016-12-12 17:53:32 +01:00
lint util/lint: Give better warning for help spacing issue 2017-06-07 23:13:38 +02:00
marvell util/marvell: Add Marvell doimage utility and dependency in relevant Makefile 2016-02-11 14:16:08 +01:00
me_cleaner util/me_cleaner: Pull the latest changes from upstream 2017-03-02 22:04:08 +01:00
mma mma: update mma setup script for v2.1018 2017-04-24 19:11:34 +02:00
msrtool msrtool: Remove `no-pic` from `CFLAGS` 2017-06-09 16:32:54 +02:00
mtkheader
nvidia util/nvidia/cbootimage: Update to upstream master 2017-04-24 19:19:39 +02:00
nvramtool Use www.coreboot.org over coreboot.org 2017-06-07 12:05:44 +02:00
optionlist Use more secure HTTPS URLs for coreboot sites 2017-06-07 12:04:50 +02:00
post util: Add a very simple utility to test POST cards. 2016-02-26 07:00:33 +01:00
release util/release: Update build-release script 2017-05-16 10:54:06 +02:00
riscvtools RISCV: change make-spike-elf to use the coreboot toolchain. 2016-10-15 00:34:27 +02:00
rockchip rockchip: update make_idb.py 2016-03-16 15:24:10 +01:00
romcc util/romcc: Don't reference a variable after checking it for NULL 2017-02-10 18:01:52 +01:00
sconfig lib: provide clearer devicetree semantics 2017-04-25 18:14:38 +02:00
scripts util/scripts/gerrit-rebase: allow skipping old history 2017-06-19 18:44:13 +02:00
showdevicetree
spkmodem_recv
superiotool Use www.coreboot.org over coreboot.org 2017-06-07 12:05:44 +02:00
uio_usbdebug
vgabios Remove extra newlines from the end of all coreboot files. 2016-07-31 18:19:33 +02:00
viatool Use more secure HTTPS URLs for coreboot sites 2017-06-07 12:04:50 +02:00
xcompile libpayload: Enable building libpayload with march=i586 2017-06-26 23:14:05 +00:00