mirror of
https://git.openwrt.org/openwrt/openwrt.git
synced 2024-11-08 07:49:21 +01:00
Makefile: add a check to bail out early when the path to the openwrt directory contains spaces (#12344)
SVN-Revision: 33884
This commit is contained in:
parent
f1f388d527
commit
43f34a93e6
4
Makefile
4
Makefile
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user