make: Fix printing error if BOARD unset
Signed-off-by: Tim Crawford <tcrawford@system76.com>
This commit is contained in:
committed by
Jeremy Soller
parent
82b9e19746
commit
183778c32f
3
Makefile
3
Makefile
@ -16,8 +16,7 @@ BUILD = build
|
|||||||
# Parameter for current board
|
# Parameter for current board
|
||||||
ifeq ($(BOARD),)
|
ifeq ($(BOARD),)
|
||||||
all:
|
all:
|
||||||
@echo -e "\x1B[31mBOARD must be specified\x1B[0m"
|
$(error BOARD must be specified)
|
||||||
@exit 1
|
|
||||||
else
|
else
|
||||||
# Calculate version
|
# Calculate version
|
||||||
DATE=$(shell git show --format="%cs" --no-patch --no-show-signature)
|
DATE=$(shell git show --format="%cs" --no-patch --no-show-signature)
|
||||||
|
Reference in New Issue
Block a user