diff options
-rw-r--r-- | toolchain/Makefile | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/toolchain/Makefile b/toolchain/Makefile index 409955c23a..e4631bc7bf 100644 --- a/toolchain/Makefile +++ b/toolchain/Makefile @@ -70,6 +70,7 @@ endif endif ifdef CONFIG_BUILDBOT +ifneq ($(wildcard $(TOPDIR)/.git),) $(TOOLCHAIN_DIR)/stamp/.ver_check: $(TMP_DIR)/.build cd "$(TOPDIR)"; git log --format=%h -1 toolchain > $(TMP_DIR)/.ver_check cmp -s $(TMP_DIR)/.ver_check $@ || { \ @@ -80,6 +81,7 @@ ifdef CONFIG_BUILDBOT $(TOOLCHAIN_DIR)/info.mk $(STAGING_DIR)/.prepared: $(TOOLCHAIN_DIR)/stamp/.ver_check endif +endif # prerequisites for the individual targets $(curdir)/ := .config prereq |