cortexm.inc.mk: allow configuring vectors.o path
This allows providing 'vectors.o' by another module than 'cpu' by overwriting VECTORS_O variable.
This commit is contained in:
parent
21450612ab
commit
a3bc341878
@ -85,8 +85,9 @@ endif
|
|||||||
|
|
||||||
# Explicitly tell the linker to link the startup code.
|
# Explicitly tell the linker to link the startup code.
|
||||||
# Without this the interrupt vectors will not be linked correctly!
|
# Without this the interrupt vectors will not be linked correctly!
|
||||||
|
VECTORS_O ?= $(BINDIR)/cpu/vectors.o
|
||||||
ifeq ($(COMMON_STARTUP),)
|
ifeq ($(COMMON_STARTUP),)
|
||||||
export UNDEF += $(BINDIR)/cpu/vectors.o
|
export UNDEF += $(VECTORS_O)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
# CPU depends on the cortex-m common module, so include it:
|
# CPU depends on the cortex-m common module, so include it:
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user