diff options
author | zvecr <git@zvecr.com> | 2019-01-26 19:03:58 +0100 |
---|---|---|
committer | Jack Humbert <jack.humb@gmail.com> | 2019-01-31 03:42:23 +0100 |
commit | 9f63cd0d1de5c5ece532bdd343f8cf810ac36432 (patch) | |
tree | c04a08c206e034c9d6a7d4e254249892f2657b6b | |
parent | 4082d880bcf5b4dacafa688fefc4f1288c3046be (diff) | |
download | qmk_firmware-9f63cd0d1de5c5ece532bdd343f8cf810ac36432.tar.gz qmk_firmware-9f63cd0d1de5c5ece532bdd343f8cf810ac36432.tar.xz |
Remove duplicate make invocations
-rw-r--r-- | Makefile | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -548,9 +548,10 @@ endif # it has to be there to allow parallel execution of the submake # This always tries to compile everything, even if error occurs in the middle # But we return the error code at the end, to trigger travis failures - $(foreach COMMAND,$(COMMANDS),$(RUN_COMMAND)) + # The sort at this point is to remove duplicates + $(foreach COMMAND,$(sort $(COMMANDS)),$(RUN_COMMAND)) if [ -f $(ERROR_FILE) ]; then printf "$(MSG_ERRORS)" & exit 1; fi; - $(foreach TEST,$(TESTS),$(RUN_TEST)) + $(foreach TEST,$(sort $(TESTS)),$(RUN_TEST)) if [ -f $(ERROR_FILE) ]; then printf "$(MSG_ERRORS)" & exit 1; fi; # These no longer work because of the colon system |