1
0

Minor build system tweaks for platform compatibility.

This commit is contained in:
Dean Camera
2012-09-11 19:48:22 +00:00
parent ce5f5bd1c3
commit 6936fcbd60
2 changed files with 3 additions and 1 deletions

View File

@@ -50,6 +50,8 @@ LUFA_BUILD_PROVIDED_MACROS +=
#
# -----------------------------------------------------------------------------
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))