mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-27 17:15:00 +02:00
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
This commit is contained in:
parent
f194083091
commit
6769c61b1e
4
Makefile
4
Makefile
@ -11,6 +11,10 @@ LC_ALL:=C
|
|||||||
LANG:=C
|
LANG:=C
|
||||||
export TOPDIR LC_ALL LANG
|
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:
|
world:
|
||||||
|
|
||||||
include $(TOPDIR)/include/host.mk
|
include $(TOPDIR)/include/host.mk
|
||||||
|
Loading…
Reference in New Issue
Block a user