make: Remove version from build output path
Support building only a single version for a model. This removes the need to determine the git commit hash and date in order to access build artifacts. Signed-off-by: Tim Crawford <tcrawford@system76.com>
This commit is contained in:
		
				
					committed by
					
						
						Tim Crawford
					
				
			
			
				
	
			
			
			
						parent
						
							bb1ce2273b
						
					
				
				
					commit
					c461e20df3
				
			
							
								
								
									
										2
									
								
								Makefile
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								Makefile
									
									
									
									
									
								
							@@ -23,7 +23,7 @@ VERSION?=$(DATE)_$(REV)
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
# Set build directory
 | 
					# Set build directory
 | 
				
			||||||
obj = build
 | 
					obj = build
 | 
				
			||||||
BUILD = $(obj)/$(BOARD)/$(VERSION)
 | 
					BUILD = $(obj)/$(BOARD)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# Default target - build the board's EC firmware
 | 
					# Default target - build the board's EC firmware
 | 
				
			||||||
all: $(BUILD)/ec.rom
 | 
					all: $(BUILD)/ec.rom
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user