mirror of
				https://github.com/YosysHQ/yosys
				synced 2025-11-04 13:29:12 +00:00 
			
		
		
		
	Added "make SMALL=1"
This commit is contained in:
		
							parent
							
								
									34ea9e3f09
								
							
						
					
					
						commit
						45b4154b37
					
				
					 2 changed files with 30 additions and 1 deletions
				
			
		
							
								
								
									
										26
									
								
								Makefile
									
										
									
									
									
								
							
							
						
						
									
										26
									
								
								Makefile
									
										
									
									
									
								
							| 
						 | 
				
			
			@ -22,6 +22,7 @@ EXTRA_TARGETS =
 | 
			
		|||
TARGETS = yosys yosys-config
 | 
			
		||||
 | 
			
		||||
PRETTY = 1
 | 
			
		||||
SMALL = 0
 | 
			
		||||
 | 
			
		||||
all: top-all
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			@ -124,6 +125,9 @@ OBJS += libs/bigint/BigIntegerAlgorithms.o libs/bigint/BigInteger.o libs/bigint/
 | 
			
		|||
OBJS += libs/bigint/BigUnsigned.o libs/bigint/BigUnsignedInABase.o
 | 
			
		||||
 | 
			
		||||
OBJS += libs/sha1/sha1.o
 | 
			
		||||
 | 
			
		||||
ifneq ($(SMALL),1)
 | 
			
		||||
 | 
			
		||||
OBJS += libs/subcircuit/subcircuit.o
 | 
			
		||||
 | 
			
		||||
OBJS += libs/ezsat/ezsat.o
 | 
			
		||||
| 
						 | 
				
			
			@ -139,6 +143,28 @@ include passes/*/Makefile.inc
 | 
			
		|||
include backends/*/Makefile.inc
 | 
			
		||||
include techlibs/*/Makefile.inc
 | 
			
		||||
 | 
			
		||||
else
 | 
			
		||||
 | 
			
		||||
include frontends/verilog/Makefile.inc
 | 
			
		||||
include frontends/ilang/Makefile.inc
 | 
			
		||||
include frontends/ast/Makefile.inc
 | 
			
		||||
 | 
			
		||||
OBJS += passes/hierarchy/hierarchy.o
 | 
			
		||||
OBJS += passes/cmds/select.o
 | 
			
		||||
OBJS += passes/cmds/show.o
 | 
			
		||||
OBJS += passes/cmds/stat.o
 | 
			
		||||
OBJS += passes/cmds/cover.o
 | 
			
		||||
 | 
			
		||||
include passes/proc/Makefile.inc
 | 
			
		||||
include passes/opt/Makefile.inc
 | 
			
		||||
include passes/techmap/Makefile.inc
 | 
			
		||||
include passes/abc/Makefile.inc
 | 
			
		||||
 | 
			
		||||
include backends/verilog/Makefile.inc
 | 
			
		||||
include backends/ilang/Makefile.inc
 | 
			
		||||
 | 
			
		||||
endif
 | 
			
		||||
 | 
			
		||||
top-all: $(TARGETS) $(EXTRA_TARGETS)
 | 
			
		||||
 | 
			
		||||
yosys: $(OBJS)
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -2,10 +2,13 @@
 | 
			
		|||
OBJS += passes/techmap/techmap.o
 | 
			
		||||
OBJS += passes/techmap/simplemap.o
 | 
			
		||||
OBJS += passes/techmap/dfflibmap.o
 | 
			
		||||
OBJS += passes/techmap/libparse.o
 | 
			
		||||
 | 
			
		||||
ifneq ($(SMALL),1)
 | 
			
		||||
OBJS += passes/techmap/iopadmap.o
 | 
			
		||||
OBJS += passes/techmap/hilomap.o
 | 
			
		||||
OBJS += passes/techmap/libparse.o
 | 
			
		||||
OBJS += passes/techmap/extract.o
 | 
			
		||||
endif
 | 
			
		||||
 | 
			
		||||
GENFILES += passes/techmap/stdcells.inc
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue