chibios: honor PLATFORMASM in chibios build (#11219)

This commit is contained in:
Reza Jelveh 2020-12-23 08:44:49 +08:00 committed by GitHub
parent dee506c096
commit fd177582ad
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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))