mirror of
				https://github.com/YosysHQ/yosys
				synced 2025-11-04 13:29:12 +00:00 
			
		
		
		
	Improved building of yosys-abc
This commit is contained in:
		
							parent
							
								
									a694324a75
								
							
						
					
					
						commit
						f3345bd3b4
					
				
					 1 changed files with 5 additions and 1 deletions
				
			
		
							
								
								
									
										6
									
								
								Makefile
									
										
									
									
									
								
							
							
						
						
									
										6
									
								
								Makefile
									
										
									
									
									
								
							| 
						 | 
				
			
			@ -27,6 +27,7 @@ GIT_REV := $(shell git rev-parse --short HEAD || echo UNKOWN)
 | 
			
		|||
OBJS = kernel/version_$(GIT_REV).o
 | 
			
		||||
 | 
			
		||||
ABCREV = 0f9e5488ced3
 | 
			
		||||
ABCHGPULL = 1
 | 
			
		||||
 | 
			
		||||
-include Makefile.conf
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			@ -97,8 +98,11 @@ yosys-svgviewer: libs/svgviewer/*.h libs/svgviewer/*.cpp
 | 
			
		|||
	cp libs/svgviewer/svgviewer yosys-svgviewer
 | 
			
		||||
 | 
			
		||||
abc:
 | 
			
		||||
ifeq ($(ABCHGPULL),1)
 | 
			
		||||
	test -d abc || hg clone https://bitbucket.org/alanmi/abc abc
 | 
			
		||||
	cd abc && hg pull && hg update -r $(ABCREV) && make
 | 
			
		||||
	cd abc && hg pull && hg update -r $(ABCREV)
 | 
			
		||||
endif
 | 
			
		||||
	cd abc && $(MAKE)
 | 
			
		||||
	cp abc/abc yosys-abc
 | 
			
		||||
 | 
			
		||||
test: yosys
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue