X-Git-Url: http://git.linex4red.de/pub/lufa.git/blobdiff_plain/88425d7dabd07a712b32995a635a7f883ff5f726..5af18ba2883d51c54bad8de23bcea01fb22c4daa:/LUFA/Build/lufa.avrdude.in diff --git a/LUFA/Build/lufa.avrdude.in b/LUFA/Build/lufa.avrdude.in index 52cb44b8d..a0bef19cc 100644 --- a/LUFA/Build/lufa.avrdude.in +++ b/LUFA/Build/lufa.avrdude.in @@ -39,8 +39,15 @@ LUFA_BUILD_OPTIONAL_VARS += AVRDUDE_PROGRAMMER AVRDUDE_PORT AVRDUDE_FLAGS # ----------------------------------------------------------------------------- # Sanity-check values of mandatory user-supplied variables -MCU ?= $(error Makefile MCU value not set.) -TARGET ?= $(error Makefile TARGET value not set.) +MCU ?= $(error Makefile MCU value not set) +TARGET ?= $(error Makefile TARGET value not set) + +ifeq ($(MCU),) + $(error Makefile MCU option cannot be blank) +endif +ifeq ($(TARGET),) + $(error Makefile TARGET option cannot be blank) +endif # Default values of optionally user-supplied variables AVRDUDE_PROGRAMMER ?= jtagicemkii