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 |
||
---|---|---|
.. | ||
arm_atsam | ||
avr | ||
chibios | ||
test | ||
action.c | ||
action.h | ||
action_code.h | ||
action_layer.c | ||
action_layer.h | ||
action_macro.c | ||
action_macro.h | ||
action_tapping.c | ||
action_tapping.h | ||
action_util.c | ||
action_util.h | ||
bootloader.h | ||
bootmagic.c | ||
bootmagic.h | ||
bootmagic_lite.c | ||
command.c | ||
command.h | ||
debug.c | ||
debug.h | ||
eeconfig.c | ||
eeconfig.h | ||
eeprom.h | ||
host.c | ||
host.h | ||
host_driver.h | ||
keyboard.c | ||
keyboard.h | ||
keycode.h | ||
led.h | ||
magic.c | ||
magic.h | ||
matrix.h | ||
mousekey.c | ||
mousekey.h | ||
nodebug.h | ||
print.c | ||
print.h | ||
progmem.h | ||
raw_hid.h | ||
report.c | ||
report.h | ||
sendchar.h | ||
sendchar_null.c | ||
sendchar_uart.c | ||
sleep_led.h | ||
suspend.h | ||
timer.h | ||
uart.c | ||
uart.h | ||
util.c | ||
util.h | ||
virtser.h | ||
wait.h |