Don't add VERSION as a define
To avoid full recompilation when the git commit hash changes.
This commit is contained in:
		
							parent
							
								
									60c6e79ecb
								
							
						
					
					
						commit
						dd8c1a7659
					
				
					 2 changed files with 2 additions and 4 deletions
				
			
		| 
						 | 
				
			
			@ -106,9 +106,6 @@ $(error MASTER does not have a valid value(left/right))
 | 
			
		|||
endif
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
# Version string
 | 
			
		||||
OPT_DEFS += -DVERSION=$(GIT_VERSION)
 | 
			
		||||
 | 
			
		||||
# Bootloader address
 | 
			
		||||
ifdef STM32_BOOTLOADER_ADDRESS
 | 
			
		||||
    OPT_DEFS += -DSTM32_BOOTLOADER_ADDRESS=$(STM32_BOOTLOADER_ADDRESS)
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue