X-Git-Url: https://git.archive.openwrt.org/?p=openwrt.git;a=blobdiff_plain;f=Makefile;h=2b08d30ffe9da1c603ca14d546e92ea1876c2f92;hp=f75fc7fda4d735fcb4b08213ee9a44087d6603a1;hb=b2c16ff94a30fbafa6554b0fede1d1151f5a9a44;hpb=d4d30c538639e630aa41d0c8b9a01e8d388b645a diff --git a/Makefile b/Makefile index f75fc7fda4..2b08d30ffe 100644 --- a/Makefile +++ b/Makefile @@ -15,7 +15,6 @@ empty:= space:= $(empty) $(empty) $(if $(findstring $(space),$(TOPDIR)),$(error ERROR: The path to the OpenWrt directory must not include any spaces)) -.ONESHELL: world: include $(TOPDIR)/include/host.mk @@ -76,10 +75,10 @@ endif # check prerequisites before starting to build prereq: $(target/stamp-prereq) tmp/.prereq_packages - @if [ ! -f "$(INCLUDE_DIR)/site/$(REAL_GNU_TARGET_NAME)" ]; then \ - echo 'ERROR: Missing site config for target "$(REAL_GNU_TARGET_NAME)" !'; \ + @if [ ! -f "$(INCLUDE_DIR)/site/$(ARCH)" ]; then \ + echo 'ERROR: Missing site config for architecture "$(ARCH)" !'; \ echo ' The missing file will cause configure scripts to fail during compilation.'; \ - echo ' Please provide a "$(INCLUDE_DIR)/site/$(REAL_GNU_TARGET_NAME)" file and restart the build.'; \ + echo ' Please provide a "$(INCLUDE_DIR)/site/$(ARCH)" file and restart the build.'; \ exit 1; \ fi