diff options
| author | George Harker <george@george-graphics.co.uk> | 2016-11-05 12:10:15 -0700 |
|---|---|---|
| committer | George Harker <george@george-graphics.co.uk> | 2016-11-05 12:10:15 -0700 |
| commit | 0b1aa8d26a42c9a69b4fd58cd4282115621b61af (patch) | |
| tree | 684a85d5e680641ce85eda23615139c88261a9c2 /Teensy.mk | |
| parent | 3830299491cf3f13fede4a63e30d33e4cd4d23fc (diff) | |
hard code ARCHITECTURE if not found in boards.txt, update history
Diffstat (limited to 'Teensy.mk')
| -rw-r--r-- | Teensy.mk | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -46,7 +46,12 @@ ifndef PARSE_TEENSY PARSE_TEENSY = $(shell grep -v "^\#" "$(BOARDS_TXT)" | grep $(1).$(2) | cut -d = -f 2,3 ) endif +# if boards.txt gets modified, look there, else hard code it ARCHITECTURE = $(call PARSE_TEENSY,$(BOARD_TAG),build.architecture) +ifeq ($(strip $(MONITOR_PORT)),) + ARCHITECTURE = arm +endif + AVR_TOOLS_DIR = $(call dir_if_exists,$(ARDUINO_DIR)/hardware/tools/$(ARCHITECTURE)) # define plaform lib dir ignoring teensy's oversight on putting it all in avr |
