Makefile: add a check to bail out early when the path to the openwrt directory contains spaces (#12344)

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33884 3c298f89-4303-0410-b956-a3cf2f4a3e73
master
Felix Fietkau 2012-10-21 02:00:11 +00:00
parent 20a0a23021
commit 75d1732f13
1 changed files with 4 additions and 0 deletions

View File

@ -11,6 +11,10 @@ LC_ALL:=C
LANG:=C
export TOPDIR LC_ALL LANG
empty:=
space:= $(empty) $(empty)
$(if $(findstring $(space),$(TOPDIR)),$(error ERROR: The path to the OpenWrt directory must not include any spaces))
world:
include $(TOPDIR)/include/host.mk