diff options
Diffstat (limited to 'keyboards')
| -rw-r--r-- | keyboards/helix/pico/rules.mk | 5 | ||||
| -rw-r--r-- | keyboards/helix/rev2/rules.mk | 5 |
2 files changed, 10 insertions, 0 deletions
diff --git a/keyboards/helix/pico/rules.mk b/keyboards/helix/pico/rules.mk index e916f25f4..d3ad20cca 100644 --- a/keyboards/helix/pico/rules.mk +++ b/keyboards/helix/pico/rules.mk | |||
| @@ -5,6 +5,11 @@ SRC += local_drivers/serial.c | |||
| 5 | SRC += local_drivers/ssd1306.c | 5 | SRC += local_drivers/ssd1306.c |
| 6 | KEYBOARD_PATHS += $(HELIX_TOP_DIR)/local_drivers | 6 | KEYBOARD_PATHS += $(HELIX_TOP_DIR)/local_drivers |
| 7 | 7 | ||
| 8 | # A workaround until #7089 is merged. | ||
| 9 | # serial.c must not be compiled with the -lto option. | ||
| 10 | # The current LIB_SRC has a side effect with the -fno-lto option, so use it. | ||
| 11 | LIB_SRC += local_drivers/serial.c | ||
| 12 | |||
| 8 | CUSTOM_MATRIX = yes | 13 | CUSTOM_MATRIX = yes |
| 9 | 14 | ||
| 10 | SRC += pico/matrix.c | 15 | SRC += pico/matrix.c |
diff --git a/keyboards/helix/rev2/rules.mk b/keyboards/helix/rev2/rules.mk index 4db8f7da9..7357d568c 100644 --- a/keyboards/helix/rev2/rules.mk +++ b/keyboards/helix/rev2/rules.mk | |||
| @@ -5,6 +5,11 @@ SRC += local_drivers/serial.c | |||
| 5 | SRC += local_drivers/ssd1306.c | 5 | SRC += local_drivers/ssd1306.c |
| 6 | KEYBOARD_PATHS += $(HELIX_TOP_DIR)/local_drivers | 6 | KEYBOARD_PATHS += $(HELIX_TOP_DIR)/local_drivers |
| 7 | 7 | ||
| 8 | # A workaround until #7089 is merged. | ||
| 9 | # serial.c must not be compiled with the -lto option. | ||
| 10 | # The current LIB_SRC has a side effect with the -fno-lto option, so use it. | ||
| 11 | LIB_SRC += local_drivers/serial.c | ||
| 12 | |||
| 8 | CUSTOM_MATRIX = yes | 13 | CUSTOM_MATRIX = yes |
| 9 | 14 | ||
| 10 | SRC += rev2/matrix.c | 15 | SRC += rev2/matrix.c |
