Include the main Makefile before including Ergodox infinity drivers

example_keyboards
Fred Sundvik 8 years ago
parent 592ef7c6f0
commit ad416fb1a3

@ -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
Loading…
Cancel
Save