summaryrefslogtreecommitdiffstats
path: root/keyboards
diff options
context:
space:
mode:
authorFred Sundvik <fsundvik@gmail.com>2016-07-10 13:46:18 +0200
committerFred Sundvik <fsundvik@gmail.com>2016-07-29 20:09:37 +0200
commitad416fb1a346ff5ff51ef16ef7aaa63115fe8272 (patch)
treefbc78aa52f62ac03c877ebd827eb61d71497ec1a /keyboards
parent592ef7c6f0441216d2dbfb08af4e20ed35581102 (diff)
downloadqmk_firmware-ad416fb1a346ff5ff51ef16ef7aaa63115fe8272.tar.gz
qmk_firmware-ad416fb1a346ff5ff51ef16ef7aaa63115fe8272.tar.xz
Include the main Makefile before including Ergodox infinity drivers
Diffstat (limited to 'keyboards')
-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