summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--fuel/build/cache.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/fuel/build/cache.mk b/fuel/build/cache.mk
index 6ce75a5..b88ac2f 100644
--- a/fuel/build/cache.mk
+++ b/fuel/build/cache.mk
@@ -1,4 +1,4 @@
-##############################################################################
+#############################################################################
# Copyright (c) 2015 Ericsson AB and others.
# stefan.k.berg@ericsson.com
# jonas.bjurel@ericsson.com
@@ -59,7 +59,7 @@ $(CACHEFILES):
fi
.PHONY: validate-cache
-validate-cache: prepare $(CACHEVALIDATE)
+validate-cache: $(CACHEVALIDATE)
@if [ "$(shell md5sum $(BUILD_BASE)/config.mk | cut -f1 -d " ")" != "$(shell cat $(VERSION_FILE) | grep config.mk | awk '{print $$NF}')" ]; then\
echo "Cache does not match current config.mk definition, cache must be rebuilt";\
exit 1;\