From 183778c32f872e9c4c8474fd453a574695ea8650 Mon Sep 17 00:00:00 2001 From: Tim Crawford Date: Wed, 21 Feb 2024 16:14:21 -0700 Subject: [PATCH] make: Fix printing error if BOARD unset Signed-off-by: Tim Crawford --- Makefile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 9d84fbc..15b999d 100644 --- a/Makefile +++ b/Makefile @@ -16,8 +16,7 @@ BUILD = build # Parameter for current board ifeq ($(BOARD),) all: - @echo -e "\x1B[31mBOARD must be specified\x1B[0m" - @exit 1 + $(error BOARD must be specified) else # Calculate version DATE=$(shell git show --format="%cs" --no-patch --no-show-signature)