summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--fuzz/build.mk5
1 files changed, 4 insertions, 1 deletions
diff --git a/fuzz/build.mk b/fuzz/build.mk
index 56396b5bd9..b03043d6cc 100644
--- a/fuzz/build.mk
+++ b/fuzz/build.mk
@@ -24,7 +24,10 @@ fuzz-test-list-host = host_command_fuzz
cr50_fuzz-rw = cr50_fuzz.o pinweaver_model.o mem_hash_tree.o
host_command_fuzz-y = host_command_fuzz.o
-$(out)/RW/fuzz/cr50_fuzz.o: $(out)/gen/fuzz/cr50_fuzz.pb.h
+CR50_PROTO_HEADERS := $(out)/gen/fuzz/cr50_fuzz.pb.h \
+ $(out)/gen/fuzz/pinweaver/pinweaver.pb.h
+$(out)/RW/fuzz/pinweaver_model.o: ${CR50_PROTO_HEADERS}
+$(out)/RW/fuzz/cr50_fuzz.o: ${CR50_PROTO_HEADERS}
$(out)/RW/fuzz/cr50_fuzz.o: CPPFLAGS+=${LIBPROTOBUF_MUTATOR_CFLAGS}
$(out)/cr50_fuzz.exe: $(out)/cryptoc/libcryptoc.a \