Include the main Makefile before including Ergodox infinity drivers

This commit is contained in:
Fred Sundvik 2016-07-10 14:46:18 +03:00
parent 592ef7c6f0
commit ad416fb1a3

View File

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