Teensy.mk: simplify setting of MCU and MCU_FLAG_NAME
This commit is contained in:
parent
6534cf8f15
commit
1cddbfb2f4
1 changed files with 0 additions and 12 deletions
12
Teensy.mk
12
Teensy.mk
|
@ -127,24 +127,12 @@ endif
|
||||||
# processor stuff
|
# processor stuff
|
||||||
ifndef MCU
|
ifndef MCU
|
||||||
MCU := $(call PARSE_TEENSY,$(BOARD_TAG),build.cpu)
|
MCU := $(call PARSE_TEENSY,$(BOARD_TAG),build.cpu)
|
||||||
ifndef MCU
|
|
||||||
MCU := $(call PARSE_TEENSY,$(BOARD_TAG),build.mcu)
|
|
||||||
endif
|
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifndef MCU_FLAG_NAME
|
ifndef MCU_FLAG_NAME
|
||||||
MCU_FLAG_NAME=mcpu
|
MCU_FLAG_NAME=mcpu
|
||||||
endif
|
endif
|
||||||
|
|
||||||
#ifndef MCU
|
|
||||||
# MCU := $(call PARSE_TEENSY,$(BOARD_TAG),build.cpu)
|
|
||||||
# ifndef MCU
|
|
||||||
# MCU := $(call PARSE_TEENSY,$(BOARD_TAG),build.mcu)
|
|
||||||
# else
|
|
||||||
# MCU_FLAG_NAME=mcpu
|
|
||||||
# endif
|
|
||||||
#endif
|
|
||||||
|
|
||||||
########################################################################
|
########################################################################
|
||||||
# FLAGS
|
# FLAGS
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue