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:
parent
decf50e2eb
commit
6f63f20b33
4
Makefile
4
Makefile
@ -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; \
|
||||
|
Loading…
x
Reference in New Issue
Block a user