Require board to be set
This commit is contained in:
		
							
								
								
									
										10
									
								
								Makefile
									
									
									
									
									
								
							
							
						
						
									
										10
									
								
								Makefile
									
									
									
									
									
								
							@@ -1,9 +1,9 @@
 | 
				
			|||||||
# Parameter for current board
 | 
					# Parameter for current board
 | 
				
			||||||
#BOARD?=system76/galp3-c
 | 
					ifeq ($(BOARD),)
 | 
				
			||||||
BOARD?=system76/lemp9
 | 
					$(info $(shell echo Please set BOARD to one of the following))
 | 
				
			||||||
#BOARD?=arduino/mega2560
 | 
					$(info $(shell cd src/board && echo */*))
 | 
				
			||||||
#BOARD?=arduino/micro
 | 
					$(error BOARD not set)
 | 
				
			||||||
#BOARD?=arduino/uno
 | 
					endif
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# Set build directory
 | 
					# Set build directory
 | 
				
			||||||
BUILD=build/$(BOARD)
 | 
					BUILD=build/$(BOARD)
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user