diff options
| author | Dylan Scott <dylan@dylanscott.com.au> | 2016-11-09 07:45:20 +1100 |
|---|---|---|
| committer | Dylan Scott <scott.dylan@abc.net.au> | 2017-01-24 13:53:46 +1100 |
| commit | 245f77b863b1dbea9d87381b5f5cff2516553d1d (patch) | |
| tree | cdc1b4b47955982df0307c09b0c948ef13cdbb0d /Makefile | |
| parent | d5270af1118a86cc8aaf795005941ad980a0d128 (diff) | |
| download | qmk_firmware-245f77b863b1dbea9d87381b5f5cff2516553d1d.tar.gz qmk_firmware-245f77b863b1dbea9d87381b5f5cff2516553d1d.zip | |
Compare Makefile with itself instead of using `--help`
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
| @@ -487,7 +487,7 @@ $(SUBPROJECTS): %: %-allkm | |||
| 487 | .PHONY: % | 487 | .PHONY: % |
| 488 | %: | 488 | %: |
| 489 | # Check if we have the CMP tool installed | 489 | # Check if we have the CMP tool installed |
| 490 | cmp --version >/dev/null 2>&1; if [ $$? -gt 0 ]; then printf "$(MSG_NO_CMP)"; exit 1; fi; | 490 | cmp $(ROOT_DIR)/Makefile $(ROOT_DIR)/Makefile >/dev/null 2>&1; if [ $$? -gt 0 ]; then printf "$(MSG_NO_CMP)"; exit 1; fi; |
| 491 | # Check if the submodules are dirty, and display a warning if they are | 491 | # Check if the submodules are dirty, and display a warning if they are |
| 492 | git submodule status --recursive 2>/dev/null | \ | 492 | git submodule status --recursive 2>/dev/null | \ |
| 493 | while IFS= read -r x; do \ | 493 | while IFS= read -r x; do \ |
| @@ -531,4 +531,4 @@ BUILD_DATE := $(shell date +"%Y-%m-%d-%H:%M:%S") | |||
| 531 | $(shell echo '#define QMK_VERSION "$(GIT_VERSION)"' > $(ROOT_DIR)/quantum/version.h) | 531 | $(shell echo '#define QMK_VERSION "$(GIT_VERSION)"' > $(ROOT_DIR)/quantum/version.h) |
| 532 | $(shell echo '#define QMK_BUILDDATE "$(BUILD_DATE)"' >> $(ROOT_DIR)/quantum/version.h) | 532 | $(shell echo '#define QMK_BUILDDATE "$(BUILD_DATE)"' >> $(ROOT_DIR)/quantum/version.h) |
| 533 | 533 | ||
| 534 | include $(ROOT_DIR)/testlist.mk \ No newline at end of file | 534 | include $(ROOT_DIR)/testlist.mk |
