diff options
author | Dean Camera <dean@fourwalledcubicle.com> | 2012-06-21 20:06:10 +0000 |
---|---|---|
committer | Dean Camera <dean@fourwalledcubicle.com> | 2012-06-21 20:06:10 +0000 |
commit | 8ccc2b2272564440cedc484b7c9cc8b5b7230ccf (patch) | |
tree | 403dfad84987d467552c534680ed590b14876aa1 /LUFA/Build/lufa.dfu.in | |
parent | cce71a74e79c61e3b0975ac41d13147383d257ac (diff) | |
download | lufa-8ccc2b2272564440cedc484b7c9cc8b5b7230ccf.tar.gz lufa-8ccc2b2272564440cedc484b7c9cc8b5b7230ccf.tar.bz2 lufa-8ccc2b2272564440cedc484b7c9cc8b5b7230ccf.zip |
Minor build system improvements - force default shell.
Diffstat (limited to 'LUFA/Build/lufa.dfu.in')
-rw-r--r-- | LUFA/Build/lufa.dfu.in | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/LUFA/Build/lufa.dfu.in b/LUFA/Build/lufa.dfu.in index 7eb1fa08e..ba75f14a7 100644 --- a/LUFA/Build/lufa.dfu.in +++ b/LUFA/Build/lufa.dfu.in @@ -46,9 +46,11 @@ LUFA_BUILD_PROVIDED_MACROS += # # ----------------------------------------------------------------------------- -ERROR_IF_UNSET = $(if $(filter undefined, $(origin $(strip $(1)))), $(error Makefile $(strip $(1)) value not set)) -ERROR_IF_EMPTY = $(if $(strip $($(strip $(1)))), , $(error Makefile $(strip $(1)) option cannot be blank)) -ERROR_IF_NONBOOL = $(if $(filter Y N, $($(strip $(1)))), , $(error Makefile $(strip $(1)) option must be Y or N)) +SHELL = /bin/sh + +ERROR_IF_UNSET ?= $(if $(filter undefined, $(origin $(strip $(1)))), $(error Makefile $(strip $(1)) value not set)) +ERROR_IF_EMPTY ?= $(if $(strip $($(strip $(1)))), , $(error Makefile $(strip $(1)) option cannot be blank)) +ERROR_IF_NONBOOL ?= $(if $(filter Y N, $($(strip $(1)))), , $(error Makefile $(strip $(1)) option must be Y or N)) # Sanity-check values of mandatory user-supplied variables $(foreach MANDATORY_VAR, $(LUFA_BUILD_MANDATORY_VARS), $(call ERROR_IF_UNSET, $(MANDATORY_VAR))) |