diff options
| author | Simon John <git@the-jedi.co.uk> | 2015-10-27 21:41:49 +0000 |
|---|---|---|
| committer | Simon John <git@the-jedi.co.uk> | 2015-10-27 21:41:49 +0000 |
| commit | 9afa0e787cbb1fb274f4fa58754612b534d61973 (patch) | |
| tree | 40f6e509e314987924b77b6dcf30c1fe60abaa57 /Arduino.mk | |
| parent | 02a1811d454340a7b7ad1d5123bb96d623c805fb (diff) | |
| parent | fb2567e7fb3ae8c50eea79bbd1524609587b5b03 (diff) | |
Merge pull request #393 from zabereer/master
Better parsing of boards.txt file, thanks for the PR and good spotting!
Diffstat (limited to 'Arduino.mk')
| -rw-r--r-- | Arduino.mk | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -568,7 +568,7 @@ endif ifndef PARSE_BOARD # result = $(call READ_BOARD_TXT, 'boardname', 'parameter') - PARSE_BOARD = $(shell grep -v '^\#' $(BOARDS_TXT) | grep $(1).$(2)= | cut -d = -f 2 ) + PARSE_BOARD = $(shell grep -v '^\#' $(BOARDS_TXT) | grep "^[ \t]*$(1).$(2)=" | cut -d = -f 2) endif # If NO_CORE is set, then we don't have to parse boards.txt file |
