From 0f40c1f516e4322508c91c8811bb6c96db0d3b39 Mon Sep 17 00:00:00 2001 From: Roland Coeurjoly Date: Fri, 12 Apr 2024 04:23:28 +0200 Subject: [PATCH] WIP --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 1c3382bfb28..0594ae79966 100644 --- a/Makefile +++ b/Makefile @@ -786,7 +786,7 @@ ABC_SOURCES := $(wildcard $(YOSYS_SRC)/abc/*) # This is a relative path, that is, we would like to build abc in $ROOT/abc/abc if compiling from root or $ROOT/build/abc/abc if compiling from $ROOT/build abc/abc$(EXE) abc/libabc.a: $(ABC_SOURCES) $(P) - $(Q) $(MAKE) -C $(YOSYS_SRC)/abc $(S) $(ABCMKARGS) $(if $(filter %.a,$@),PROG="abc",PROG="abc$(EXE)") MSG_PREFIX="$(eval P_OFFSET = 5)$(call P_SHOW)$(eval P_OFFSET = 10) ABC: " $(if $(filter %.a,$@),libabc.a) + $(Q) mkdir -p abc && $(MAKE) -C $(PROGRAM_PREFIX)abc -f "$(realpath $(YOSYS_SRC)/abc/Makefile)" ABCSRC="$(realpath $(YOSYS_SRC)/abc/)" $(S) $(ABCMKARGS) $(if $(filter %.a,$@),PROG="abc",PROG="abc$(EXE)") MSG_PREFIX="$(eval P_OFFSET = 5)$(call P_SHOW)$(eval P_OFFSET = 10) ABC: " $(if $(filter %.a,$@),libabc.a) $(PROGRAM_PREFIX)yosys-abc$(EXE): abc/abc$(EXE) $(P) cp abc/abc$(EXE) $(PROGRAM_PREFIX)yosys-abc$(EXE)