peplin/arduino.mk — pull request #12 by rei-vilo (2012-02-07 19:10:32+00:00)
Title: Simplified PARSE_BOARD

Simplified PARSE_BOARD

```
PARSE_BOARD = $(shell grep $(1).$(2) $(BOARDS_TXT) | cut -d =... -f 2 )
```
instead of

```
nullstring :=
spacestring := $(nullstring) # end of the line
equalstring := $(nullstring)=# end of the line
# result = $(call READ_BOARD_TXT, 'boardname', 'parameter')
PARSE_BOARD = $(lastword $(subst $(equalstring),$(spacestring),$(shell grep $(1).$(2) $(BOARDS_TXT))))
```