Don't run git describe for ever file that is built
This commit is contained in:
		
							parent
							
								
									b86b0480d5
								
							
						
					
					
						commit
						ccebceeb6f
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
					@ -107,7 +107,7 @@ endif
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# Version string
 | 
					# Version string
 | 
				
			||||||
OPT_DEFS += -DVERSION=$(shell (git describe --always --dirty || echo 'unknown') 2> /dev/null)
 | 
					OPT_DEFS += -DVERSION=$(GIT_VERSION)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# Bootloader address
 | 
					# Bootloader address
 | 
				
			||||||
ifdef STM32_BOOTLOADER_ADDRESS
 | 
					ifdef STM32_BOOTLOADER_ADDRESS
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue