X-Git-Url: http://git.openwrt.org/?p=openwrt%2Fsvn-archive%2Farchive.git;a=blobdiff_plain;f=Makefile;h=9197640b3678e7d168c4338dffe4808ec5722941;hp=348e64500592d502b100ec2e5cb9fe96d6534f2d;hb=464dedd534de3cc6ea75e412e92d6eba5a22a7a4;hpb=ca56818b31a12130daba0361fd211327a802bf9b 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