From c64b1de11da8db9e912e0a293d5c9c8a9bc31096 Mon Sep 17 00:00:00 2001 From: Clifford Wolf Date: Tue, 30 Dec 2014 11:41:24 +0100 Subject: [PATCH] Fixed build with SMALL=1 --- passes/opt/Makefile.inc | 3 +++ passes/techmap/Makefile.inc | 2 +- techlibs/common/Makefile.inc | 2 ++ 3 files changed, 6 insertions(+), 1 deletion(-) diff --git a/passes/opt/Makefile.inc b/passes/opt/Makefile.inc index 3a8d27f93..6b075cd9a 100644 --- a/passes/opt/Makefile.inc +++ b/passes/opt/Makefile.inc @@ -6,6 +6,9 @@ OBJS += passes/opt/opt_reduce.o OBJS += passes/opt/opt_rmdff.o OBJS += passes/opt/opt_clean.o OBJS += passes/opt/opt_const.o + +ifneq ($(SMALL),1) OBJS += passes/opt/share.o OBJS += passes/opt/wreduce.o +endif diff --git a/passes/techmap/Makefile.inc b/passes/techmap/Makefile.inc index 773a099ac..d8a433164 100644 --- a/passes/techmap/Makefile.inc +++ b/passes/techmap/Makefile.inc @@ -2,13 +2,13 @@ OBJS += passes/techmap/techmap.o OBJS += passes/techmap/simplemap.o OBJS += passes/techmap/dfflibmap.o +OBJS += passes/techmap/maccmap.o OBJS += passes/techmap/libparse.o ifneq ($(SMALL),1) OBJS += passes/techmap/iopadmap.o OBJS += passes/techmap/hilomap.o OBJS += passes/techmap/extract.o -OBJS += passes/techmap/maccmap.o OBJS += passes/techmap/alumacc.o OBJS += passes/techmap/dff2dffe.o endif diff --git a/techlibs/common/Makefile.inc b/techlibs/common/Makefile.inc index 7c8cc2f66..0607ca1a1 100644 --- a/techlibs/common/Makefile.inc +++ b/techlibs/common/Makefile.inc @@ -1,5 +1,7 @@ +ifneq ($(SMALL),1) OBJS += techlibs/common/synth.o +endif EXTRA_TARGETS += techlibs/common/blackbox.v -- 2.30.2