]> git.donarmstrong.com Git - qmk_firmware.git/blobdiff - keyboard/gh60/Makefile.lufa
Add build option BOOTMAGIC_ENABLE
[qmk_firmware.git] / keyboard / gh60 / Makefile.lufa
index 2076c919ca0f5ccde3205c94156f53d72f3d7e02..a5ff609a778698569e1d5d372c5302aa1f3868f9 100644 (file)
@@ -47,8 +47,7 @@ TOP_DIR = ../..
 # Directory keyboard dependent files exist
 TARGET_DIR = .
 
-
-# List C source files here. (C dependencies are automatically generated.)
+# project specific files
 SRC += keymap.c \
        matrix.c \
        led.c
@@ -100,6 +99,7 @@ F_USB = $(F_CPU)
 # Build Options
 #   comment out to disable the options.
 #
+BOOTMAGIC_ENABLE = yes # Virtual DIP switch configuration(+1000)
 MOUSEKEY_ENABLE = yes  # Mouse keys(+4700)
 EXTRAKEY_ENABLE = yes  # Audio control and System control(+450)
 CONSOLE_ENABLE = yes   # Console for debug(+400)
@@ -107,6 +107,9 @@ CONSOLE_ENABLE = yes        # Console for debug(+400)
 #PS2_MOUSE_ENABLE = yes        # PS/2 mouse(TrackPoint) support
 
 
+# Optimize size but this may cause error "relocation truncated to fit"
+EXTRALDFLAGS = -Wl,--relax
+
 # Search Path
 VPATH += $(TARGET_DIR)
 VPATH += $(TOP_DIR)