Add .vmem to matcha_sw_all target output
Change-Id: I7128ec3b9f93748e66bb8f56779c95fdec130385
diff --git a/platforms/nexus/matcha_hw.mk b/platforms/nexus/matcha_hw.mk
index 9b84896..fcfa68d 100644
--- a/platforms/nexus/matcha_hw.mk
+++ b/platforms/nexus/matcha_hw.mk
@@ -78,7 +78,7 @@
bazel build --define DISABLE_VERILATOR_BUILD=true --build_tag_filters="-kelvin_fpga" \
//sw/device/...
cd $(MATCHA_SRC_DIR) && \
- find "bazel-out/" \( -type f -name "*.elf" -o -name "*.bin" \) \
+ find "bazel-out/" \( -type f -name "*.elf" -o -name "*.bin" -o -name "*.vmem" \) \
-exec cp -f --parents "{}" "$(MATCHA_OUT_DIR)" \;
$(MATCHA_FPGA_MATCHA_BINARY_DIR):
diff --git a/platforms/shodan/matcha_hw.mk b/platforms/shodan/matcha_hw.mk
index c6b7dff..443e8f5 100644
--- a/platforms/shodan/matcha_hw.mk
+++ b/platforms/shodan/matcha_hw.mk
@@ -77,7 +77,7 @@
bazel build --define DISABLE_VERILATOR_BUILD=true --build_tag_filters="-kelvin_fpga" \
//sw/device/...
cd $(MATCHA_SRC_DIR) && \
- find "bazel-out/" \( -type f -name "*.elf" -o -name "*.bin" \) \
+ find "bazel-out/" \( -type f -name "*.elf" -o -name "*.bin" -o -name "*.vmem" \) \
-exec cp -f --parents "{}" "$(MATCHA_OUT_DIR)" \;