summaryrefslogtreecommitdiffstats
path: root/builddefs/common_rules.mk
diff options
context:
space:
mode:
authorNick Brassel <nick@tzarc.org>2023-06-21 08:41:49 +1000
committerGitHub <noreply@github.com>2023-06-21 08:41:49 +1000
commitffdc70bf0a6fecff024ece2a5b7b4c0c88dd6ee3 (patch)
tree5b4f6b347fd5902c6db24019173e5706a84b9bba /builddefs/common_rules.mk
parent45dc1ccffedd92c543997cc153efbaf058a46616 (diff)
Consolidate `KEYBOARD_OUTPUT`+`KEYMAP_OUTPUT`=>`INTERMEDIATE_OUTPUT` (#21272)
Diffstat (limited to 'builddefs/common_rules.mk')
-rw-r--r--builddefs/common_rules.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/builddefs/common_rules.mk b/builddefs/common_rules.mk
index 816eac49ae..5d635307ed 100644
--- a/builddefs/common_rules.mk
+++ b/builddefs/common_rules.mk
@@ -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))))