From 54949f43c0a900256c15d5d964c6b1da95d27473 Mon Sep 17 00:00:00 2001 From: Max P Date: Sat, 13 Apr 2024 14:53:50 +0200 Subject: [PATCH] Update Makefile to v1.1.5 and create REPORT_DIR Bumped Makefile version to 1.1.5 and ensured REPORT_DIR is created before generating synthesis reports, addressing the potential issue where missing report directory could disrupt the build process. --- Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index f3c537a..d558860 100644 --- a/Makefile +++ b/Makefile @@ -12,7 +12,7 @@ # Version ########################################################################### -Makefile_Version := 1.1.4 +Makefile_Version := 1.1.5 $(info ISE Makefile Version: $(Makefile_Version)) ########################################################################### @@ -177,6 +177,7 @@ $(BUILD_DIR)/$(PROJECT).scr: ../project.cfg $(BITFILE): ../project.cfg $(V_PATHS) $(VHD_PATHS) ../$(CONSTRAINTS) $(BUILD_DIR)/$(PROJECT).prj $(BUILD_DIR)/$(PROJECT).scr @mkdir -p $(BUILD_DIR) + @mkdir -p $(REPORT_DIR) $(call RUN,xst) $(COMMON_OPTS) \ -ifn $(PROJECT).scr @cp ./$(BUILD_DIR)/$(PROJECT).srp $(REPORT_DIR)/$(PROJECT).SynthesisReport