aboutsummaryrefslogtreecommitdiff
path: root/arduino-mk/chipKIT.mk
diff options
context:
space:
mode:
Diffstat (limited to 'arduino-mk/chipKIT.mk')
-rw-r--r--arduino-mk/chipKIT.mk8
1 files changed, 2 insertions, 6 deletions
diff --git a/arduino-mk/chipKIT.mk b/arduino-mk/chipKIT.mk
index 874b65e..8c98a1d 100644
--- a/arduino-mk/chipKIT.mk
+++ b/arduino-mk/chipKIT.mk
@@ -31,12 +31,8 @@ ifndef ARDMK_DIR
ARDMK_DIR := $(realpath $(dir $(realpath $(lastword $(MAKEFILE_LIST))))/..)
endif
-ifdef ARDMK_DIR
- ifndef ARDMK_PATH
- ARDMK_PATH = $(ARDMK_DIR)/bin
- endif
-else
- echo $(error "ARDMK_DIR is not defined")
+ifndef ARDMK_PATH
+ ARDMK_PATH = $(ARDMK_DIR)/bin
endif
ifneq ($(wildcard $(ARDMK_DIR)/arduino-mk/Common.mk),)