From 93915040e7413b164952bcffb2fce4c65ba20147 Mon Sep 17 00:00:00 2001 From: Stefan Mark Date: Thu, 13 Nov 2014 12:07:56 +0100 Subject: fixed vusb variant of converter ps2usb --- converter/ps2_usb/Makefile.vusb | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'converter') diff --git a/converter/ps2_usb/Makefile.vusb b/converter/ps2_usb/Makefile.vusb index 1bb44f8875..ddf1868459 100644 --- a/converter/ps2_usb/Makefile.vusb +++ b/converter/ps2_usb/Makefile.vusb @@ -8,10 +8,16 @@ TOP_DIR = ../.. TARGET_DIR = . # keyboard dependent files -SRC = keymap.c \ +SRC = keymap_common.c \ matrix.c \ led.c +ifdef KEYMAP + SRC := keymap_$(KEYMAP).c $(SRC) +else + SRC := keymap_plain.c $(SRC) +endif + # Use USART for PS/2. With V-USB INT and BUSYWAIT code is not useful. SRC += protocol/ps2_usart.c OPT_DEFS += -DPS2_USE_USART @@ -95,7 +101,7 @@ VPATH += $(TARGET_DIR) VPATH += $(TOP_DIR) -include $(TOP_DIR)/protocol/vusb.mk include $(TOP_DIR)/protocol.mk include $(TOP_DIR)/common.mk +include $(TOP_DIR)/protocol/vusb.mk include $(TOP_DIR)/rules.mk -- cgit v1.2.1