From fd177582adbd6847bbe620ae1a6ffd7a85370f2d Mon Sep 17 00:00:00 2001 From: Reza Jelveh Date: Wed, 23 Dec 2020 08:44:49 +0800 Subject: [PATCH] chibios: honor PLATFORMASM in chibios build (#11219) --- tmk_core/chibios.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tmk_core/chibios.mk b/tmk_core/chibios.mk index e53edccee2..733f2d60fe 100644 --- a/tmk_core/chibios.mk +++ b/tmk_core/chibios.mk @@ -207,7 +207,7 @@ CHIBISRC = $(STARTUPSRC) \ $(CHIBIOS)/os/various/syscalls.c # Ensure the ASM files are not subjected to LTO -- it'll strip out interrupt handlers otherwise. -QUANTUM_LIB_SRC += $(STARTUPASM) $(PORTASM) $(OSALASM) +QUANTUM_LIB_SRC += $(STARTUPASM) $(PORTASM) $(OSALASM) $(PLATFORMASM) CHIBISRC := $(patsubst $(TOP_DIR)/%,%,$(CHIBISRC))