summaryrefslogtreecommitdiffstats
path: root/builddefs/build_keyboard.mk
diff options
context:
space:
mode:
authorNick Brassel <nick@tzarc.org>2022-06-05 10:26:02 +1000
committerGitHub <noreply@github.com>2022-06-05 10:26:02 +1000
commit08c556b78b9dc672a2aa2388bbd3fdf408e3ce98 (patch)
treed469e5c5a8368a7132ad85ef0c594cd73eabc55c /builddefs/build_keyboard.mk
parentaf84772a5f350c404bfad8f5b138f990828eac45 (diff)
Add keymap wrappers for introspection into the keymap. (#17229)
* Introspection handlers for keymaps. * Renaming.
Diffstat (limited to 'builddefs/build_keyboard.mk')
-rw-r--r--builddefs/build_keyboard.mk4
1 files changed, 3 insertions, 1 deletions
diff --git a/builddefs/build_keyboard.mk b/builddefs/build_keyboard.mk
index dc86b232df..a258f33216 100644
--- a/builddefs/build_keyboard.mk
+++ b/builddefs/build_keyboard.mk
@@ -390,10 +390,12 @@ ifneq ("$(KEYMAP_H)","")
CONFIG_H += $(KEYMAP_H)
endif
+OPT_DEFS += -DKEYMAP_C=\"$(KEYMAP_C)\"
+
# project specific files
SRC += \
$(KEYBOARD_SRC) \
- $(KEYMAP_C) \
+ $(QUANTUM_DIR)/keymap_introspection.c \
$(QUANTUM_SRC) \
$(QUANTUM_DIR)/main.c \