12 DYNAMIC_KEYMAP_ENABLE \
15 HARDWARE_OPTION_NAMES = \
18 BACKLIGHT_CUSTOM_DRIVER \
20 RGBLIGHT_CUSTOM_DRIVER \
33 POINTING_DEVICE_ENABLE \
36 OTHER_OPTION_NAMES = \
43 AUTO_SHIFT_MODIFIERS \
53 LED_UNDERGLOW_ENABLE \
59 BREATHING_LED_ENABLE \
61 ENCODER_ENABLE_CUSTOM \
67 KEYBOARD_LOCK_ENABLE \
69 KEYMAP_IN_EEPROM_ENABLE \
70 KEYMAP_SECTION_ENABLE \
71 LCD_BACKLIGHT_ENABLE \
73 LEDMAP_IN_EEPROM_ENABLE \
84 NO_USB_STARTUP_CHECK \
85 DISABLE_PROMICRO_LEDs \
86 MITOSIS_DATAGROK_BOTTOMSPACE \
87 MITOSIS_DATAGROK_SLOWUART \
88 RGB_MATRIX_KEYPRESSES \
91 Link_Time_Optimization \
92 LINK_TIME_OPTIMIZATION_ENABLE
95 @echo " $1 = $($1) # $(origin $1)"
99 .PHONY: show_build_options0 show_build_options
101 @echo " KEYBOARD = $(KEYBOARD)"
102 @echo " KEYMAP = $(KEYMAP)"
103 @echo " MCU = $(MCU)"
104 @echo " MCU_SERIES = $(MCU_SERIES)"
105 @echo " PLATFORM = $(PLATFORM)"
106 @echo " FIRMWARE_FORMAT = $(FIRMWARE_FORMAT)"
108 @echo "Build Options:"
109 $(foreach A_OPTION_NAME,$(sort $(BUILD_OPTION_NAMES)),\
110 $(call NAME_ECHO,$(A_OPTION_NAME)))
112 show_build_options: show_build_options0
114 @echo "If you want to know more, please try 'show_all_features' or 'show_full_features'"
117 .PHONY: show_all_features
118 show_all_features: show_build_options0
120 @echo "Hardware Options:"
121 $(foreach A_OPTION_NAME,$(sort $(HARDWARE_OPTION_NAMES)),\
122 $(if $($(A_OPTION_NAME)),$(call NAME_ECHO,$(A_OPTION_NAME))))
124 @echo "Other Options:"
125 $(foreach A_OPTION_NAME,$(sort $(OTHER_OPTION_NAMES)),\
126 $(if $($(A_OPTION_NAME)),$(call NAME_ECHO,$(A_OPTION_NAME))))
128 .PHONY: show_full_features
129 show_full_features: show_build_options0
131 @echo "Hardware Options:"
132 $(foreach A_OPTION_NAME,$(sort $(HARDWARE_OPTION_NAMES)),\
133 $(call NAME_ECHO,$(A_OPTION_NAME)))
135 @echo "Other Options:"
136 $(foreach A_OPTION_NAME,$(sort $(OTHER_OPTION_NAMES)),\
137 $(call NAME_ECHO,$(A_OPTION_NAME)))