summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile.rules4
1 files changed, 3 insertions, 1 deletions
diff --git a/Makefile.rules b/Makefile.rules
index cdbdb14b33..1f9b05b1af 100644
--- a/Makefile.rules
+++ b/Makefile.rules
@@ -519,7 +519,9 @@ $(out)/RW/%.a:
# Conditionally force the rebuilding of ec_version.h only if it would be
# changed.
old_version_hash := $(shell cat $(out)/ec_version.h 2> /dev/null | md5sum -)
-new_version_hash := $(shell BOARD=$(BOARD) ./util/getversion.sh | md5sum -)
+new_version_hash := $(shell BOARD=$(BOARD) CR50_DEV=$(CR50_DEV) \
+ CR50_SQA=$(CR50_SQA) CRYPTO_TEST=$(CRYPTO_TEST) \
+ ./util/getversion.sh | md5sum -)
ifneq ($(old_version_hash),$(new_version_hash))
.PHONY: $(out)/ec_version.h