aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorzvecr <git@zvecr.com>2019-01-26 18:03:58 +0000
committerJack Humbert <jack.humb@gmail.com>2019-01-30 21:42:23 -0500
commit9f63cd0d1de5c5ece532bdd343f8cf810ac36432 (patch)
treec04a08c206e034c9d6a7d4e254249892f2657b6b /Makefile
parent4082d880bcf5b4dacafa688fefc4f1288c3046be (diff)
downloadqmk_firmware-9f63cd0d1de5c5ece532bdd343f8cf810ac36432.tar.gz
qmk_firmware-9f63cd0d1de5c5ece532bdd343f8cf810ac36432.zip
Remove duplicate make invocations
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 45e47c003..dd3335711 100644
--- a/Makefile
+++ b/Makefile
@@ -548,9 +548,10 @@ endif
548 # it has to be there to allow parallel execution of the submake 548 # it has to be there to allow parallel execution of the submake
549 # This always tries to compile everything, even if error occurs in the middle 549 # This always tries to compile everything, even if error occurs in the middle
550 # But we return the error code at the end, to trigger travis failures 550 # But we return the error code at the end, to trigger travis failures
551 $(foreach COMMAND,$(COMMANDS),$(RUN_COMMAND)) 551 # The sort at this point is to remove duplicates
552 $(foreach COMMAND,$(sort $(COMMANDS)),$(RUN_COMMAND))
552 if [ -f $(ERROR_FILE) ]; then printf "$(MSG_ERRORS)" & exit 1; fi; 553 if [ -f $(ERROR_FILE) ]; then printf "$(MSG_ERRORS)" & exit 1; fi;
553 $(foreach TEST,$(TESTS),$(RUN_TEST)) 554 $(foreach TEST,$(sort $(TESTS)),$(RUN_TEST))
554 if [ -f $(ERROR_FILE) ]; then printf "$(MSG_ERRORS)" & exit 1; fi; 555 if [ -f $(ERROR_FILE) ]; then printf "$(MSG_ERRORS)" & exit 1; fi;
555 556
556# These no longer work because of the colon system 557# These no longer work because of the colon system