From 37973c3f7f1d85acde0591e4c6be8564b0e2fc7b Mon Sep 17 00:00:00 2001
From: dam1n19 <dam1n19@soton.ac.uk>
Date: Thu, 6 Jul 2023 07:04:38 +0100
Subject: [PATCH] Fix software compilation

---
 flows/makefile.software | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/flows/makefile.software b/flows/makefile.software
index 19381f5..aa13a77 100644
--- a/flows/makefile.software
+++ b/flows/makefile.software
@@ -169,7 +169,7 @@ compile_all_code: bootrom debugtester
 	  echo Removing old image.hex ;\
 	  rm -f image.hex  ;\
 	  $(MAKE) testcode TESTNAME=$$thistest;\
-	  if [ -e $(SIM_DIR)/$$thistest/image.hex ] ; then \
+	  if [ -e $(SIM_TOP_DIR)/$$thistest/image.hex ] ; then \
             echo OK    - image.hex     created for test $$thistest ;\
 	  else \
 	    echo ERROR - image.hex NOT created for test $$thistest ;\
-- 
GitLab