aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Fred Sundvik <fsundvik@gmail.com>2016-07-10 14:46:18 +0300
committerGravatar Fred Sundvik <fsundvik@gmail.com>2016-07-29 21:09:37 +0300
commitad416fb1a346ff5ff51ef16ef7aaa63115fe8272 (patch)
treefbc78aa52f62ac03c877ebd827eb61d71497ec1a
parent592ef7c6f0441216d2dbfb08af4e20ed35581102 (diff)
downloadqmk_firmware-ad416fb1a346ff5ff51ef16ef7aaa63115fe8272.tar.gz
Include the main Makefile before including Ergodox infinity drivers
-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 d1ec266d0..ccb735a48 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