From d1e18d9a44fdff0db0a738537c71c9c7741be69b Mon Sep 17 00:00:00 2001 From: Himanshu Sahdev Date: Mon, 16 Sep 2019 15:55:03 +0530 Subject: coreboot/Makefile: display error when spaces in path of toplevel makefile coreboot toplevel makefile breaks when path to the coreboot directory contains spaces. This patch displays a reasonable message to the user whenever spaces are found within the path to the coreboot direcrory. This commit addresses coreboot ticket #179. Change-Id: Id11deffa01ddca1ff9332d67c7aa33a382b4cdc7 Signed-off-by: Sourabh Kashyap Reviewed-on: https://review.coreboot.org/c/coreboot/+/35434 Reviewed-by: Patrick Georgi Tested-by: build bot (Jenkins) --- Makefile | 3 +++ 1 file changed, 3 insertions(+) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 52cba69b30..35a4b32c2a 100644 --- a/Makefile +++ b/Makefile @@ -30,6 +30,9 @@ ## SUCH DAMAGE. ## +ifneq ($(words $(CURDIR)),1) + $(error Error: Path to the main directory cannot contain spaces) +endif top := $(CURDIR) src := src srck := $(top)/util/kconfig -- cgit v1.2.3