Skip to content

Commit 0c55418

Browse files
committed
fix platform dir
1 parent 1d77739 commit 0c55418

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

Teensy.mk

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,12 @@ endif
4949
ARCHITECTURE = $(call PARSE_TEENSY,$(BOARD_TAG),build.architecture)
5050
AVR_TOOLS_DIR = $(call dir_if_exists,$(ARDUINO_DIR)/hardware/tools/$(ARCHITECTURE))
5151

52+
# define plaform lib dir ignoring teensy's oversight on putting it all in avr
53+
ifndef ARDUINO_PLATFORM_LIB_PATH
54+
ARDUINO_PLATFORM_LIB_PATH = $(ARDUINO_DIR)/hardware/$(ARDMK_VENDOR)/avr/libraries
55+
$(call show_config_variable,ARDUINO_PLATFORM_LIB_PATH,[COMPUTED],(from ARDUINO_DIR))
56+
endif
57+
5258
########################################################################
5359
# command names
5460

0 commit comments

Comments
 (0)