refactor: unify location of generated build files
Moving Vial's generated files to the same place all the other generated files go means not having to tack on EXTRAINCDIRS.
This commit is contained in:
parent
03fa9dbfeb
commit
7766caa52e
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user