Skip to content

Commit 20ee103

Browse files
authored
Remove cmp checks from Makefile (#19480)
1 parent b497d58 commit 20ee103

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

Makefile

-2
Original file line numberDiff line numberDiff line change
@@ -395,8 +395,6 @@ endef
395395
# Catch everything and parse the command line ourselves.
396396
.PHONY: %
397397
%:
398-
# Check if we have the CMP tool installed
399-
cmp $(ROOT_DIR)/Makefile $(ROOT_DIR)/Makefile >/dev/null 2>&1; if [ $$? -gt 0 ]; then printf "$(MSG_NO_CMP)"; exit 1; fi;
400398
# Ensure that $(QMK_BIN) works.
401399
if ! $(QMK_BIN) hello 1> /dev/null 2>&1; then printf "$(MSG_PYTHON_MISSING)"; exit 1; fi
402400
ifdef NOT_REPO

builddefs/message.mk

+1-2
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,6 @@ MSG_NOT_REPO = $(WARN_COLOR)WARNING:$(NO_COLOR) Target folder is not a git repo,
6868
Please consider following $(BOLD)https://docs.qmk.fm/\#/newbs_getting_started$(NO_COLOR).\n\n
6969
MSG_SUBMODULE_DIRTY = $(WARN_COLOR)WARNING:$(NO_COLOR) Some git submodules are out of date or modified.\n\
7070
Please consider running $(BOLD)qmk git-submodule$(NO_COLOR).\n\n
71-
MSG_NO_CMP = $(ERROR_COLOR)Error:$(NO_COLOR)$(BOLD) cmp command not found, please install diffutils\n$(NO_COLOR)
7271

7372
define GENERATE_MSG_MAKE_KB
7473
MSG_MAKE_KB_ACTUAL := Making $$(KB_SP) with keymap $(BOLD)$$(CURRENT_KM)$(NO_COLOR)
@@ -108,4 +107,4 @@ MSG_BOOTLOADER_NOT_FOUND_QUICK_RETRY = $(MSG_BOOTLOADER_NOT_FOUND_BASE) Trying a
108107
define CATASTROPHIC_ERROR
109108
$(shell printf "\n * %-99s $(ERROR_STRING)\n" "$2" >&2)
110109
$(error $1)
111-
endef
110+
endef

0 commit comments

Comments
 (0)