From d578f9bfdcf5018ab99b814bd01d59930c131794 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Joakim=20Nohlg=C3=A5rd?= Date: Sat, 25 Mar 2017 18:28:35 +0100 Subject: [PATCH] kinetis: Remove duplicate CPU_MODEL CFLAGS definition These are already provided by cortexm_common --- cpu/k60/Makefile.include | 6 ------ cpu/k64f/Makefile.include | 6 ------ cpu/kw2x/Makefile.include | 6 ------ 3 files changed, 18 deletions(-) diff --git a/cpu/k60/Makefile.include b/cpu/k60/Makefile.include index a71bcf13c5..dd01f087a3 100644 --- a/cpu/k60/Makefile.include +++ b/cpu/k60/Makefile.include @@ -9,12 +9,6 @@ export KINETIS_COMMON = $(RIOTCPU)/kinetis_common/ # CPU depends on the kinetis module, so include it include $(KINETIS_COMMON)Makefile.include -#export the CPU model and architecture -MODEL = $(shell echo $(CPU_MODEL)|tr 'a-z' 'A-Z') -export CFLAGS += -DCPU_MODEL_$(MODEL) -ARCH = $(shell echo $(CPU_ARCH) | tr 'a-z-' 'A-Z_') -export CFLAGS += -DCPU_ARCH_$(ARCH) - # this CPU implementation is using kinetis common startup export COMMON_STARTUP = $(KINETIS_COMMON) diff --git a/cpu/k64f/Makefile.include b/cpu/k64f/Makefile.include index fd234523cc..afeaa0447e 100644 --- a/cpu/k64f/Makefile.include +++ b/cpu/k64f/Makefile.include @@ -9,12 +9,6 @@ export KINETIS_COMMON = $(RIOTCPU)/kinetis_common/ # CPU depends on the kinetis module, so include it include $(KINETIS_COMMON)Makefile.include -#export the CPU model -MODEL = $(shell echo $(CPU_MODEL)|tr 'a-z' 'A-Z') -export CFLAGS += -DCPU_MODEL_$(MODEL) -ARCH = $(shell echo $(CPU_ARCH) | tr 'a-z-' 'A-Z_') -export CFLAGS += -DCPU_ARCH_$(ARCH) - # this CPU implementation is using kinetis common startup export COMMON_STARTUP = $(KINETIS_COMMON) diff --git a/cpu/kw2x/Makefile.include b/cpu/kw2x/Makefile.include index 76e3daea5d..b09594bc44 100644 --- a/cpu/kw2x/Makefile.include +++ b/cpu/kw2x/Makefile.include @@ -9,12 +9,6 @@ export KINETIS_COMMON = $(RIOTCPU)/kinetis_common/ # CPU depends on the kinetis module, so include it include $(KINETIS_COMMON)Makefile.include -#export the CPU model -MODEL = $(shell echo $(CPU_MODEL)|tr 'a-z' 'A-Z') -export CFLAGS += -DCPU_MODEL_$(MODEL) -ARCH = $(shell echo $(CPU_ARCH) | tr 'a-z-' 'A-Z_') -export CFLAGS += -DCPU_ARCH_$(ARCH) - # this CPU implementation is using kinetis common startup export COMMON_STARTUP = $(KINETIS_COMMON)