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

Merge pull request #6789 from gebart/pr/cpu-model-redundant

kinetis: Remove duplicate CPU_MODEL CFLAGS definition
This commit is contained in:
Francisco Acosta 2017-04-05 16:08:33 +02:00 committed by GitHub
commit ffd67cacea
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 # CPU depends on the kinetis module, so include it
include $(KINETIS_COMMON)Makefile.include 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 # this CPU implementation is using kinetis common startup
export COMMON_STARTUP = $(KINETIS_COMMON) 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 # CPU depends on the kinetis module, so include it
include $(KINETIS_COMMON)Makefile.include 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 # this CPU implementation is using kinetis common startup
export COMMON_STARTUP = $(KINETIS_COMMON) 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 # CPU depends on the kinetis module, so include it
include $(KINETIS_COMMON)Makefile.include 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 # this CPU implementation is using kinetis common startup
export COMMON_STARTUP = $(KINETIS_COMMON) export COMMON_STARTUP = $(KINETIS_COMMON)