@@ -66,7 +66,7 @@ endif | |||
ifdef KEYMAP_SECTION_ENABLE | |||
OPT_DEFS += -DKEYMAP_SECTION_ENABLE | |||
EXTRALDFLAGS = -Wl,-L$(TOP_DIR),-Tldscript_keymap_avr5.x | |||
EXTRALDFLAGS = -Wl,-L$(TMK_DIR),-Tldscript_keymap_avr5.x | |||
endif | |||
# Version string | |||
@@ -74,4 +74,4 @@ OPT_DEFS += -DVERSION=$(shell (git describe --always --dirty || echo 'unknown') | |||
# Search Path | |||
VPATH += $(TOP_DIR)/common | |||
VPATH += $(TMK_DIR)/common |
@@ -42,7 +42,7 @@ | |||
TARGET = adb_usb_lufa | |||
# Directory common source filess exist | |||
TOP_DIR = ../.. | |||
TMK_DIR = ../.. | |||
# Directory keyboard dependent files exist | |||
TARGET_DIR = . | |||
@@ -129,9 +129,9 @@ COMMAND_ENABLE = yes # Commands for debug and configuration | |||
# Search Path | |||
VPATH += $(TARGET_DIR) | |||
VPATH += $(TOP_DIR) | |||
VPATH += $(TMK_DIR) | |||
include $(TOP_DIR)/protocol/lufa.mk | |||
include $(TOP_DIR)/protocol.mk | |||
include $(TOP_DIR)/common.mk | |||
include $(TOP_DIR)/rules.mk | |||
include $(TMK_DIR)/protocol/lufa.mk | |||
include $(TMK_DIR)/protocol.mk | |||
include $(TMK_DIR)/common.mk | |||
include $(TMK_DIR)/rules.mk |
@@ -2,7 +2,7 @@ | |||
TARGET = adb_usb_pjrc | |||
# Directory common source filess exist | |||
TOP_DIR = ../.. | |||
TMK_DIR = ../.. | |||
# Directory keyboard dependent files exist | |||
TARGET_DIR = . | |||
@@ -61,9 +61,9 @@ COMMAND_ENABLE = yes # Commands for debug and configuration | |||
# Search Path | |||
VPATH += $(TARGET_DIR) | |||
VPATH += $(TOP_DIR) | |||
VPATH += $(TMK_DIR) | |||
include $(TOP_DIR)/protocol/pjrc.mk | |||
include $(TOP_DIR)/protocol.mk | |||
include $(TOP_DIR)/common.mk | |||
include $(TOP_DIR)/rules.mk | |||
include $(TMK_DIR)/protocol/pjrc.mk | |||
include $(TMK_DIR)/protocol.mk | |||
include $(TMK_DIR)/common.mk | |||
include $(TMK_DIR)/rules.mk |
@@ -2,7 +2,7 @@ | |||
TARGET = ascii_usb | |||
# Directory common source filess exist | |||
TOP_DIR = ../.. | |||
TMK_DIR = ../.. | |||
# Directory keyboard dependent files exist | |||
TARGET_DIR = . | |||
@@ -73,10 +73,10 @@ OPT_DEFS += -DBOOTLOADER_SIZE=4096 | |||
# Search Path | |||
VPATH += $(TARGET_DIR) | |||
VPATH += $(TOP_DIR) | |||
VPATH += $(TMK_DIR) | |||
include $(TOP_DIR)/protocol/lufa.mk | |||
include $(TOP_DIR)/protocol.mk | |||
include $(TOP_DIR)/common.mk | |||
include $(TOP_DIR)/rules.mk | |||
include $(TMK_DIR)/protocol/lufa.mk | |||
include $(TMK_DIR)/protocol.mk | |||
include $(TMK_DIR)/common.mk | |||
include $(TMK_DIR)/rules.mk |
@@ -2,7 +2,7 @@ | |||
TARGET = ibm4704_usb | |||
# Directory common source filess exist | |||
TOP_DIR = ../.. | |||
TMK_DIR = ../.. | |||
# Directory keyboard dependent files exist | |||
TARGET_DIR = . | |||
@@ -85,9 +85,9 @@ COMMAND_ENABLE = yes # Commands for debug and configuration | |||
# Search Path | |||
VPATH += $(TARGET_DIR) | |||
VPATH += $(TOP_DIR) | |||
VPATH += $(TMK_DIR) | |||
include $(TOP_DIR)/protocol.mk | |||
include $(TOP_DIR)/protocol/lufa.mk | |||
include $(TOP_DIR)/common.mk | |||
include $(TOP_DIR)/rules.mk | |||
include $(TMK_DIR)/protocol.mk | |||
include $(TMK_DIR)/protocol/lufa.mk | |||
include $(TMK_DIR)/common.mk | |||
include $(TMK_DIR)/rules.mk |
@@ -2,7 +2,7 @@ | |||
TARGET = m0110_lufa | |||
# Directory common source filess exist | |||
TOP_DIR = ../.. | |||
TMK_DIR = ../.. | |||
# Directory keyboard dependent files exist | |||
TARGET_DIR = . | |||
@@ -87,10 +87,10 @@ PROGRAM_CMD = teensy_loader_cli -mmcu=$(MCU) -w -v $(TARGET).hex | |||
# Search Path | |||
VPATH += $(TARGET_DIR) | |||
VPATH += $(TOP_DIR) | |||
VPATH += $(TMK_DIR) | |||
include $(TOP_DIR)/protocol/lufa.mk | |||
include $(TOP_DIR)/protocol.mk | |||
include $(TOP_DIR)/common.mk | |||
include $(TOP_DIR)/rules.mk | |||
include $(TMK_DIR)/protocol/lufa.mk | |||
include $(TMK_DIR)/protocol.mk | |||
include $(TMK_DIR)/common.mk | |||
include $(TMK_DIR)/rules.mk |
@@ -2,7 +2,7 @@ | |||
TARGET = m0110_pjrc | |||
# Directory common source filess exist | |||
TOP_DIR = ../.. | |||
TMK_DIR = ../.. | |||
# Directory keyboard dependent files exist | |||
TARGET_DIR = . | |||
@@ -64,10 +64,10 @@ PROGRAM_CMD = teensy_loader_cli -mmcu=$(MCU) -w -v $(TARGET).hex | |||
# Search Path | |||
VPATH += $(TARGET_DIR) | |||
VPATH += $(TOP_DIR) | |||
VPATH += $(TMK_DIR) | |||
include $(TOP_DIR)/protocol/pjrc.mk | |||
include $(TOP_DIR)/protocol.mk | |||
include $(TOP_DIR)/common.mk | |||
include $(TOP_DIR)/rules.mk | |||
include $(TMK_DIR)/protocol/pjrc.mk | |||
include $(TMK_DIR)/protocol.mk | |||
include $(TMK_DIR)/common.mk | |||
include $(TMK_DIR)/rules.mk |
@@ -2,7 +2,7 @@ | |||
TARGET = m0110_lufa | |||
# Directory common source filess exist | |||
TOP_DIR = ../.. | |||
TMK_DIR = ../.. | |||
# Directory keyboard dependent files exist | |||
TARGET_DIR = . | |||
@@ -89,10 +89,10 @@ PROGRAM_CMD = teensy_loader_cli -mmcu=$(MCU) -w -v $(TARGET).hex | |||
# Search Path | |||
VPATH += $(TARGET_DIR) | |||
VPATH += $(TOP_DIR) | |||
VPATH += $(TMK_DIR) | |||
include $(TOP_DIR)/protocol/lufa.mk | |||
include $(TOP_DIR)/protocol.mk | |||
include $(TOP_DIR)/common.mk | |||
include $(TOP_DIR)/rules.mk | |||
include $(TMK_DIR)/protocol/lufa.mk | |||
include $(TMK_DIR)/protocol.mk | |||
include $(TMK_DIR)/common.mk | |||
include $(TMK_DIR)/rules.mk |
@@ -7,7 +7,7 @@ | |||
TARGET = news_usb_pjrc | |||
# Directory common source filess exist | |||
TOP_DIR = ../.. | |||
TMK_DIR = ../.. | |||
# Directory keyboard dependent files exist | |||
TARGET_DIR = . | |||
@@ -65,10 +65,10 @@ PROGRAM_CMD = teensy_loader_cli -mmcu=$(MCU) -w -v $(TARGET).hex | |||
# Search Path | |||
VPATH += $(TARGET_DIR) | |||
VPATH += $(TOP_DIR) | |||
VPATH += $(TMK_DIR) | |||
include $(TOP_DIR)/protocol/pjrc.mk | |||
include $(TOP_DIR)/protocol.mk | |||
include $(TOP_DIR)/common.mk | |||
include $(TOP_DIR)/rules.mk | |||
include $(TMK_DIR)/protocol/pjrc.mk | |||
include $(TMK_DIR)/protocol.mk | |||
include $(TMK_DIR)/common.mk | |||
include $(TMK_DIR)/rules.mk |
@@ -2,7 +2,7 @@ | |||
TARGET = next_usb | |||
# Directory common source filess exist | |||
TOP_DIR = ../.. | |||
TMK_DIR = ../.. | |||
# Directory keyboard dependent files exist | |||
TARGET_DIR = . | |||
@@ -78,10 +78,10 @@ SRC += next_kbd.c | |||
# Search Path | |||
VPATH += $(TARGET_DIR) | |||
VPATH += $(TOP_DIR) | |||
VPATH += $(TMK_DIR) | |||
include $(TOP_DIR)/protocol.mk | |||
include $(TOP_DIR)/protocol/lufa.mk | |||
include $(TOP_DIR)/common.mk | |||
include $(TOP_DIR)/rules.mk | |||
include $(TMK_DIR)/protocol.mk | |||
include $(TMK_DIR)/protocol/lufa.mk | |||
include $(TMK_DIR)/common.mk | |||
include $(TMK_DIR)/rules.mk |
@@ -2,7 +2,7 @@ | |||
TARGET = next_usb | |||
# Directory common source filess exist | |||
TOP_DIR = ../.. | |||
TMK_DIR = ../.. | |||
# Directory keyboard dependent files exist | |||
TARGET_DIR = . | |||
@@ -54,10 +54,10 @@ SRC += next_kbd.c | |||
# Search Path | |||
VPATH += $(TARGET_DIR) | |||
VPATH += $(TOP_DIR) | |||
VPATH += $(TMK_DIR) | |||
include $(TOP_DIR)/protocol.mk | |||
include $(TOP_DIR)/protocol/pjrc.mk | |||
include $(TOP_DIR)/common.mk | |||
include $(TOP_DIR)/rules.mk | |||
include $(TMK_DIR)/protocol.mk | |||
include $(TMK_DIR)/protocol/pjrc.mk | |||
include $(TMK_DIR)/common.mk | |||
include $(TMK_DIR)/rules.mk |
@@ -2,7 +2,7 @@ | |||
TARGET = pc98_usb | |||
# Directory common source filess exist | |||
TOP_DIR = ../.. | |||
TMK_DIR = ../.. | |||
# Directory keyboard dependent files exist | |||
TARGET_DIR = . | |||
@@ -74,10 +74,10 @@ OPT_DEFS += -DBOOTLOADER_SIZE=4096 | |||
# Search Path | |||
VPATH += $(TARGET_DIR) | |||
VPATH += $(TOP_DIR) | |||
VPATH += $(TMK_DIR) | |||
include $(TOP_DIR)/protocol/lufa.mk | |||
include $(TOP_DIR)/protocol.mk | |||
include $(TOP_DIR)/common.mk | |||
include $(TOP_DIR)/rules.mk | |||
include $(TMK_DIR)/protocol/lufa.mk | |||
include $(TMK_DIR)/protocol.mk | |||
include $(TMK_DIR)/common.mk | |||
include $(TMK_DIR)/rules.mk |
@@ -5,7 +5,7 @@ | |||
TARGET = ps2_usb_lufa | |||
# Directory common source filess exist | |||
TOP_DIR = ../.. | |||
TMK_DIR = ../.. | |||
# Directory keyboard dependent files exist | |||
TARGET_DIR = . | |||
@@ -97,9 +97,9 @@ PS2_USE_USART = yes # uses hardware USART engine for PS/2 signal receive(recomen | |||
# Search Path | |||
VPATH += $(TARGET_DIR) | |||
VPATH += $(TOP_DIR) | |||
VPATH += $(TMK_DIR) | |||
include $(TOP_DIR)/protocol.mk | |||
include $(TOP_DIR)/protocol/lufa.mk | |||
include $(TOP_DIR)/common.mk | |||
include $(TOP_DIR)/rules.mk | |||
include $(TMK_DIR)/protocol.mk | |||
include $(TMK_DIR)/protocol/lufa.mk | |||
include $(TMK_DIR)/common.mk | |||
include $(TMK_DIR)/rules.mk |
@@ -2,7 +2,7 @@ | |||
TARGET = ps2_usb_pjrc | |||
# Directory common source filess exist | |||
TOP_DIR = ../.. | |||
TMK_DIR = ../.. | |||
# Directory keyboard dependent files exist | |||
TARGET_DIR = . | |||
@@ -66,10 +66,10 @@ PS2_USE_BUSYWAIT = yes # uses primitive reference code | |||
# Search Path | |||
VPATH += $(TARGET_DIR) | |||
VPATH += $(TOP_DIR) | |||
VPATH += $(TMK_DIR) | |||
include $(TOP_DIR)/protocol.mk | |||
include $(TOP_DIR)/protocol/pjrc.mk | |||
include $(TOP_DIR)/common.mk | |||
include $(TOP_DIR)/rules.mk | |||
include $(TMK_DIR)/protocol.mk | |||
include $(TMK_DIR)/protocol/pjrc.mk | |||
include $(TMK_DIR)/common.mk | |||
include $(TMK_DIR)/rules.mk |
@@ -6,7 +6,7 @@ | |||
TARGET = ps2_usb_tmk_rev1 | |||
# Directory common source filess exist | |||
TOP_DIR = ../.. | |||
TMK_DIR = ../.. | |||
# Directory keyboard dependent files exist | |||
TARGET_DIR = . | |||
@@ -90,9 +90,9 @@ PS2_USE_USART = yes # uses hardware USART engine for PS/2 signal receive(recomen | |||
# Search Path | |||
VPATH += $(TARGET_DIR) | |||
VPATH += $(TOP_DIR) | |||
VPATH += $(TMK_DIR) | |||
include $(TOP_DIR)/protocol.mk | |||
include $(TOP_DIR)/protocol/lufa.mk | |||
include $(TOP_DIR)/common.mk | |||
include $(TOP_DIR)/rules.mk | |||
include $(TMK_DIR)/protocol.mk | |||
include $(TMK_DIR)/protocol/lufa.mk | |||
include $(TMK_DIR)/common.mk | |||
include $(TMK_DIR)/rules.mk |
@@ -6,7 +6,7 @@ | |||
TARGET = ps2_usb_tmk_rev2 | |||
# Directory common source filess exist | |||
TOP_DIR = ../.. | |||
TMK_DIR = ../.. | |||
# Directory keyboard dependent files exist | |||
TARGET_DIR = . | |||
@@ -90,9 +90,9 @@ PS2_USE_INT = yes # uses external interrupt for falling edge of PS/2 clock pin | |||
# Search Path | |||
VPATH += $(TARGET_DIR) | |||
VPATH += $(TOP_DIR) | |||
VPATH += $(TMK_DIR) | |||
include $(TOP_DIR)/protocol.mk | |||
include $(TOP_DIR)/protocol/lufa.mk | |||
include $(TOP_DIR)/common.mk | |||
include $(TOP_DIR)/rules.mk | |||
include $(TMK_DIR)/protocol.mk | |||
include $(TMK_DIR)/protocol/lufa.mk | |||
include $(TMK_DIR)/common.mk | |||
include $(TMK_DIR)/rules.mk |
@@ -2,7 +2,7 @@ | |||
TARGET = ps2_usb_vusb | |||
# Directory common source filess exist | |||
TOP_DIR = ../.. | |||
TMK_DIR = ../.. | |||
# Directory keyboard dependent files exist | |||
TARGET_DIR = . | |||
@@ -98,10 +98,10 @@ OPT_DEFS += -DBOOTLOADER_SIZE=2048 | |||
# Search Path | |||
VPATH += $(TARGET_DIR) | |||
VPATH += $(TOP_DIR) | |||
VPATH += $(TMK_DIR) | |||
include $(TOP_DIR)/protocol.mk | |||
include $(TOP_DIR)/common.mk | |||
include $(TOP_DIR)/protocol/vusb.mk | |||
include $(TOP_DIR)/rules.mk | |||
include $(TMK_DIR)/protocol.mk | |||
include $(TMK_DIR)/common.mk | |||
include $(TMK_DIR)/protocol/vusb.mk | |||
include $(TMK_DIR)/rules.mk |
@@ -5,7 +5,7 @@ | |||
TARGET = serialmouse_usb | |||
# Directory common source filess exist | |||
TOP_DIR = ../.. | |||
TMK_DIR = ../.. | |||
# Directory keyboard dependent files exist | |||
TARGET_DIR = . | |||
@@ -98,9 +98,9 @@ SERIAL_MOUSE_USE_SOFT = yes # use software serial implementation | |||
# Search Path | |||
VPATH += $(TARGET_DIR) | |||
VPATH += $(TOP_DIR) | |||
VPATH += $(TMK_DIR) | |||
include $(TOP_DIR)/protocol.mk | |||
include $(TOP_DIR)/protocol/lufa.mk | |||
include $(TOP_DIR)/common.mk | |||
include $(TOP_DIR)/rules.mk | |||
include $(TMK_DIR)/protocol.mk | |||
include $(TMK_DIR)/protocol/lufa.mk | |||
include $(TMK_DIR)/common.mk | |||
include $(TMK_DIR)/rules.mk |
@@ -2,7 +2,7 @@ | |||
TARGET = sun_usb | |||
# Directory common source filess exist | |||
TOP_DIR = ../.. | |||
TMK_DIR = ../.. | |||
# Directory keyboard dependent files exist | |||
TARGET_DIR = . | |||
@@ -76,10 +76,10 @@ OPT_DEFS += -DBOOTLOADER_SIZE=4096 | |||
# Search Path | |||
VPATH += $(TARGET_DIR) | |||
VPATH += $(TOP_DIR) | |||
VPATH += $(TMK_DIR) | |||
include $(TOP_DIR)/protocol/lufa.mk | |||
include $(TOP_DIR)/protocol.mk | |||
include $(TOP_DIR)/common.mk | |||
include $(TOP_DIR)/rules.mk | |||
include $(TMK_DIR)/protocol/lufa.mk | |||
include $(TMK_DIR)/protocol.mk | |||
include $(TMK_DIR)/common.mk | |||
include $(TMK_DIR)/rules.mk |
@@ -2,7 +2,7 @@ | |||
TARGET = terminal_bluefruit | |||
# Directory common source filess exist | |||
TOP_DIR = ../.. | |||
TMK_DIR = ../.. | |||
# Directory keyboard dependent files exist | |||
TARGET_DIR = . | |||
@@ -89,11 +89,11 @@ PROGRAM_CMD = teensy_loader_cli -mmcu=$(MCU) -w -v $(TARGET).hex | |||
# Search Path | |||
VPATH += $(TARGET_DIR) | |||
VPATH += $(TOP_DIR) | |||
VPATH += $(TMK_DIR) | |||
include $(TOP_DIR)/protocol.mk | |||
include $(TOP_DIR)/protocol/bluefruit.mk | |||
include $(TOP_DIR)/protocol.mk | |||
include $(TOP_DIR)/common.mk | |||
include $(TOP_DIR)/rules.mk | |||
include $(TMK_DIR)/protocol.mk | |||
include $(TMK_DIR)/protocol/bluefruit.mk | |||
include $(TMK_DIR)/protocol.mk | |||
include $(TMK_DIR)/common.mk | |||
include $(TMK_DIR)/rules.mk |
@@ -2,7 +2,7 @@ | |||
TARGET = terminal_lufa | |||
# Directory common source filess exist | |||
TOP_DIR = ../.. | |||
TMK_DIR = ../.. | |||
# Directory keyboard dependent files exist | |||
TARGET_DIR = . | |||
@@ -89,10 +89,10 @@ PROGRAM_CMD = teensy_loader_cli -mmcu=$(MCU) -w -v $(TARGET).hex | |||
# Search Path | |||
VPATH += $(TARGET_DIR) | |||
VPATH += $(TOP_DIR) | |||
VPATH += $(TMK_DIR) | |||
include $(TOP_DIR)/protocol/lufa.mk | |||
include $(TOP_DIR)/protocol.mk | |||
include $(TOP_DIR)/common.mk | |||
include $(TOP_DIR)/rules.mk | |||
include $(TMK_DIR)/protocol/lufa.mk | |||
include $(TMK_DIR)/protocol.mk | |||
include $(TMK_DIR)/common.mk | |||
include $(TMK_DIR)/rules.mk |
@@ -41,7 +41,7 @@ | |||
# Target file name (without extension). | |||
TARGET = usb_usb | |||
TOP_DIR = ../.. | |||
TMK_DIR = ../.. | |||
# Directory keyboard dependent files exist | |||
TARGET_DIR = . | |||
@@ -121,7 +121,7 @@ CONFIG_H = config.h | |||
# Search Path | |||
VPATH += $(TARGET_DIR) | |||
VPATH += $(TOP_DIR) | |||
VPATH += $(TMK_DIR) | |||
@@ -130,7 +130,7 @@ PROGRAM_CMD = avrdude -p$(MCU) -cavr109 -b57600 -Uflash:w:$(TARGET).hex -P$(DEV) | |||
include $(TOP_DIR)/protocol/usb_hid.mk | |||
include $(TOP_DIR)/protocol/lufa.mk | |||
include $(TOP_DIR)/common.mk | |||
include $(TOP_DIR)/rules.mk | |||
include $(TMK_DIR)/protocol/usb_hid.mk | |||
include $(TMK_DIR)/protocol/lufa.mk | |||
include $(TMK_DIR)/common.mk | |||
include $(TMK_DIR)/rules.mk |
@@ -7,7 +7,7 @@ | |||
TARGET = x68k_usb_pjrc | |||
# Directory common source filess exist | |||
TOP_DIR = ../.. | |||
TMK_DIR = ../.. | |||
# Directory keyboard dependent files exist | |||
TARGET_DIR = . | |||
@@ -92,10 +92,10 @@ PROGRAM_CMD = dfu-programmer atmega32u4 flash $(TARGET).hex | |||
# Search Path | |||
VPATH += $(TARGET_DIR) | |||
VPATH += $(TOP_DIR) | |||
VPATH += $(TMK_DIR) | |||
include $(TOP_DIR)/protocol/pjrc.mk | |||
include $(TOP_DIR)/protocol.mk | |||
include $(TOP_DIR)/common.mk | |||
include $(TOP_DIR)/rules.mk | |||
include $(TMK_DIR)/protocol/pjrc.mk | |||
include $(TMK_DIR)/protocol.mk | |||
include $(TMK_DIR)/common.mk | |||
include $(TMK_DIR)/rules.mk |
@@ -42,7 +42,7 @@ | |||
TARGET = IIgs_Standard | |||
# Directory common source filess exist | |||
TOP_DIR = ../.. | |||
TMK_DIR = ../.. | |||
# Directory keyboard dependent files exist | |||
TARGET_DIR = . | |||
@@ -88,8 +88,8 @@ PROGRAM_CMD = teensy_loader_cli -mmcu=$(MCU) -w -v $(TARGET).hex | |||
# Search Path | |||
VPATH += $(TARGET_DIR) | |||
VPATH += $(TOP_DIR) | |||
VPATH += $(TMK_DIR) | |||
include $(TOP_DIR)/protocol/pjrc.mk | |||
include $(TOP_DIR)/common.mk | |||
include $(TOP_DIR)/rules.mk | |||
include $(TMK_DIR)/protocol/pjrc.mk | |||
include $(TMK_DIR)/common.mk | |||
include $(TMK_DIR)/rules.mk |
@@ -42,7 +42,7 @@ | |||
TARGET = alps64 | |||
# Directory common source filess exist | |||
TOP_DIR = ../.. | |||
TMK_DIR = ../.. | |||
# Directory keyboard dependent files exist | |||
TARGET_DIR = . | |||
@@ -127,8 +127,8 @@ COMMAND_ENABLE = yes # Commands for debug and configuration | |||
# Search Path | |||
VPATH += $(TARGET_DIR) | |||
VPATH += $(TOP_DIR) | |||
VPATH += $(TMK_DIR) | |||
include $(TOP_DIR)/protocol/lufa.mk | |||
include $(TOP_DIR)/common.mk | |||
include $(TOP_DIR)/rules.mk | |||
include $(TMK_DIR)/protocol/lufa.mk | |||
include $(TMK_DIR)/common.mk | |||
include $(TMK_DIR)/rules.mk |
@@ -42,7 +42,7 @@ | |||
TARGET = gh60_lufa | |||
# Directory common source filess exist | |||
TOP_DIR = ../.. | |||
TMK_DIR = ../.. | |||
# Directory keyboard dependent files exist | |||
TARGET_DIR = . | |||
@@ -128,8 +128,8 @@ NKRO_ENABLE = yes # USB Nkey Rollover - not yet supported in LUFA | |||
# Search Path | |||
VPATH += $(TARGET_DIR) | |||
VPATH += $(TOP_DIR) | |||
VPATH += $(TMK_DIR) | |||
include $(TOP_DIR)/protocol/lufa.mk | |||
include $(TOP_DIR)/common.mk | |||
include $(TOP_DIR)/rules.mk | |||
include $(TMK_DIR)/protocol/lufa.mk | |||
include $(TMK_DIR)/common.mk | |||
include $(TMK_DIR)/rules.mk |
@@ -42,7 +42,7 @@ | |||
TARGET = gh60_pjrc | |||
# Directory common source filess exist | |||
TOP_DIR = ../.. | |||
TMK_DIR = ../.. | |||
# Directory keyboard dependent files exist | |||
TARGET_DIR = . | |||
@@ -97,11 +97,11 @@ NKRO_ENABLE = yes # USB Nkey Rollover(+500) | |||
# Search Path | |||
VPATH += $(TARGET_DIR) | |||
VPATH += $(TOP_DIR) | |||
VPATH += $(TMK_DIR) | |||
include $(TOP_DIR)/protocol/pjrc.mk | |||
include $(TOP_DIR)/common.mk | |||
include $(TOP_DIR)/rules.mk | |||
include $(TMK_DIR)/protocol/pjrc.mk | |||
include $(TMK_DIR)/common.mk | |||
include $(TMK_DIR)/rules.mk | |||
plain: OPT_DEFS += -DKEYMAP_PLAIN | |||
plain: all |
@@ -42,7 +42,7 @@ | |||
TARGET = ghostsquid_lufa | |||
# Directory common source filess exist | |||
TOP_DIR = ../.. | |||
TMK_DIR = ../.. | |||
# Directory keyboard dependent files exist | |||
TARGET_DIR = . | |||
@@ -110,8 +110,8 @@ OPT_DEFS += -DBOOTLOADER_SIZE=4096 | |||
# Search Path | |||
VPATH += $(TARGET_DIR) | |||
VPATH += $(TOP_DIR) | |||
VPATH += $(TMK_DIR) | |||
include $(TOP_DIR)/protocol/lufa.mk | |||
include $(TOP_DIR)/common.mk | |||
include $(TOP_DIR)/rules.mk | |||
include $(TMK_DIR)/protocol/lufa.mk | |||
include $(TMK_DIR)/common.mk | |||
include $(TMK_DIR)/rules.mk |
@@ -42,7 +42,7 @@ | |||
TARGET = hbkb_lufa | |||
# Directory common source filess exist | |||
TOP_DIR = ../.. | |||
TMK_DIR = ../.. | |||
# Directory keyboard dependent files exist | |||
TARGET_DIR = . | |||
@@ -113,8 +113,8 @@ OPT_DEFS += -DBOOTLOADER_SIZE=4096 | |||
# Search Path | |||
VPATH += $(TARGET_DIR) | |||
VPATH += $(TOP_DIR) | |||
VPATH += $(TMK_DIR) | |||
include $(TOP_DIR)/protocol/lufa.mk | |||
include $(TOP_DIR)/common.mk | |||
include $(TOP_DIR)/rules.mk | |||
include $(TMK_DIR)/protocol/lufa.mk | |||
include $(TMK_DIR)/common.mk | |||
include $(TMK_DIR)/rules.mk |
@@ -42,7 +42,7 @@ | |||
TARGET = hhkb_lufa | |||
# Directory common source filess exist | |||
TOP_DIR = ../.. | |||
TMK_DIR = ../.. | |||
# Directory keyboard dependent files exist | |||
TARGET_DIR = . | |||
@@ -142,11 +142,11 @@ endif | |||
# Search Path | |||
VPATH += $(TARGET_DIR) | |||
VPATH += $(TOP_DIR) | |||
VPATH += $(TMK_DIR) | |||
include $(TOP_DIR)/protocol/lufa.mk | |||
include $(TOP_DIR)/common.mk | |||
include $(TOP_DIR)/rules.mk | |||
include $(TMK_DIR)/protocol/lufa.mk | |||
include $(TMK_DIR)/common.mk | |||
include $(TMK_DIR)/rules.mk | |||
debug-on: EXTRAFLAGS += -DDEBUG -DDEBUG_ACTION | |||
debug-on: all |
@@ -7,7 +7,7 @@ | |||
TARGET = hhkb_pjrc | |||
# Directory common source filess exist | |||
TOP_DIR = ../.. | |||
TMK_DIR = ../.. | |||
# Directory keyboard dependent files exist | |||
TARGET_DIR = . | |||
@@ -61,8 +61,8 @@ PROGRAM_CMD = teensy_loader_cli -mmcu=$(MCU) -w -v $(TARGET).hex | |||
# Search Path | |||
VPATH += $(TARGET_DIR) | |||
VPATH += $(TOP_DIR) | |||
VPATH += $(TMK_DIR) | |||
include $(TOP_DIR)/protocol/pjrc.mk | |||
include $(TOP_DIR)/common.mk | |||
include $(TOP_DIR)/rules.mk | |||
include $(TMK_DIR)/protocol/pjrc.mk | |||
include $(TMK_DIR)/common.mk | |||
include $(TMK_DIR)/rules.mk |
@@ -42,7 +42,7 @@ | |||
TARGET = hhkb_rn42 | |||
# Directory common source filess exist | |||
TOP_DIR = ../.. | |||
TMK_DIR = ../.. | |||
# Directory keyboard dependent files exist | |||
TARGET_DIR = . | |||
@@ -139,13 +139,13 @@ endif | |||
# Search Path | |||
VPATH += $(TARGET_DIR) | |||
VPATH += $(TOP_DIR) | |||
VPATH += $(TMK_DIR) | |||
include rn42.mk | |||
include $(TOP_DIR)/protocol.mk | |||
include $(TOP_DIR)/protocol/lufa.mk | |||
include $(TOP_DIR)/common.mk | |||
include $(TOP_DIR)/rules.mk | |||
include $(TMK_DIR)/protocol.mk | |||
include $(TMK_DIR)/protocol/lufa.mk | |||
include $(TMK_DIR)/common.mk | |||
include $(TMK_DIR)/rules.mk | |||
debug-on: EXTRAFLAGS += -DDEBUG -DDEBUG_ACTION | |||
debug-on: all |
@@ -7,7 +7,7 @@ | |||
TARGET = hhkb_iwrap | |||
# Directory common source filess exist | |||
TOP_DIR = ../.. | |||
TMK_DIR = ../.. | |||
# Directory keyboard dependent files exist | |||
TARGET_DIR = . | |||
@@ -94,10 +94,10 @@ PROGRAM_CMD = $(AVRDUDE) $(AVRDUDE_FLAGS) $(AVRDUDE_WRITE_FLASH) $(AVRDUDE_WRITE | |||
# Search Path | |||
VPATH += $(TARGET_DIR) | |||
VPATH += $(TOP_DIR) | |||
VPATH += $(TMK_DIR) | |||
include $(TOP_DIR)/protocol/iwrap.mk | |||
include $(TMK_DIR)/protocol/iwrap.mk | |||
# TODO: to be selectable: V-USB, LUFA or PJRC | |||
#include $(TOP_DIR)/protocol/vusb.mk | |||
include $(TOP_DIR)/common.mk | |||
include $(TOP_DIR)/rules.mk | |||
#include $(TMK_DIR)/protocol/vusb.mk | |||
include $(TMK_DIR)/common.mk | |||
include $(TMK_DIR)/rules.mk |
@@ -7,7 +7,7 @@ | |||
TARGET = hhkb_vusb | |||
# Directory common source filess exist | |||
TOP_DIR = ../.. | |||
TMK_DIR = ../.. | |||
# Directory keyboard dependent files exist | |||
TARGET_DIR = . | |||
@@ -87,11 +87,11 @@ PROGRAM_CMD = $(AVRDUDE) $(AVRDUDE_FLAGS) $(AVRDUDE_WRITE_FLASH) $(AVRDUDE_WRITE | |||
# Search Path | |||
VPATH += $(TARGET_DIR) | |||
VPATH += $(TOP_DIR) | |||
VPATH += $(TMK_DIR) | |||
include $(TOP_DIR)/protocol/vusb.mk | |||
include $(TOP_DIR)/common.mk | |||
include $(TOP_DIR)/rules.mk | |||
include $(TMK_DIR)/protocol/vusb.mk | |||
include $(TMK_DIR)/common.mk | |||
include $(TMK_DIR)/rules.mk | |||
debug-on: EXTRAFLAGS += -DDEBUG | |||
debug-on: all |
@@ -42,7 +42,7 @@ | |||
TARGET = hid_liber_lufa | |||
# Directory common source filess exist | |||
TOP_DIR = ../.. | |||
TMK_DIR = ../.. | |||
# Directory keyboard dependent files exist | |||
TARGET_DIR = . | |||
@@ -119,11 +119,11 @@ COMMAND_ENABLE = yes # Commands for debug and configuration | |||
# Search Path | |||
VPATH += $(TARGET_DIR) | |||
VPATH += $(TOP_DIR) | |||
VPATH += $(TMK_DIR) | |||
include $(TOP_DIR)/protocol/lufa.mk | |||
include $(TOP_DIR)/common.mk | |||
include $(TOP_DIR)/rules.mk | |||
include $(TMK_DIR)/protocol/lufa.mk | |||
include $(TMK_DIR)/common.mk | |||
include $(TMK_DIR)/rules.mk | |||
ansi: OPT_DEFS += -DLAYOUT_ANSI | |||
ansi: all |
@@ -42,7 +42,7 @@ | |||
TARGET = hid_liber_pjrc | |||
# Directory common source filess exist | |||
TOP_DIR = ../.. | |||
TMK_DIR = ../.. | |||
# Directory keyboard dependent files exist | |||
TARGET_DIR = . | |||
@@ -92,11 +92,11 @@ NKRO_ENABLE = yes # USB Nkey Rollover - not yet supported in LUFA | |||
# Search Path | |||
VPATH += $(TARGET_DIR) | |||
VPATH += $(TOP_DIR) | |||
VPATH += $(TMK_DIR) | |||
include $(TOP_DIR)/protocol/pjrc.mk | |||
include $(TOP_DIR)/common.mk | |||
include $(TOP_DIR)/rules.mk | |||
include $(TMK_DIR)/protocol/pjrc.mk | |||
include $(TMK_DIR)/common.mk | |||
include $(TMK_DIR)/rules.mk | |||
ansi: OPT_DEFS += -DLAYOUT_ANSI | |||
ansi: all |
@@ -42,7 +42,7 @@ | |||
TARGET = kittenpaw_lufa | |||
# Directory common source filess exist | |||
TOP_DIR = ../.. | |||
TMK_DIR = ../.. | |||
# Directory keyboard dependent files exist | |||
TARGET_DIR = . | |||
@@ -110,8 +110,8 @@ OPT_DEFS += -DBOOTLOADER_SIZE=4096 | |||
# Search Path | |||
VPATH += $(TARGET_DIR) | |||
VPATH += $(TOP_DIR) | |||
VPATH += $(TMK_DIR) | |||
include $(TOP_DIR)/protocol/lufa.mk | |||
include $(TOP_DIR)/common.mk | |||
include $(TOP_DIR)/rules.mk | |||
include $(TMK_DIR)/protocol/lufa.mk | |||
include $(TMK_DIR)/common.mk | |||
include $(TMK_DIR)/rules.mk |
@@ -42,7 +42,7 @@ | |||
TARGET = kmac_lufa | |||
# Directory common source filess exist | |||
TOP_DIR = ../.. | |||
TMK_DIR = ../.. | |||
# Directory keyboard dependent files exist | |||
TARGET_DIR = . | |||
@@ -117,11 +117,11 @@ OPT_DEFS += -DBOOTLOADER_SIZE=4096 | |||
# Search Path | |||
VPATH += $(TARGET_DIR) | |||
VPATH += $(TOP_DIR) | |||
VPATH += $(TMK_DIR) | |||
include $(TOP_DIR)/protocol/lufa.mk | |||
include $(TOP_DIR)/common.mk | |||
include $(TOP_DIR)/rules.mk | |||
include $(TMK_DIR)/protocol/lufa.mk | |||
include $(TMK_DIR)/common.mk | |||
include $(TMK_DIR)/rules.mk | |||
winkey: OPT_DEFS += -DLAYOUT_WINKEY | |||
winkey: all |
@@ -42,7 +42,7 @@ | |||
TARGET = kmac_pjrc | |||
# Directory common source filess exist | |||
TOP_DIR = ../.. | |||
TMK_DIR = ../.. | |||
# Directory keyboard dependent files exist | |||
TARGET_DIR = . | |||
@@ -88,11 +88,11 @@ BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality | |||
# Search Path | |||
VPATH += $(TARGET_DIR) | |||
VPATH += $(TOP_DIR) | |||
VPATH += $(TMK_DIR) | |||
include $(TOP_DIR)/protocol/pjrc.mk | |||
include $(TOP_DIR)/common.mk | |||
include $(TOP_DIR)/rules.mk | |||
include $(TMK_DIR)/protocol/pjrc.mk | |||
include $(TMK_DIR)/common.mk | |||
include $(TMK_DIR)/rules.mk | |||
winkey: OPT_DEFS += -DLAYOUT_WINKEY | |||
winkey: all |
@@ -42,7 +42,7 @@ | |||
TARGET = lightpad_lufa | |||
# Directory common source filess exist | |||
TOP_DIR = ../.. | |||
TMK_DIR = ../.. | |||
# Directory keyboard dependent files exist | |||
TARGET_DIR = . | |||
@@ -110,8 +110,8 @@ OPT_DEFS += -DBOOTLOADER_SIZE=4096 | |||
# Search Path | |||
VPATH += $(TARGET_DIR) | |||
VPATH += $(TOP_DIR) | |||
VPATH += $(TMK_DIR) | |||
include $(TOP_DIR)/protocol/lufa.mk | |||
include $(TOP_DIR)/common.mk | |||
include $(TOP_DIR)/rules.mk | |||
include $(TMK_DIR)/protocol/lufa.mk | |||
include $(TMK_DIR)/common.mk | |||
include $(TMK_DIR)/rules.mk |
@@ -42,7 +42,7 @@ | |||
TARGET = lightsaber_lufa | |||
# Directory common source filess exist | |||
TOP_DIR = ../.. | |||
TMK_DIR = ../.. | |||
# Directory keyboard dependent files exist | |||
TARGET_DIR = . | |||
@@ -116,11 +116,11 @@ OPT_DEFS += -DBOOTLOADER_SIZE=4096 | |||
# Search Path | |||
VPATH += $(TARGET_DIR) | |||
VPATH += $(TOP_DIR) | |||
VPATH += $(TMK_DIR) | |||
include $(TOP_DIR)/protocol/lufa.mk | |||
include $(TOP_DIR)/common.mk | |||
include $(TOP_DIR)/rules.mk | |||
include $(TMK_DIR)/protocol/lufa.mk | |||
include $(TMK_DIR)/common.mk | |||
include $(TMK_DIR)/rules.mk | |||
winkey: OPT_DEFS += -DLAYOUT_WINKEY | |||
winkey: all |
@@ -42,7 +42,7 @@ | |||
TARGET = lightsaber_pjrc | |||
# Directory common source filess exist | |||
TOP_DIR = ../.. | |||
TMK_DIR = ../.. | |||
# Directory keyboard dependent files exist | |||
TARGET_DIR = . | |||
@@ -84,11 +84,11 @@ BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality | |||
# Search Path | |||
VPATH += $(TARGET_DIR) | |||
VPATH += $(TOP_DIR) | |||
VPATH += $(TMK_DIR) | |||
include $(TOP_DIR)/protocol/pjrc.mk | |||
include $(TOP_DIR)/common.mk | |||
include $(TOP_DIR)/rules.mk | |||
include $(TMK_DIR)/protocol/pjrc.mk | |||
include $(TMK_DIR)/common.mk | |||
include $(TMK_DIR)/rules.mk | |||
winkey: OPT_DEFS += -DLAYOUT_WINKEY | |||
winkey: all |
@@ -42,7 +42,7 @@ | |||
TARGET = macway_lufa | |||
# Directory common source filess exist | |||
TOP_DIR = ../.. | |||
TMK_DIR = ../.. | |||
# Directory keyboard dependent files exist | |||
TARGET_DIR = . | |||
@@ -114,8 +114,8 @@ COMMAND_ENABLE = yes # Commands for debug and configuration | |||
# Search Path | |||
VPATH += $(TARGET_DIR) | |||
VPATH += $(TOP_DIR) | |||
VPATH += $(TMK_DIR) | |||
include $(TOP_DIR)/protocol/lufa.mk | |||
include $(TOP_DIR)/common.mk | |||
include $(TOP_DIR)/rules.mk | |||
include $(TMK_DIR)/protocol/lufa.mk | |||
include $(TMK_DIR)/common.mk | |||
include $(TMK_DIR)/rules.mk |
@@ -42,7 +42,7 @@ | |||
TARGET = macway_pjrc | |||
# Directory common source filess exist | |||
TOP_DIR = ../.. | |||
TMK_DIR = ../.. | |||
# Directory keyboard dependent files exist | |||
TARGET_DIR = . | |||
@@ -90,8 +90,8 @@ PROGRAM_CMD = teensy_loader_cli -mmcu=$(MCU) -w -v $(TARGET).hex | |||
# Search Path | |||
VPATH += $(TARGET_DIR) | |||
VPATH += $(TOP_DIR) | |||
VPATH += $(TMK_DIR) | |||
include $(TOP_DIR)/protocol/pjrc.mk | |||
include $(TOP_DIR)/common.mk | |||
include $(TOP_DIR)/rules.mk | |||
include $(TMK_DIR)/protocol/pjrc.mk | |||
include $(TMK_DIR)/common.mk | |||
include $(TMK_DIR)/rules.mk |
@@ -42,7 +42,7 @@ | |||
TARGET = nerd_lufa | |||
# Directory common source filess exist | |||
TOP_DIR = ../.. | |||
TMK_DIR = ../.. | |||
# Directory keyboard dependent files exist | |||
TARGET_DIR = . | |||
@@ -119,8 +119,8 @@ BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality | |||
# Search Path | |||
VPATH += $(TARGET_DIR) | |||
VPATH += $(TOP_DIR) | |||
VPATH += $(TMK_DIR) | |||
include $(TOP_DIR)/protocol/lufa.mk | |||
include $(TOP_DIR)/common.mk | |||
include $(TOP_DIR)/rules.mk | |||
include $(TMK_DIR)/protocol/lufa.mk | |||
include $(TMK_DIR)/common.mk | |||
include $(TMK_DIR)/rules.mk |
@@ -42,7 +42,7 @@ | |||
TARGET = onekey_lufa | |||
# Directory common source filess exist | |||
TOP_DIR = ../.. | |||
TMK_DIR = ../.. | |||
# Directory keyboard dependent files exist | |||
TARGET_DIR = . | |||
@@ -124,9 +124,9 @@ CONSOLE_ENABLE = yes # Console for debug(+400) | |||
# Search Path | |||
VPATH += $(TARGET_DIR) | |||
VPATH += $(TOP_DIR) | |||
VPATH += $(TMK_DIR) | |||
include $(TOP_DIR)/common.mk | |||
include $(TOP_DIR)/protocol.mk | |||
include $(TOP_DIR)/protocol/lufa.mk | |||
include $(TOP_DIR)/rules.mk | |||
include $(TMK_DIR)/common.mk | |||
include $(TMK_DIR)/protocol.mk | |||
include $(TMK_DIR)/protocol/lufa.mk | |||
include $(TMK_DIR)/rules.mk |
@@ -42,7 +42,7 @@ | |||
TARGET = onekey_pjrc | |||
# Directory common source filess exist | |||
TOP_DIR = ../.. | |||
TMK_DIR = ../.. | |||
# Directory keyboard dependent files exist | |||
TARGET_DIR = . | |||
@@ -95,9 +95,9 @@ PS2_USE_BUSYWAIT = yes # uses primitive reference code | |||
# Search Path | |||
VPATH += $(TARGET_DIR) | |||
VPATH += $(TOP_DIR) | |||
VPATH += $(TMK_DIR) | |||
include $(TOP_DIR)/common.mk | |||
include $(TOP_DIR)/protocol.mk | |||
include $(TOP_DIR)/protocol/pjrc.mk | |||
include $(TOP_DIR)/rules.mk | |||
include $(TMK_DIR)/common.mk | |||
include $(TMK_DIR)/protocol.mk | |||
include $(TMK_DIR)/protocol/pjrc.mk | |||
include $(TMK_DIR)/rules.mk |
@@ -42,7 +42,7 @@ | |||
TARGET = phantom_lufa | |||
# Directory common source filess exist | |||
TOP_DIR = ../.. | |||
TMK_DIR = ../.. | |||
# Directory keyboard dependent files exist | |||
TARGET_DIR = . | |||
@@ -115,11 +115,11 @@ OPT_DEFS += -DBOOTLOADER_SIZE=512 | |||
# Search Path | |||
VPATH += $(TARGET_DIR) | |||
VPATH += $(TOP_DIR) | |||
VPATH += $(TMK_DIR) | |||
include $(TOP_DIR)/protocol/lufa.mk | |||
include $(TOP_DIR)/common.mk | |||
include $(TOP_DIR)/rules.mk | |||
include $(TMK_DIR)/protocol/lufa.mk | |||
include $(TMK_DIR)/common.mk | |||
include $(TMK_DIR)/rules.mk | |||
ansi: OPT_DEFS += -DLAYOUT_ANSI | |||
ansi: all |
@@ -42,7 +42,7 @@ | |||
TARGET = phantom_pjrc | |||
# Directory common source filess exist | |||
TOP_DIR = ../.. | |||
TMK_DIR = ../.. | |||
# Directory keyboard dependent files exist | |||
TARGET_DIR = . | |||
@@ -86,11 +86,11 @@ COMMAND_ENABLE = yes # Commands for debug and configuration | |||
# Search Path | |||
VPATH += $(TARGET_DIR) | |||
VPATH += $(TOP_DIR) | |||
VPATH += $(TMK_DIR) | |||
include $(TOP_DIR)/protocol/pjrc.mk | |||
include $(TOP_DIR)/common.mk | |||
include $(TOP_DIR)/rules.mk | |||
include $(TMK_DIR)/protocol/pjrc.mk | |||
include $(TMK_DIR)/common.mk | |||
include $(TMK_DIR)/rules.mk | |||
ansi: OPT_DEFS += -DLAYOUT_ANSI | |||
ansi: all |
@@ -47,4 +47,4 @@ ifdef SERIAL_MOUSE_USE_UART | |||
endif | |||
# Search Path | |||
VPATH += $(TOP_DIR)/protocol | |||
VPATH += $(TMK_DIR)/protocol |
@@ -19,9 +19,9 @@ ifdef EXTRAKEY_ENABLE | |||
endif | |||
# Search Path | |||
VPATH += $(TOP_DIR)/$(BLUEFRUIT_DIR) | |||
#VPATH += $(TOP_DIR)/$(BLUEFRUIT_DIR)/usb_debug_only | |||
VPATH += $(TOP_DIR)/$(PJRC_DIR) | |||
VPATH += $(TMK_DIR)/$(BLUEFRUIT_DIR) | |||
#VPATH += $(TMK_DIR)/$(BLUEFRUIT_DIR)/usb_debug_only | |||
VPATH += $(TMK_DIR)/$(PJRC_DIR) | |||
OPT_DEFS += -DPROTOCOL_BLUEFRUIT | |||
OPT_DEFS += -DPROTOCOL_PJRC |
@@ -9,7 +9,7 @@ SRC += $(IWRAP_DIR)/main.c \ | |||
$(COMMON_DIR)/uart.c | |||
# Search Path | |||
VPATH += $(TOP_DIR)/protocol/iwrap | |||
VPATH += $(TMK_DIR)/protocol/iwrap | |||
# TODO: compatible with LUFA and PJRC | |||
@@ -21,6 +21,6 @@ SRC += $(VUSB_DIR)/vusb.c \ | |||
$(VUSB_DIR)/usbdrv/usbdrv.c \ | |||
$(VUSB_DIR)/usbdrv/usbdrvasm.S \ | |||
$(VUSB_DIR)/usbdrv/oddebug.c | |||
VPATH += $(TOP_DIR)/protocol/vusb:$(TOP_DIR)/protocol/vusb/usbdrv | |||
VPATH += $(TMK_DIR)/protocol/vusb:$(TMK_DIR)/protocol/vusb/usbdrv | |||
@@ -1,7 +1,7 @@ | |||
LUFA_DIR = protocol/lufa | |||
# Path to the LUFA library | |||
ifeq (, $(wildcard $(TOP_DIR)/$(LUFA_DIR)/LUFA-git/LUFA/Version.h)) | |||
ifeq (, $(wildcard $(TMK_DIR)/$(LUFA_DIR)/LUFA-git/LUFA/Version.h)) | |||
LUFA_PATH ?= $(LUFA_DIR)/LUFA-120730 | |||
else | |||
LUFA_PATH ?= $(LUFA_DIR)/LUFA-git | |||
@@ -9,12 +9,12 @@ endif | |||
# Create the LUFA source path variables by including the LUFA makefile | |||
ifneq (, $(wildcard $(TOP_DIR)/$(LUFA_PATH)/LUFA/Build/lufa_sources.mk)) | |||
ifneq (, $(wildcard $(TMK_DIR)/$(LUFA_PATH)/LUFA/Build/lufa_sources.mk)) | |||
# New build system from 20120730 | |||
LUFA_ROOT_PATH = $(LUFA_PATH)/LUFA | |||
include $(TOP_DIR)/$(LUFA_PATH)/LUFA/Build/lufa_sources.mk | |||
include $(TMK_DIR)/$(LUFA_PATH)/LUFA/Build/lufa_sources.mk | |||
else | |||
include $(TOP_DIR)/$(LUFA_PATH)/LUFA/makefile | |||
include $(TMK_DIR)/$(LUFA_PATH)/LUFA/makefile | |||
endif | |||
LUFA_SRC = $(LUFA_DIR)/lufa.c \ | |||
@@ -24,8 +24,8 @@ LUFA_SRC = $(LUFA_DIR)/lufa.c \ | |||
SRC += $(LUFA_SRC) | |||
# Search Path | |||
VPATH += $(TOP_DIR)/$(LUFA_DIR) | |||
VPATH += $(TOP_DIR)/$(LUFA_PATH) | |||
VPATH += $(TMK_DIR)/$(LUFA_DIR) | |||
VPATH += $(TMK_DIR)/$(LUFA_PATH) | |||
# Option modules | |||
#ifdef $(or MOUSEKEY_ENABLE, PS2_MOUSE_ENABLE) |
@@ -20,7 +20,7 @@ ifdef EXTRAKEY_ENABLE | |||
endif | |||
# Search Path | |||
VPATH += $(TOP_DIR)/$(PJRC_DIR) | |||
VPATH += $(TMK_DIR)/$(PJRC_DIR) | |||
# This indicates using LUFA stack | |||
OPT_DEFS += -DPROTOCOL_PJRC |
@@ -58,17 +58,17 @@ OPT_DEFS += -DARDUINO=101 | |||
# | |||
# Search Path | |||
# | |||
VPATH += $(TOP_DIR)/$(USB_HID_DIR) | |||
VPATH += $(TOP_DIR)/$(USB_HOST_SHIELD_DIR) | |||
VPATH += $(TMK_DIR)/$(USB_HID_DIR) | |||
VPATH += $(TMK_DIR)/$(USB_HOST_SHIELD_DIR) | |||
# for #include "Arduino.h" | |||
VPATH += $(TOP_DIR)/$(ARDUINO_CORES_DIR) | |||
VPATH += $(TMK_DIR)/$(ARDUINO_CORES_DIR) | |||
# for #include "pins_arduino.h" | |||
VPATH += $(TOP_DIR)/$(ARDUINO_DIR)/variants/leonardo | |||
VPATH += $(TMK_DIR)/$(ARDUINO_DIR)/variants/leonardo | |||
# ad hoc workaround for compile problem on Windows: | |||
# Windows doesn't know difference between common/print.h and arduino/Print.h. | |||
# On Linux no problem. | |||
# Change file name common/print.h to console.h ? | |||
VPATH := $(TOP_DIR)/common $(VPATH) | |||
VPATH := $(TMK_DIR)/common $(VPATH) |
@@ -41,7 +41,7 @@ | |||
# Target file name (without extension). | |||
TARGET = usb_hid_test | |||
TOP_DIR = ../../.. | |||
TMK_DIR = ../../.. | |||
# Directory keyboard dependent files exist | |||
TARGET_DIR = . | |||
@@ -111,8 +111,8 @@ CONFIG_H = config.h | |||
# Search Path | |||
VPATH += $(TARGET_DIR) | |||
VPATH += $(TOP_DIR) | |||
VPATH += $(TOP_DIR)/common | |||
VPATH += $(TMK_DIR) | |||
VPATH += $(TMK_DIR)/common | |||
@@ -121,6 +121,6 @@ PROGRAM_CMD = avrdude -p$(MCU) -cavr109 -P$(DEV) -b57600 -Uflash:w:$(TARGET).hex | |||
include $(TOP_DIR)/protocol/usb_hid.mk | |||
include $(TOP_DIR)/protocol/lufa.mk | |||
include $(TOP_DIR)/rules.mk | |||
include $(TMK_DIR)/protocol/usb_hid.mk | |||
include $(TMK_DIR)/protocol/lufa.mk | |||
include $(TMK_DIR)/rules.mk |
@@ -18,4 +18,4 @@ endif | |||
# Search Path | |||
VPATH += $(TOP_DIR)/protocol/vusb:$(TOP_DIR)/protocol/vusb/usbdrv | |||
VPATH += $(TMK_DIR)/protocol/vusb:$(TMK_DIR)/protocol/vusb/usbdrv |
@@ -77,5 +77,5 @@ endif | |||
ifdef KEYMAP_SECTION_ENABLE | |||
$(error Not Supported) | |||
OPT_DEFS += -DKEYMAP_SECTION_ENABLE | |||
EXTRALDFLAGS = -Wl,-L$(TOP_DIR),-Tldscript_keymap_avr5.x | |||
EXTRALDFLAGS = -Wl,-L$(TMK_DIR),-Tldscript_keymap_avr5.x | |||
endif |