Allow punter to specify boards.txt file independently of command (after Peplin on github)

This commit is contained in:
Martin Oldfield 2012-04-26 23:11:25 +01:00
parent e8710da1c0
commit b3a4a24922

View file

@ -63,6 +63,10 @@
# Goldenberg both reported this and
# provided patches in the same spirit.
#
# 0.9 26.iv.2012 M J Oldfield
# - Allow the punter to specify boards.txt file
# and parser independently (after Peplin on github)
#
########################################################################
#
# STANDARD ARDUINO WORKFLOW
@ -215,7 +219,15 @@ BOARDS_TXT = $(ARDUINO_DIR)/hardware/arduino/boards.txt
endif
ifndef PARSE_BOARD
PARSE_BOARD = ard-parse-boards --boards_txt=$(BOARDS_TXT)
PARSE_BOARD = ard-parse-boards
endif
ifndef PARSE_BOARD_OPTS
PARSE_BOARD_OPTS = --boards_txt=$(BOARDS_TXT)
endif
ifndef PARSE_BOARD_CMD
PARSE_BOARD_CMD = $(PARSE_BOARD) $(PARSE_BOARD_OPTS)
endif
# Which variant ? This affects the include path