aboutsummaryrefslogtreecommitdiff
path: root/protocol
diff options
context:
space:
mode:
authortmk <hasu@tmk-kbd.com>2015-04-09 16:20:42 +0900
committertmk <hasu@tmk-kbd.com>2015-04-09 16:20:42 +0900
commitb4e2d325f355a4d083106476393775e75e11f284 (patch)
tree8af0a44ec2f1876ed440b404f1520097db9d5dcc /protocol
parent08ec8bbe5d39f224869a68acd6fc0c8265e18226 (diff)
downloadqmk_firmware-b4e2d325f355a4d083106476393775e75e11f284.tar.gz
qmk_firmware-b4e2d325f355a4d083106476393775e75e11f284.zip
Change TOP_DIR to TMK_DIR in makefiles
Diffstat (limited to 'protocol')
-rw-r--r--protocol/bluefruit.mk6
-rw-r--r--protocol/iwrap.mk4
-rw-r--r--protocol/lufa.mk12
-rw-r--r--protocol/pjrc.mk2
-rw-r--r--protocol/usb_hid.mk10
-rw-r--r--protocol/usb_hid/test/Makefile12
-rw-r--r--protocol/vusb.mk2
7 files changed, 24 insertions, 24 deletions
diff --git a/protocol/bluefruit.mk b/protocol/bluefruit.mk
index 7e6328f6c..e1c5fff77 100644
--- a/protocol/bluefruit.mk
+++ b/protocol/bluefruit.mk
@@ -19,9 +19,9 @@ ifdef EXTRAKEY_ENABLE
19endif 19endif
20 20
21# Search Path 21# Search Path
22VPATH += $(TOP_DIR)/$(BLUEFRUIT_DIR) 22VPATH += $(TMK_DIR)/$(BLUEFRUIT_DIR)
23#VPATH += $(TOP_DIR)/$(BLUEFRUIT_DIR)/usb_debug_only 23#VPATH += $(TMK_DIR)/$(BLUEFRUIT_DIR)/usb_debug_only
24VPATH += $(TOP_DIR)/$(PJRC_DIR) 24VPATH += $(TMK_DIR)/$(PJRC_DIR)
25 25
26OPT_DEFS += -DPROTOCOL_BLUEFRUIT 26OPT_DEFS += -DPROTOCOL_BLUEFRUIT
27OPT_DEFS += -DPROTOCOL_PJRC 27OPT_DEFS += -DPROTOCOL_PJRC
diff --git a/protocol/iwrap.mk b/protocol/iwrap.mk
index 3b63efe9a..eeedd83af 100644
--- a/protocol/iwrap.mk
+++ b/protocol/iwrap.mk
@@ -9,7 +9,7 @@ SRC += $(IWRAP_DIR)/main.c \
9 $(COMMON_DIR)/uart.c 9 $(COMMON_DIR)/uart.c
10 10
11# Search Path 11# Search Path
12VPATH += $(TOP_DIR)/protocol/iwrap 12VPATH += $(TMK_DIR)/protocol/iwrap
13 13
14 14
15# TODO: compatible with LUFA and PJRC 15# TODO: compatible with LUFA and PJRC
@@ -21,6 +21,6 @@ SRC += $(VUSB_DIR)/vusb.c \
21 $(VUSB_DIR)/usbdrv/usbdrv.c \ 21 $(VUSB_DIR)/usbdrv/usbdrv.c \
22 $(VUSB_DIR)/usbdrv/usbdrvasm.S \ 22 $(VUSB_DIR)/usbdrv/usbdrvasm.S \
23 $(VUSB_DIR)/usbdrv/oddebug.c 23 $(VUSB_DIR)/usbdrv/oddebug.c
24VPATH += $(TOP_DIR)/protocol/vusb:$(TOP_DIR)/protocol/vusb/usbdrv 24VPATH += $(TMK_DIR)/protocol/vusb:$(TMK_DIR)/protocol/vusb/usbdrv
25 25
26 26
diff --git a/protocol/lufa.mk b/protocol/lufa.mk
index ac70ac039..2575e89df 100644
--- a/protocol/lufa.mk
+++ b/protocol/lufa.mk
@@ -1,7 +1,7 @@
1LUFA_DIR = protocol/lufa 1LUFA_DIR = protocol/lufa
2 2
3# Path to the LUFA library 3# Path to the LUFA library
4ifeq (, $(wildcard $(TOP_DIR)/$(LUFA_DIR)/LUFA-git/LUFA/Version.h)) 4ifeq (, $(wildcard $(TMK_DIR)/$(LUFA_DIR)/LUFA-git/LUFA/Version.h))
5 LUFA_PATH ?= $(LUFA_DIR)/LUFA-120730 5 LUFA_PATH ?= $(LUFA_DIR)/LUFA-120730
6else 6else
7 LUFA_PATH ?= $(LUFA_DIR)/LUFA-git 7 LUFA_PATH ?= $(LUFA_DIR)/LUFA-git
@@ -9,12 +9,12 @@ endif
9 9
10 10
11# Create the LUFA source path variables by including the LUFA makefile 11# Create the LUFA source path variables by including the LUFA makefile
12ifneq (, $(wildcard $(TOP_DIR)/$(LUFA_PATH)/LUFA/Build/lufa_sources.mk)) 12ifneq (, $(wildcard $(TMK_DIR)/$(LUFA_PATH)/LUFA/Build/lufa_sources.mk))
13 # New build system from 20120730 13 # New build system from 20120730
14 LUFA_ROOT_PATH = $(LUFA_PATH)/LUFA 14 LUFA_ROOT_PATH = $(LUFA_PATH)/LUFA
15 include $(TOP_DIR)/$(LUFA_PATH)/LUFA/Build/lufa_sources.mk 15 include $(TMK_DIR)/$(LUFA_PATH)/LUFA/Build/lufa_sources.mk
16else 16else
17 include $(TOP_DIR)/$(LUFA_PATH)/LUFA/makefile 17 include $(TMK_DIR)/$(LUFA_PATH)/LUFA/makefile
18endif 18endif
19 19
20LUFA_SRC = $(LUFA_DIR)/lufa.c \ 20LUFA_SRC = $(LUFA_DIR)/lufa.c \
@@ -24,8 +24,8 @@ LUFA_SRC = $(LUFA_DIR)/lufa.c \
24SRC += $(LUFA_SRC) 24SRC += $(LUFA_SRC)
25 25
26# Search Path 26# Search Path
27VPATH += $(TOP_DIR)/$(LUFA_DIR) 27VPATH += $(TMK_DIR)/$(LUFA_DIR)
28VPATH += $(TOP_DIR)/$(LUFA_PATH) 28VPATH += $(TMK_DIR)/$(LUFA_PATH)
29 29
30# Option modules 30# Option modules
31#ifdef $(or MOUSEKEY_ENABLE, PS2_MOUSE_ENABLE) 31#ifdef $(or MOUSEKEY_ENABLE, PS2_MOUSE_ENABLE)
diff --git a/protocol/pjrc.mk b/protocol/pjrc.mk
index 5a4461382..36585de7d 100644
--- a/protocol/pjrc.mk
+++ b/protocol/pjrc.mk
@@ -20,7 +20,7 @@ ifdef EXTRAKEY_ENABLE
20endif 20endif
21 21
22# Search Path 22# Search Path
23VPATH += $(TOP_DIR)/$(PJRC_DIR) 23VPATH += $(TMK_DIR)/$(PJRC_DIR)
24 24
25# This indicates using LUFA stack 25# This indicates using LUFA stack
26OPT_DEFS += -DPROTOCOL_PJRC 26OPT_DEFS += -DPROTOCOL_PJRC
diff --git a/protocol/usb_hid.mk b/protocol/usb_hid.mk
index 8fda76c2e..1f79bda3b 100644
--- a/protocol/usb_hid.mk
+++ b/protocol/usb_hid.mk
@@ -58,17 +58,17 @@ OPT_DEFS += -DARDUINO=101
58# 58#
59# Search Path 59# Search Path
60# 60#
61VPATH += $(TOP_DIR)/$(USB_HID_DIR) 61VPATH += $(TMK_DIR)/$(USB_HID_DIR)
62VPATH += $(TOP_DIR)/$(USB_HOST_SHIELD_DIR) 62VPATH += $(TMK_DIR)/$(USB_HOST_SHIELD_DIR)
63 63
64# for #include "Arduino.h" 64# for #include "Arduino.h"
65VPATH += $(TOP_DIR)/$(ARDUINO_CORES_DIR) 65VPATH += $(TMK_DIR)/$(ARDUINO_CORES_DIR)
66 66
67# for #include "pins_arduino.h" 67# for #include "pins_arduino.h"
68VPATH += $(TOP_DIR)/$(ARDUINO_DIR)/variants/leonardo 68VPATH += $(TMK_DIR)/$(ARDUINO_DIR)/variants/leonardo
69 69
70# ad hoc workaround for compile problem on Windows: 70# ad hoc workaround for compile problem on Windows:
71# Windows doesn't know difference between common/print.h and arduino/Print.h. 71# Windows doesn't know difference between common/print.h and arduino/Print.h.
72# On Linux no problem. 72# On Linux no problem.
73# Change file name common/print.h to console.h ? 73# Change file name common/print.h to console.h ?
74VPATH := $(TOP_DIR)/common $(VPATH) 74VPATH := $(TMK_DIR)/common $(VPATH)
diff --git a/protocol/usb_hid/test/Makefile b/protocol/usb_hid/test/Makefile
index 39f5de455..83bf2aed6 100644
--- a/protocol/usb_hid/test/Makefile
+++ b/protocol/usb_hid/test/Makefile
@@ -41,7 +41,7 @@
41# Target file name (without extension). 41# Target file name (without extension).
42TARGET = usb_hid_test 42TARGET = usb_hid_test
43 43
44TOP_DIR = ../../.. 44TMK_DIR = ../../..
45 45
46# Directory keyboard dependent files exist 46# Directory keyboard dependent files exist
47TARGET_DIR = . 47TARGET_DIR = .
@@ -111,8 +111,8 @@ CONFIG_H = config.h
111 111
112# Search Path 112# Search Path
113VPATH += $(TARGET_DIR) 113VPATH += $(TARGET_DIR)
114VPATH += $(TOP_DIR) 114VPATH += $(TMK_DIR)
115VPATH += $(TOP_DIR)/common 115VPATH += $(TMK_DIR)/common
116 116
117 117
118 118
@@ -121,6 +121,6 @@ PROGRAM_CMD = avrdude -p$(MCU) -cavr109 -P$(DEV) -b57600 -Uflash:w:$(TARGET).hex
121 121
122 122
123 123
124include $(TOP_DIR)/protocol/usb_hid.mk 124include $(TMK_DIR)/protocol/usb_hid.mk
125include $(TOP_DIR)/protocol/lufa.mk 125include $(TMK_DIR)/protocol/lufa.mk
126include $(TOP_DIR)/rules.mk 126include $(TMK_DIR)/rules.mk
diff --git a/protocol/vusb.mk b/protocol/vusb.mk
index 3227ca7bf..3cba3f71a 100644
--- a/protocol/vusb.mk
+++ b/protocol/vusb.mk
@@ -18,4 +18,4 @@ endif
18 18
19 19
20# Search Path 20# Search Path
21VPATH += $(TOP_DIR)/protocol/vusb:$(TOP_DIR)/protocol/vusb/usbdrv 21VPATH += $(TMK_DIR)/protocol/vusb:$(TMK_DIR)/protocol/vusb/usbdrv