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:
commit
ffd67cacea
@ -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)
|
||||
|
||||
|
@ -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)
|
||||
|
||||
|
@ -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)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user