diff options
author | Fred Sundvik <fsundvik@gmail.com> | 2016-08-15 08:20:16 +0300 |
---|---|---|
committer | Fred Sundvik <fsundvik@gmail.com> | 2016-08-20 03:56:39 +0300 |
commit | 3aac4e95c91be3244d68f27159c2667904c8fddd (patch) | |
tree | 2f2fc72341a17242943f1287412b34954022ff2e /message.mk | |
parent | 87bf34a5d341c3a2381f57c19fcb94c21c8d0122 (diff) | |
download | qmk_firmware-3aac4e95c91be3244d68f27159c2667904c8fddd.tar.gz qmk_firmware-3aac4e95c91be3244d68f27159c2667904c8fddd.zip |
More general system for generating several outputs
Diffstat (limited to 'message.mk')
-rw-r--r-- | message.mk | 29 |
1 files changed, 28 insertions, 1 deletions
diff --git a/message.mk b/message.mk index aefb46de8..6abc78215 100644 --- a/message.mk +++ b/message.mk | |||
@@ -29,4 +29,31 @@ PRINT_ERROR_PLAIN = ($(SILENT) ||printf " $(ERROR_STRING)" | $(AWK_STATUS)) && $ | |||
29 | PRINT_WARNING_PLAIN = ($(SILENT) || printf " $(WARN_STRING)" | $(AWK_STATUS)) && $(TAB_LOG_PLAIN) | 29 | PRINT_WARNING_PLAIN = ($(SILENT) || printf " $(WARN_STRING)" | $(AWK_STATUS)) && $(TAB_LOG_PLAIN) |
30 | PRINT_OK = $(SILENT) || printf " $(OK_STRING)" | $(AWK_STATUS) | 30 | PRINT_OK = $(SILENT) || printf " $(OK_STRING)" | $(AWK_STATUS) |
31 | BUILD_CMD = LOG=$$($(CMD) 2>&1) ; if [ $$? -gt 0 ]; then $(PRINT_ERROR); elif [ "$$LOG" != "" ] ; then $(PRINT_WARNING); else $(PRINT_OK); fi; | 31 | BUILD_CMD = LOG=$$($(CMD) 2>&1) ; if [ $$? -gt 0 ]; then $(PRINT_ERROR); elif [ "$$LOG" != "" ] ; then $(PRINT_WARNING); else $(PRINT_OK); fi; |
32 | MSG_NO_CMP = $(ERROR_COLOR)Error:$(NO_COLOR)$(BOLD) cmp command not found, please install diffutils\n$(NO_COLOR) \ No newline at end of file | 32 | MSG_NO_CMP = $(ERROR_COLOR)Error:$(NO_COLOR)$(BOLD) cmp command not found, please install diffutils\n$(NO_COLOR) |
33 | |||
34 | # Define Messages | ||
35 | # English | ||
36 | MSG_ERRORS_NONE = Errors: none | ||
37 | MSG_BEGIN = -------- begin -------- | ||
38 | MSG_END = -------- end -------- | ||
39 | MSG_SIZE_BEFORE = Size before: | ||
40 | MSG_SIZE_AFTER = Size after: | ||
41 | MSG_COFF = Converting to AVR COFF: | ||
42 | MSG_EXTENDED_COFF = Converting to AVR Extended COFF: | ||
43 | MSG_FLASH = Creating load file for Flash: | ||
44 | MSG_EEPROM = Creating load file for EEPROM: | ||
45 | MSG_BIN = Creating binary load file for Flash: | ||
46 | MSG_EXTENDED_LISTING = Creating Extended Listing: | ||
47 | MSG_SYMBOL_TABLE = Creating Symbol Table: | ||
48 | MSG_LINKING = Linking: | ||
49 | MSG_COMPILING = Compiling: | ||
50 | MSG_COMPILING_CPP = Compiling: | ||
51 | MSG_ASSEMBLING = Assembling: | ||
52 | MSG_CLEANING = Cleaning project: | ||
53 | MSG_CREATING_LIBRARY = Creating library: | ||
54 | MSG_SUBMODULE_DIRTY = $(WARN_COLOR)WARNING:$(NO_COLOR)\n \ | ||
55 | Some git sub-modules are out of date or modified, please consider runnning:$(BOLD)\n\ | ||
56 | git submodule sync --recursive\n\ | ||
57 | git submodule update --init --recursive$(NO_COLOR)\n\n\ | ||
58 | You can ignore this warning if you are not compiling any ChibiOS keyboards,\n\ | ||
59 | or if you have modified the ChibiOS libraries yourself. \n\n \ No newline at end of file | ||