1
0
mirror of https://review.coreboot.org/flashrom.git synced 2025-04-27 15:12:36 +02:00

Makefile: print version info as part of the config target

Change-Id: I1a846acfd8d2e0a9fc8b02c078b6ac0342438490
Signed-off-by: Thomas Heijligen <thomas.heijligen@secunet.com>
Reviewed-on: https://review.coreboot.org/c/flashrom/+/62199
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Nico Huber <nico.h@gmx.de>
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
This commit is contained in:
Thomas Heijligen 2022-02-19 19:30:05 +01:00 committed by Nico Huber
parent decf50e2eb
commit 6f63f20b33

View File

@ -411,9 +411,6 @@ SCMDEF := -D'FLASHROM_VERSION="$(VERSION)"'
# No spaces in release names unless set explicitly
RELEASENAME ?= $(shell echo "$(VERSION)" | sed -e 's/ /_/')
# Inform user of the version string
$(info Replacing all version templates with $(VERSION).)
# If a VCS is found then try to install hooks.
$(shell ./util/getrevision.sh -c 2>/dev/null && ./util/git-hooks/install.sh)
@ -914,6 +911,7 @@ ifeq ($(ARCH), x86)
endif
config:
@echo Building flashrom version $(VERSION)
@echo -n "C compiler found: "
@if [ $(CC_WORKING) = yes ]; \
then $(CC) --version 2>/dev/null | head -1; \