Skip to content

Commit

Permalink
serial-suffix for mule only!
Browse files Browse the repository at this point in the history
  • Loading branch information
morganvenable committed Mar 24, 2024
1 parent 64df7f7 commit bab973b
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions builddefs/build_vial.mk
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,14 @@

QMK_SETTINGS ?= yes
TAP_DANCE_ENABLE ?= yes
SERIAL_SUFFIX ?= ""
ifeq ($(strip $(TAP_DANCE_ENABLE)), yes)
OPT_DEFS += -DTAPPING_TERM_PER_KEY
endif
COMBO_ENABLE ?= yes
KEY_OVERRIDE_ENABLE ?= yes
SRC += $(QUANTUM_DIR)/vial.c
OPT_DEFS += -DVIAL_ENABLE -DNO_DEBUG -DSERIAL_NUMBER=\"vial:f64c2b3c\"
OPT_DEFS += -DVIAL_ENABLE -DNO_DEBUG -DSERIAL_NUMBER=\"vial:f64c2b3c$(SERIAL_SUFFIX)\"

ifeq ($(strip $(VIAL_INSECURE)), yes)
OPT_DEFS += -DVIAL_INSECURE
Expand All @@ -33,4 +34,4 @@ endif
$(QUANTUM_DIR)/vial.c: $(INTERMEDIATE_OUTPUT)/src/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
python3 util/vial_generate_definition.py $(KEYMAP_PATH)/vial.json $(INTERMEDIATE_OUTPUT)/src/vial_generated_keyboard_definition.h

0 comments on commit bab973b

Please sign in to comment.