summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRyan <fauxpark@gmail.com>2021-09-29 06:08:46 +1000
committerGitHub <noreply@github.com>2021-09-29 06:08:46 +1000
commit873a1999bb962834d88713796741c22339fb670f (patch)
tree7a5ea5c6c1040ec76081e6cb29a8b06b637207c7
parent705cd433c22aad00b12183eaa3bada50d90fd97b (diff)
downloadqmk_firmware-873a1999bb962834d88713796741c22339fb670f.tar.gz
qmk_firmware-873a1999bb962834d88713796741c22339fb670f.zip
Move "firmware size check skipped" note to message.mk (#14632)
-rw-r--r--message.mk1
-rw-r--r--tmk_core/rules.mk2
2 files changed, 2 insertions, 1 deletions
diff --git a/message.mk b/message.mk
index 419e3f5f31..cb4ef43719 100644
--- a/message.mk
+++ b/message.mk
@@ -88,6 +88,7 @@ endef
MSG_AVAILABLE_KEYMAPS = $(eval $(call GENERATE_MSG_AVAILABLE_KEYMAPS))$(MSG_AVAILABLE_KEYMAPS_ACTUAL)
MSG_CHECK_FILESIZE = Checking file size of $(TARGET).$(FIRMWARE_FORMAT)
+MSG_CHECK_FILESIZE_SKIPPED = (Firmware size check does not yet support $(MCU_ORIG); skipping)
MSG_FILE_TOO_BIG = $(ERROR_COLOR)The firmware is too large!$(NO_COLOR) $(CURRENT_SIZE)/$(MAX_SIZE) ($(OVER_SIZE) bytes over)\n
MSG_FILE_TOO_SMALL = The firmware is too small! $(CURRENT_SIZE)/$(MAX_SIZE)\n
MSG_FILE_JUST_RIGHT = The firmware size is fine - $(CURRENT_SIZE)/$(MAX_SIZE) ($(PERCENT_SIZE)%%, $(FREE_SIZE) bytes free)\n
diff --git a/tmk_core/rules.mk b/tmk_core/rules.mk
index 5a7f299102..fd59fa032a 100644
--- a/tmk_core/rules.mk
+++ b/tmk_core/rules.mk
@@ -484,7 +484,7 @@ check-size:
fi
else
check-size:
- $(SILENT) || echo "(Firmware size check does not yet support $(MCU) microprocessors; skipping.)"
+ $(SILENT) || echo "$(MSG_CHECK_FILESIZE_SKIPPED)"
endif
check-md5: