diff --git a/Marlin/Makefile b/Marlin/Makefile index 1bc1c37ef..de33ac123 100644 --- a/Marlin/Makefile +++ b/Marlin/Makefile @@ -224,7 +224,7 @@ TARGET = $(notdir $(CURDIR)) VPATH = . VPATH += $(BUILD_DIR) VPATH += $(HARDWARE_SRC) -ifeq ($(HARDWARE_VARIANT), arduino) +ifeq ($(HARDWARE_VARIANT), $(filter $(HARDWARE_VARIANT),arduino Teensy)) VPATH += $(ARDUINO_INSTALL_DIR)/libraries/LiquidCrystal VPATH += $(ARDUINO_INSTALL_DIR)/libraries/SPI ifeq ($(LIQUID_TWI2), 1)