Include the main Makefile before including Ergodox infinity drivers

master
Fred Sundvik 2016-07-10 14:46:18 +03:00
parent 592ef7c6f0
commit ad416fb1a3
1 changed files with 4 additions and 4 deletions

View File

@ -64,6 +64,10 @@ LCD_ENABLE ?= yes
LED_ENABLE ?= yes
LCD_BACKLIGHT_ENABLE ?= yes
ifndef QUANTUM_DIR
include ../../../Makefile
endif
ifdef LCD_ENABLE
include $(SUBPROJECT_PATH)/drivers/gdisp/st7565ergodox/driver.mk
endif
@ -71,7 +75,3 @@ endif
ifdef LED_ENABLE
include $(SUBPROJECT_PATH)/drivers/gdisp/IS31FL3731C/driver.mk
endif
ifndef QUANTUM_DIR
include ../../../Makefile
endif