diff options
Diffstat (limited to 'Common.mk')
| -rw-r--r-- | Common.mk | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -5,16 +5,14 @@ COMMON_INCLUDED = TRUE # (directory and optional filename) exists dir_if_exists = $(if $(wildcard $(1)$(2)),$(1)) -ifndef PARSE_BOARD # result = $(call READ_BOARD_TXT, 'boardname', 'parameter') PARSE_BOARD = $(shell if [ -f $(BOARDS_TXT) ]; \ then \ grep -Ev '^\#' $(BOARDS_TXT) | \ grep -E "^[ \t]*$(1).$(2)=" | \ - cut -d = -f 2 | \ + cut -d = -f 2- | \ cut -d : -f 2; \ fi) -endif # Run a shell script if it exists. Stops make on error. runscript_if_exists = \ |
