diff options
author | Himanshu Sahdev <himanshusah@hcl.com> | 2019-09-16 15:55:03 +0530 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2019-09-26 10:11:14 +0000 |
commit | d1e18d9a44fdff0db0a738537c71c9c7741be69b (patch) | |
tree | 57a28ac01a989aa06cc9384a50fbc402a8efcc3a | |
parent | 7ae4a268eb244ac5ab80ed9db5887fe35b71a49e (diff) | |
download | coreboot-d1e18d9a44fdff0db0a738537c71c9c7741be69b.tar.xz |
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 <sourabhka@hcl.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/35434
Reviewed-by: Patrick Georgi <pgeorgi@google.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
-rw-r--r-- | Makefile | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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 |