diff options
| author | Martin Oldfield <m@mjo.tc> | 2012-04-26 23:11:25 +0100 |
|---|---|---|
| committer | Martin Oldfield <m@mjo.tc> | 2012-04-26 23:11:25 +0100 |
| commit | b3a4a24922378629b65e07fb87dc65d0f3a52bc9 (patch) | |
| tree | 8e00ba40ade77ba358e1a3236bf841d5adde7964 /arduino-mk | |
| parent | e8710da1c0a35aca1d2ca24538af3760676a5079 (diff) | |
Allow punter to specify boards.txt file independently of command (after Peplin on github)
Diffstat (limited to 'arduino-mk')
| -rw-r--r-- | arduino-mk/Arduino.mk | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/arduino-mk/Arduino.mk b/arduino-mk/Arduino.mk index 2d39095..2cc411d 100644 --- a/arduino-mk/Arduino.mk +++ b/arduino-mk/Arduino.mk @@ -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 |
