Consolidate KEYBOARD_OUTPUT+KEYMAP_OUTPUT=>INTERMEDIATE_OUTPUT (#21272)
				
					
				
			This commit is contained in:
		
							parent
							
								
									45dc1ccffe
								
							
						
					
					
						commit
						ffdc70bf0a
					
				
					 8 changed files with 59 additions and 66 deletions
				
			
		| 
						 | 
				
			
			@ -176,7 +176,7 @@ MOVE_DEP = mv -f $(patsubst %.o,%.td,$@) $(patsubst %.o,%.d,$@)
 | 
			
		|||
 | 
			
		||||
# For a ChibiOS build, ensure that the board files have the hook overrides injected
 | 
			
		||||
define BOARDSRC_INJECT_HOOKS
 | 
			
		||||
$(KEYBOARD_OUTPUT)/$(patsubst %.c,%.o,$(patsubst ./%,%,$1)): INIT_HOOK_CFLAGS += -include $(TOP_DIR)/tmk_core/protocol/chibios/init_hooks.h
 | 
			
		||||
$(INTERMEDIATE_OUTPUT)/$(patsubst %.c,%.o,$(patsubst ./%,%,$1)): INIT_HOOK_CFLAGS += -include $(TOP_DIR)/tmk_core/protocol/chibios/init_hooks.h
 | 
			
		||||
endef
 | 
			
		||||
$(foreach LOBJ, $(BOARDSRC), $(eval $(call BOARDSRC_INJECT_HOOKS,$(LOBJ))))
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue