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))))
Simplified PARSE_BOARD
instead of