minor tweaks to Teensy.mk
This commit is contained in:
parent
e42d91ed4f
commit
969a468bed
1 changed files with 10 additions and 5 deletions
15
Teensy.mk
15
Teensy.mk
|
@ -44,6 +44,15 @@ ifndef CXX_NAME
|
||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
ifndef AS_NAME
|
||||||
|
AS_NAME := $(call PARSE_TEENSY,$(BOARD_TAG),build.command.as)
|
||||||
|
ifndef AS_NAME
|
||||||
|
AS_NAME := arm-none-eabi-gcc-as
|
||||||
|
else
|
||||||
|
$(call show_config_variable,AS_NAME,[COMPUTED])
|
||||||
|
endif
|
||||||
|
endif
|
||||||
|
|
||||||
ifndef OBJCOPY_NAME
|
ifndef OBJCOPY_NAME
|
||||||
OBJCOPY_NAME := $(call PARSE_TEENSY,$(BOARD_TAG),build.command.objcopy)
|
OBJCOPY_NAME := $(call PARSE_TEENSY,$(BOARD_TAG),build.command.objcopy)
|
||||||
ifndef OBJCOPY_NAME
|
ifndef OBJCOPY_NAME
|
||||||
|
@ -83,7 +92,7 @@ endif
|
||||||
ifndef NM_NAME
|
ifndef NM_NAME
|
||||||
NM_NAME := $(call PARSE_TEENSY,$(BOARD_TAG),build.command.nm)
|
NM_NAME := $(call PARSE_TEENSY,$(BOARD_TAG),build.command.nm)
|
||||||
ifndef NM_NAME
|
ifndef NM_NAME
|
||||||
NM_NAME := avr-nm
|
NM_NAME := arm-none-eabi-gcc-nm
|
||||||
else
|
else
|
||||||
$(call show_config_variable,NM_NAME,[COMPUTED])
|
$(call show_config_variable,NM_NAME,[COMPUTED])
|
||||||
endif
|
endif
|
||||||
|
@ -94,10 +103,6 @@ ifndef MCU
|
||||||
MCU := $(call PARSE_TEENSY,$(BOARD_TAG),build.cpu)
|
MCU := $(call PARSE_TEENSY,$(BOARD_TAG),build.cpu)
|
||||||
ifndef MCU
|
ifndef MCU
|
||||||
MCU := $(call PARSE_TEENSY,$(BOARD_TAG),build.mcu)
|
MCU := $(call PARSE_TEENSY,$(BOARD_TAG),build.mcu)
|
||||||
ifndef MCU
|
|
||||||
# might be a submenu
|
|
||||||
MCU := $(call PARSE_TEENSY,$(BOARD_TAG),menu.cpu.$(BOARD_SUB).build.mcu)
|
|
||||||
endif
|
|
||||||
else
|
else
|
||||||
MCU_FLAG_NAME=mcpu
|
MCU_FLAG_NAME=mcpu
|
||||||
endif
|
endif
|
||||||
|
|
Loading…
Reference in a new issue