X-Git-Url: http://git.openwrt.org/?p=openwrt%2Fopenwrt.git;a=blobdiff_plain;f=Makefile;h=9197640b3678e7d168c4338dffe4808ec5722941;hp=348e64500592d502b100ec2e5cb9fe96d6534f2d;hb=a0e2d2a6d1c5682ea055f9d6d7f4f83b3889036c;hpb=0f6e5b76f8aac652a2ee9ff274ee0d5d3e632921 diff --git a/Makefile b/Makefile index 348e645005..9197640b36 100644 --- a/Makefile +++ b/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 @@ -50,7 +54,6 @@ printdb: prepare: $(target/stamp-compile) clean: FORCE - $(_SINGLE)$(SUBMAKE) target/linux/clean rm -rf $(BUILD_DIR) $(BIN_DIR) $(BUILD_LOG_DIR) dirclean: clean