Move bootloader_defs include to build_keyboard
Also fix it for subprojects
This commit is contained in:
		
							parent
							
								
									9028a412ea
								
							
						
					
					
						commit
						3442e216dc
					
				
					 2 changed files with 9 additions and 8 deletions
				
			
		| 
						 | 
				
			
			@ -143,14 +143,6 @@ MCUFLAGS = -mcpu=$(MCU)
 | 
			
		|||
 | 
			
		||||
DEBUG = gdb
 | 
			
		||||
 | 
			
		||||
# Define ASM defines here
 | 
			
		||||
# bootloader definitions may be used in the startup .s file
 | 
			
		||||
ifneq ("$(wildcard $(KEYBOARD_PATH)/bootloader_defs.h)","")
 | 
			
		||||
    OPT_DEFS += -include $(KEYBOARD_PATH)/bootloader_defs.h
 | 
			
		||||
else ifneq ("$(wildcard $(KEYBOARD_PATH)/boards/$(BOARD)/bootloader_defs.h)","")
 | 
			
		||||
    OPT_DEFS += -include $(KEYBOARD_PATH)/boards/$(BOARD)/bootloader_defs.h
 | 
			
		||||
endif
 | 
			
		||||
 | 
			
		||||
# List any extra directories to look for libraries here.
 | 
			
		||||
EXTRALIBDIRS = $(RULESPATH)/ld
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue