From b79e309f55eef25aaed07b91f180bcb294632143 Mon Sep 17 00:00:00 2001
From: dam1n19 <dam1n19@soton.ac.uk>
Date: Mon, 3 Jul 2023 22:23:39 +0100
Subject: [PATCH] Added recipies to top-level makefile to pass to fpga makefile

---
 makefile | 12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git a/makefile b/makefile
index 39a13f6..17ed41a 100644
--- a/makefile
+++ b/makefile
@@ -529,6 +529,18 @@ clean_code:
 verify:
 	@python3 $(SOCLABS_SOCTOOLS_FLOW_DIR)/tools/adp_verify.py
 
+# ------- FPGA ------------
+
+# Call Make recipies in fpga directory
+build_fpga:
+	$(MAKE) -C $(SOCLABS_NANOSOC_TECH_DIR)/fpga build_fpga $@
+
+clean_fpga:
+	$(MAKE) -C $(SOCLABS_NANOSOC_TECH_DIR)/fpga clean_fpga $@
+	
+clean_fpga_all:
+	$(MAKE) -C $(SOCLABS_NANOSOC_TECH_DIR)/fpga clean_fpga_all $@
+
 # ------- clean -----------
 
 # Remove RTL compile files, log files, software compile files
-- 
GitLab