Add symbol-sizes target to the BUILD build system module to print a size-sorted list...
[pub/lufa.git] / LUFA / Build / lufa.sources.in
index c189e79..47cda0c 100644 (file)
@@ -36,8 +36,12 @@ LUFA_BUILD_OPTIONAL_VARS  +=
 # -----------------------------------------------------------------------------\r
 \r
 # Sanity-check values of mandatory user-supplied variables\r
-ARCH           ?= $(error Makefile ARCH value not set.)\r
-LUFA_PATH      ?= $(error Makefile LUFA_PATH value not set.)\r
+ARCH           ?= $(error Makefile ARCH value not set)\r
+LUFA_PATH      ?= $(error Makefile LUFA_PATH value not set)\r
+\r
+ifeq ($(ARCH),)\r
+   $(error Makefile ARCH option cannot be blank)\r
+endif\r
 \r
 # Allow LUFA_ROOT_PATH to be overridden elsewhere to support legacy LUFA makefiles\r
 LUFA_ROOT_PATH ?= $(patsubst %/,%,$(LUFA_PATH))\r