1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-01-18 12:52:44 +01:00

kinetis: Remove duplicate CPU_MODEL CFLAGS definition

These are already provided by cortexm_common
This commit is contained in:
Joakim Nohlgård 2017-03-25 18:28:35 +01:00
parent 9e998efb16
commit d578f9bfdc
3 changed files with 0 additions and 18 deletions

View File

@ -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)

View File

@ -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)

View File

@ -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)