Browse Source

Added ability to set the MATRIX in build/make

pull/19/head
cr3473 9 years ago
parent
commit
59f2001b31
2 changed files with 7 additions and 2 deletions
  1. +7
    -2
      keyboard/planck/Makefile
  2. +0
    -0
      keyboard/planck/matrix_handwired.c

+ 7
- 2
keyboard/planck/Makefile View File

@ -47,13 +47,18 @@ TOP_DIR = ../..
# Directory keyboard dependent files exist
TARGET_DIR = .
# Default to PCB matrix
ifndef MATRIX
MATRIX=matrix_pcb.c
endif
$(warning MATRIX: $(MATRIX))
# # project specific files
ifdef COMMON
SRC = keymap_common.c \
matrix_pcb.c \
$(MATRIX) \
led.c \
backlight.c
@ -66,7 +71,7 @@ endif
else
SRC = extended_keymap_common.c \
matrix_pcb.c \
$(MATRIX) \
led.c \
backlight.c


keyboard/planck/matrix.c → keyboard/planck/matrix_handwired.c View File


Loading…
Cancel
Save