be2f5816b6
* Define NO_ACTION_MACRO/FUNCTION in header instead of makefile when LTO is enabled Currently, boards and keymaps that define NO_ACTION_MACRO/FUNCTION unconditionally will not compile with LTO_ENABLE (#8604). This fixes the issue by moving the definitions from common.mk to action.h, which enables us to check for previous definitions of those macros (this cannot be done in a makefile). * Remove LTO checks in templates Since now NO_ACTION_MACRO/FUNCTION are defined as needed in action.h (which is included by quantum.h), checking for LTO in keyboard and user code is no longer required. * Update LTO_ENABLE docs |
||
---|---|---|
.. | ||
api | ||
audio | ||
backlight | ||
debounce | ||
keymap_extras | ||
process_keycode | ||
rgb_matrix_animations | ||
rgb_matrix_runners | ||
serial_link | ||
split_common | ||
stm32 | ||
template | ||
tools | ||
visualizer | ||
api.c | ||
api.h | ||
color.c | ||
color.h | ||
config_common.h | ||
debounce.h | ||
dip_switch.c | ||
dip_switch.h | ||
dynamic_keymap.c | ||
dynamic_keymap.h | ||
dynamic_macro.h | ||
encoder.c | ||
encoder.h | ||
fauxclicky.c | ||
fauxclicky.h | ||
keycode_config.c | ||
keycode_config.h | ||
keymap.h | ||
keymap_common.c | ||
led_matrix.c | ||
led_matrix_drivers.c | ||
led_tables.c | ||
led_tables.h | ||
ledmatrix.h | ||
matrix.c | ||
matrix_common.c | ||
mcu_selection.mk | ||
pincontrol.h | ||
pointing_device.c | ||
pointing_device.h | ||
quantum.c | ||
quantum.h | ||
quantum_keycodes.h | ||
rgb.h | ||
rgb_matrix.c | ||
rgb_matrix.h | ||
rgb_matrix_drivers.c | ||
rgb_matrix_types.h | ||
rgblight.c | ||
rgblight.h | ||
rgblight_breathe_table.h | ||
rgblight_list.h | ||
rgblight_modes.h | ||
rgblight_post_config.h | ||
send_string_keycodes.h | ||
variable_trace.c | ||
variable_trace.h | ||
velocikey.c | ||
velocikey.h | ||
via.c | ||
via.h | ||
wpm.c | ||
wpm.h |