Skip to content
Snippets Groups Projects
Commit a3bc3418 authored by Gaëtan Harter's avatar Gaëtan Harter
Browse files

cortexm.inc.mk: allow configuring vectors.o path

This allows providing 'vectors.o' by another module than 'cpu' by overwriting
VECTORS_O variable.
parent 21450612
No related branches found
No related tags found
No related merge requests found
......@@ -85,8 +85,9 @@ endif
# Explicitly tell the linker to link the startup code.
# Without this the interrupt vectors will not be linked correctly!
VECTORS_O ?= $(BINDIR)/cpu/vectors.o
ifeq ($(COMMON_STARTUP),)
export UNDEF += $(BINDIR)/cpu/vectors.o
export UNDEF += $(VECTORS_O)
endif
# CPU depends on the cortex-m common module, so include it:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment