summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile3
1 files changed, 3 insertions, 0 deletions
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