diff options
| author | Sudar <sudar@sudarmuthu.com> | 2013-06-09 13:12:19 +0530 |
|---|---|---|
| committer | Sudar <sudar@sudarmuthu.com> | 2013-06-09 13:12:19 +0530 |
| commit | 70986c14f69633ff66075e82d34eb9e18f6d9109 (patch) | |
| tree | 024088461117d8a5284312f473c3f29511650f3b /arduino-mk/Arduino.mk | |
| parent | ca49da9f1d3f39482fbf9bbd7a85b96fff9020ae (diff) | |
Strip extra whitespace from the variable. Fixes #57
Diffstat (limited to 'arduino-mk/Arduino.mk')
| -rw-r--r-- | arduino-mk/Arduino.mk | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/arduino-mk/Arduino.mk b/arduino-mk/Arduino.mk index ffe5e08..4f6651b 100644 --- a/arduino-mk/Arduino.mk +++ b/arduino-mk/Arduino.mk @@ -394,6 +394,9 @@ ifndef BOARD_TAG BOARD_TAG = uno $(call show_config_variable,BOARD_TAG,[DEFAULT]) else + # Strip the board tag of any extra whitespace, since it was causing the makefile to fail + # https://github.com/sudar/Arduino-Makefile/issues/57 + BOARD_TAG := $(strip $(BOARD_TAG)) $(call show_config_variable,BOARD_TAG) endif |
