From: Gabriel Somlo Date: Wed, 25 Nov 2020 17:29:59 +0000 (-0500) Subject: fixup over commit 829b5cca to re-enable ABCEXTERNAL support X-Git-Tag: working-ls180~179^2 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=6a328e7032024e8abd3dda561733cac3a033ae60;p=yosys.git fixup over commit 829b5cca to re-enable ABCEXTERNAL support --- diff --git a/Makefile b/Makefile index d352358a0..02592df98 100644 --- a/Makefile +++ b/Makefile @@ -608,6 +608,11 @@ $(eval $(call add_include_file,backends/cxxrtl/cxxrtl_vcd_capi.cc)) $(eval $(call add_include_file,backends/cxxrtl/cxxrtl_vcd_capi.h)) OBJS += kernel/driver.o kernel/register.o kernel/rtlil.o kernel/log.o kernel/calc.o kernel/yosys.o +ifeq ($(ENABLE_ABC),1) +ifneq ($(ABCEXTERNAL),) +kernel/yosys.o: CXXFLAGS += -DABCEXTERNAL='"$(ABCEXTERNAL)"' +endif +endif OBJS += kernel/cellaigs.o kernel/celledges.o kernel/satgen.o kernel/mem.o kernel/log.o: CXXFLAGS += -DYOSYS_SRC='"$(YOSYS_SRC)"'