From 76fc7a56c94f631273e42a0038d3ece1840c2c0c Mon Sep 17 00:00:00 2001 From: Kaspar Schleiser Date: Mon, 29 Aug 2016 17:24:02 +0200 Subject: [PATCH] cpu: kw2x: rename vector.c -> vectors.c, add to SRC_NOLTO --- cpu/kw2x/Makefile | 3 +++ cpu/kw2x/Makefile.include | 2 +- cpu/kw2x/{vector.c => vectors.c} | 0 3 files changed, 4 insertions(+), 1 deletion(-) rename cpu/kw2x/{vector.c => vectors.c} (100%) diff --git a/cpu/kw2x/Makefile b/cpu/kw2x/Makefile index 12ba41f9cf..68605a469b 100644 --- a/cpu/kw2x/Makefile +++ b/cpu/kw2x/Makefile @@ -4,4 +4,7 @@ MODULE = cpu # add a list of subdirectories, that should also be build DIRS = periph $(RIOTCPU)/cortexm_common $(KINETIS_COMMON) +# (file triggers compiler bug. see #5775) +SRC_NOLTO += vectors.c + include $(RIOTBASE)/Makefile.base diff --git a/cpu/kw2x/Makefile.include b/cpu/kw2x/Makefile.include index 9d48993ba5..14bbd8edff 100644 --- a/cpu/kw2x/Makefile.include +++ b/cpu/kw2x/Makefile.include @@ -19,6 +19,6 @@ export CFLAGS += -DCPU_ARCH_$(ARCH) export COMMON_STARTUP = $(KINETIS_COMMON) # add the CPU specific system calls implementations for the linker -export UNDEF += $(BINDIR)cpu/vector.o +export UNDEF += $(BINDIR)cpu/vectors.o include $(RIOTCPU)/Makefile.include.cortexm_common diff --git a/cpu/kw2x/vector.c b/cpu/kw2x/vectors.c similarity index 100% rename from cpu/kw2x/vector.c rename to cpu/kw2x/vectors.c