diff --git a/builddefs/common_features.mk b/builddefs/common_features.mk index 85e309484e6..e94a70c3c12 100644 --- a/builddefs/common_features.mk +++ b/builddefs/common_features.mk @@ -635,13 +635,12 @@ ifeq ($(strip $(VIAL_ENABLE)), yes) COMBO_ENABLE ?= yes KEY_OVERRIDE_ENABLE ?= yes SRC += $(QUANTUM_DIR)/vial.c - EXTRAINCDIRS += $(INTERMEDIATE_OUTPUT) OPT_DEFS += -DVIAL_ENABLE -DNO_DEBUG -DSERIAL_NUMBER=\"vial:f64c2b3c\" -$(QUANTUM_DIR)/vial.c: $(INTERMEDIATE_OUTPUT)/vial_generated_keyboard_definition.h +$(QUANTUM_DIR)/vial.c: $(INTERMEDIATE_OUTPUT)/src/vial_generated_keyboard_definition.h -$(INTERMEDIATE_OUTPUT)/vial_generated_keyboard_definition.h: $(KEYMAP_PATH)/vial.json - python3 util/vial_generate_definition.py $(KEYMAP_PATH)/vial.json $(INTERMEDIATE_OUTPUT)/vial_generated_keyboard_definition.h +$(INTERMEDIATE_OUTPUT)/src/vial_generated_keyboard_definition.h: $(KEYMAP_PATH)/vial.json + python3 util/vial_generate_definition.py $(KEYMAP_PATH)/vial.json $(INTERMEDIATE_OUTPUT)/src/vial_generated_keyboard_definition.h endif ifeq ($(strip $(VIAL_INSECURE)), yes)