summaryrefslogtreecommitdiff
path: root/keyboards/ergodox/infinity/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/ergodox/infinity/Makefile')
-rw-r--r--keyboards/ergodox/infinity/Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/keyboards/ergodox/infinity/Makefile b/keyboards/ergodox/infinity/Makefile
index d1ec266d04..ccb735a485 100644
--- a/keyboards/ergodox/infinity/Makefile
+++ b/keyboards/ergodox/infinity/Makefile
@@ -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 \ No newline at end of file