Teensy.mk: simplify setting of MCU and MCU_FLAG_NAME

This commit is contained in:
stepcut 2014-10-22 15:29:43 -05:00
parent 6534cf8f15
commit 1cddbfb2f4

View file

@ -127,24 +127,12 @@ endif
# processor stuff
ifndef MCU
MCU := $(call PARSE_TEENSY,$(BOARD_TAG),build.cpu)
ifndef MCU
MCU := $(call PARSE_TEENSY,$(BOARD_TAG),build.mcu)
endif
endif
ifndef MCU_FLAG_NAME
MCU_FLAG_NAME=mcpu
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