mirror of
				https://github.com/YosysHQ/yosys
				synced 2025-10-31 03:32:29 +00:00 
			
		
		
		
	Add "echo-yosys-ver" and "echo-git-rev" Makefile targets.
These Makefile targets simply echo the corresponding Makefile variable, simplifying package build scripts. Signed-off-by: Martin Schmölzer <mschmoelzer@gmail.com>
This commit is contained in:
		
							parent
							
								
									694cc01f1d
								
							
						
					
					
						commit
						026b94a6f1
					
				
					 1 changed files with 6 additions and 0 deletions
				
			
		
							
								
								
									
										6
									
								
								Makefile
									
										
									
									
									
								
							
							
						
						
									
										6
									
								
								Makefile
									
										
									
									
									
								
							|  | @ -385,6 +385,12 @@ config-gprof: clean | ||||||
| config-sudo: | config-sudo: | ||||||
| 	echo "INSTALL_SUDO := sudo" >> Makefile.conf | 	echo "INSTALL_SUDO := sudo" >> Makefile.conf | ||||||
| 
 | 
 | ||||||
|  | echo-yosys-ver: | ||||||
|  | 	@echo "$(YOSYS_VER)" | ||||||
|  | 
 | ||||||
|  | echo-git-rev: | ||||||
|  | 	@echo "$(GIT_REV)" | ||||||
|  | 
 | ||||||
| -include libs/*/*.d | -include libs/*/*.d | ||||||
| -include frontends/*/*.d | -include frontends/*/*.d | ||||||
| -include passes/*/*.d | -include passes/*/*.d | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue