From 468ced3868e96d428808a67d4b9503648dd2d84e Mon Sep 17 00:00:00 2001 From: Graydon Hoare Date: Fri, 30 Dec 2011 12:48:07 -0800 Subject: [PATCH] Make install and check targets depend on all. Close #1395. --- mk/install.mk | 2 +- mk/tests.mk | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/mk/install.mk b/mk/install.mk index 27e6de021a8..fec61ff6bc5 100644 --- a/mk/install.mk +++ b/mk/install.mk @@ -52,7 +52,7 @@ $(foreach target,$(CFG_TARGET_TRIPLES), \ INSTALL_TARGET_RULES = $(foreach target,$(CFG_TARGET_TRIPLES), \ install-target-$(target)-host-$(CFG_HOST_TRIPLE)) -install: install-host install-targets +install: all install-host install-targets # Shorthand for build/stageN/bin HB = $(HBIN$(ISTAGE)_H_$(CFG_HOST_TRIPLE)) diff --git a/mk/tests.mk b/mk/tests.mk index 98922c33d13..08790c0766a 100644 --- a/mk/tests.mk +++ b/mk/tests.mk @@ -70,9 +70,9 @@ endif # Main test targets ###################################################################### -check: tidy check-stage3 \ +check: all tidy check-stage3 \ -check-full: tidy check-stage1 check-stage2 check-stage3 \ +check-full: all tidy check-stage1 check-stage2 check-stage3 \ # Run the tidy script in multiple parts to avoid huge 'echo' commands ifdef CFG_NOTIDY