diff --git a/cpu/Makefile.include.cortexm_common b/cpu/Makefile.include.cortexm_common index a430cf7dc59417067e4707e250bad49280b526d8..cf19ddc27884b8f8ab15d9c3c2a5b2fab76d41a1 100644 --- a/cpu/Makefile.include.cortexm_common +++ b/cpu/Makefile.include.cortexm_common @@ -33,7 +33,7 @@ export INCLUDES += -I$(RIOTCPU)/$(CPU)/include # Explicitly tell the linker to link the startup code. # Without this the interrupt vectors will not be linked correctly! ifeq ($(COMMON_STARTUP),) -export UNDEF += $(BINDIR)cpu/startup.o +export UNDEF += $(BINDIR)cpu/vectors.o endif # CPU depends on the cortex-m common module, so include it: