X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=message.mk;h=f5fb751ed8dd9fc53149ac2243d0b4b20caee86f;hb=0ea6cf719ea585efd51b6786de16e8679cae705b;hp=4f72202e6a3687c1bb245ae407e110b3f862d666;hpb=ee43856ff7ba37ea89d1a8a4700efba4e4f69571;p=qmk_firmware.git diff --git a/message.mk b/message.mk index 4f72202e6..f5fb751ed 100644 --- a/message.mk +++ b/message.mk @@ -9,7 +9,7 @@ ifeq ($(COLOR),true) BOLD=\033[1m endif -ifneq ($(shell awk --version 2>/dev/null),) +ifneq ($(shell echo "1 2 3" | awk '{ printf "%2s", $$3; }' 2>/dev/null)," 3") AWK=awk else AWK=cat && test @@ -43,9 +43,9 @@ MSG_SIZE_BEFORE = Size before: MSG_SIZE_AFTER = Size after: MSG_COFF = Converting to AVR COFF: MSG_EXTENDED_COFF = Converting to AVR Extended COFF: -MSG_FLASH = Creating load file for Flash: +MSG_FLASH = Creating load file for flashing: MSG_EEPROM = Creating load file for EEPROM: -MSG_BIN = Creating binary load file for Flash: +MSG_BIN = Creating binary load file for flashing: MSG_EXTENDED_LISTING = Creating Extended Listing: MSG_SYMBOL_TABLE = Creating Symbol Table: MSG_LINKING = Linking: @@ -56,8 +56,7 @@ MSG_CLEANING = Cleaning project: MSG_CREATING_LIBRARY = Creating library: MSG_SUBMODULE_DIRTY = $(WARN_COLOR)WARNING:$(NO_COLOR)\n \ Some git sub-modules are out of date or modified, please consider runnning:$(BOLD)\n\ - git submodule sync --recursive\n\ - git submodule update --init --recursive$(NO_COLOR)\n\n\ + make git-submodule\n\ You can ignore this warning if you are not compiling any ChibiOS keyboards,\n\ or if you have modified the ChibiOS libraries yourself. \n\n MSG_NO_CMP = $(ERROR_COLOR)Error:$(NO_COLOR)$(BOLD) cmp command not found, please install diffutils\n$(NO_COLOR) @@ -77,3 +76,7 @@ define GENERATE_MSG_MAKE_TEST endef MSG_MAKE_TEST = $(eval $(call GENERATE_MSG_MAKE_TEST))$(MSG_MAKE_TEST_ACTUAL) MSG_TEST = Testing $(BOLD)$(TEST_NAME)$(NO_COLOR) +MSG_CHECK_FILESIZE = Checking file size of $(TARGET).hex +MSG_FILE_TOO_BIG = $(ERROR_COLOR)Your file is too big!$(NO_COLOR) $(CURRENT_SIZE)/$(MAX_SIZE)\n +MSG_FILE_TOO_SMALL = Your file is too small! $(CURRENT_SIZE)/$(MAX_SIZE)\n +MSG_FILE_JUST_RIGHT = File size is fine - $(CURRENT_SIZE)/$(MAX_SIZE)\n