diff options
| author | tmk <hasu@tmk-kbd.com> | 2015-04-09 16:20:42 +0900 |
|---|---|---|
| committer | tmk <hasu@tmk-kbd.com> | 2015-04-09 16:20:42 +0900 |
| commit | b4e2d325f355a4d083106476393775e75e11f284 (patch) | |
| tree | 8af0a44ec2f1876ed440b404f1520097db9d5dcc /protocol | |
| parent | 08ec8bbe5d39f224869a68acd6fc0c8265e18226 (diff) | |
| download | qmk_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.mk | 6 | ||||
| -rw-r--r-- | protocol/iwrap.mk | 4 | ||||
| -rw-r--r-- | protocol/lufa.mk | 12 | ||||
| -rw-r--r-- | protocol/pjrc.mk | 2 | ||||
| -rw-r--r-- | protocol/usb_hid.mk | 10 | ||||
| -rw-r--r-- | protocol/usb_hid/test/Makefile | 12 | ||||
| -rw-r--r-- | protocol/vusb.mk | 2 |
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 | |||
| 19 | endif | 19 | endif |
| 20 | 20 | ||
| 21 | # Search Path | 21 | # Search Path |
| 22 | VPATH += $(TOP_DIR)/$(BLUEFRUIT_DIR) | 22 | VPATH += $(TMK_DIR)/$(BLUEFRUIT_DIR) |
| 23 | #VPATH += $(TOP_DIR)/$(BLUEFRUIT_DIR)/usb_debug_only | 23 | #VPATH += $(TMK_DIR)/$(BLUEFRUIT_DIR)/usb_debug_only |
| 24 | VPATH += $(TOP_DIR)/$(PJRC_DIR) | 24 | VPATH += $(TMK_DIR)/$(PJRC_DIR) |
| 25 | 25 | ||
| 26 | OPT_DEFS += -DPROTOCOL_BLUEFRUIT | 26 | OPT_DEFS += -DPROTOCOL_BLUEFRUIT |
| 27 | OPT_DEFS += -DPROTOCOL_PJRC | 27 | OPT_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 |
| 12 | VPATH += $(TOP_DIR)/protocol/iwrap | 12 | VPATH += $(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 |
| 24 | VPATH += $(TOP_DIR)/protocol/vusb:$(TOP_DIR)/protocol/vusb/usbdrv | 24 | VPATH += $(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 @@ | |||
| 1 | LUFA_DIR = protocol/lufa | 1 | LUFA_DIR = protocol/lufa |
| 2 | 2 | ||
| 3 | # Path to the LUFA library | 3 | # Path to the LUFA library |
| 4 | ifeq (, $(wildcard $(TOP_DIR)/$(LUFA_DIR)/LUFA-git/LUFA/Version.h)) | 4 | ifeq (, $(wildcard $(TMK_DIR)/$(LUFA_DIR)/LUFA-git/LUFA/Version.h)) |
| 5 | LUFA_PATH ?= $(LUFA_DIR)/LUFA-120730 | 5 | LUFA_PATH ?= $(LUFA_DIR)/LUFA-120730 |
| 6 | else | 6 | else |
| 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 |
| 12 | ifneq (, $(wildcard $(TOP_DIR)/$(LUFA_PATH)/LUFA/Build/lufa_sources.mk)) | 12 | ifneq (, $(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 |
| 16 | else | 16 | else |
| 17 | include $(TOP_DIR)/$(LUFA_PATH)/LUFA/makefile | 17 | include $(TMK_DIR)/$(LUFA_PATH)/LUFA/makefile |
| 18 | endif | 18 | endif |
| 19 | 19 | ||
| 20 | LUFA_SRC = $(LUFA_DIR)/lufa.c \ | 20 | LUFA_SRC = $(LUFA_DIR)/lufa.c \ |
| @@ -24,8 +24,8 @@ LUFA_SRC = $(LUFA_DIR)/lufa.c \ | |||
| 24 | SRC += $(LUFA_SRC) | 24 | SRC += $(LUFA_SRC) |
| 25 | 25 | ||
| 26 | # Search Path | 26 | # Search Path |
| 27 | VPATH += $(TOP_DIR)/$(LUFA_DIR) | 27 | VPATH += $(TMK_DIR)/$(LUFA_DIR) |
| 28 | VPATH += $(TOP_DIR)/$(LUFA_PATH) | 28 | VPATH += $(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 | |||
| 20 | endif | 20 | endif |
| 21 | 21 | ||
| 22 | # Search Path | 22 | # Search Path |
| 23 | VPATH += $(TOP_DIR)/$(PJRC_DIR) | 23 | VPATH += $(TMK_DIR)/$(PJRC_DIR) |
| 24 | 24 | ||
| 25 | # This indicates using LUFA stack | 25 | # This indicates using LUFA stack |
| 26 | OPT_DEFS += -DPROTOCOL_PJRC | 26 | OPT_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 | # |
| 61 | VPATH += $(TOP_DIR)/$(USB_HID_DIR) | 61 | VPATH += $(TMK_DIR)/$(USB_HID_DIR) |
| 62 | VPATH += $(TOP_DIR)/$(USB_HOST_SHIELD_DIR) | 62 | VPATH += $(TMK_DIR)/$(USB_HOST_SHIELD_DIR) |
| 63 | 63 | ||
| 64 | # for #include "Arduino.h" | 64 | # for #include "Arduino.h" |
| 65 | VPATH += $(TOP_DIR)/$(ARDUINO_CORES_DIR) | 65 | VPATH += $(TMK_DIR)/$(ARDUINO_CORES_DIR) |
| 66 | 66 | ||
| 67 | # for #include "pins_arduino.h" | 67 | # for #include "pins_arduino.h" |
| 68 | VPATH += $(TOP_DIR)/$(ARDUINO_DIR)/variants/leonardo | 68 | VPATH += $(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 ? |
| 74 | VPATH := $(TOP_DIR)/common $(VPATH) | 74 | VPATH := $(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). |
| 42 | TARGET = usb_hid_test | 42 | TARGET = usb_hid_test |
| 43 | 43 | ||
| 44 | TOP_DIR = ../../.. | 44 | TMK_DIR = ../../.. |
| 45 | 45 | ||
| 46 | # Directory keyboard dependent files exist | 46 | # Directory keyboard dependent files exist |
| 47 | TARGET_DIR = . | 47 | TARGET_DIR = . |
| @@ -111,8 +111,8 @@ CONFIG_H = config.h | |||
| 111 | 111 | ||
| 112 | # Search Path | 112 | # Search Path |
| 113 | VPATH += $(TARGET_DIR) | 113 | VPATH += $(TARGET_DIR) |
| 114 | VPATH += $(TOP_DIR) | 114 | VPATH += $(TMK_DIR) |
| 115 | VPATH += $(TOP_DIR)/common | 115 | VPATH += $(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 | ||
| 124 | include $(TOP_DIR)/protocol/usb_hid.mk | 124 | include $(TMK_DIR)/protocol/usb_hid.mk |
| 125 | include $(TOP_DIR)/protocol/lufa.mk | 125 | include $(TMK_DIR)/protocol/lufa.mk |
| 126 | include $(TOP_DIR)/rules.mk | 126 | include $(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 |
| 21 | VPATH += $(TOP_DIR)/protocol/vusb:$(TOP_DIR)/protocol/vusb/usbdrv | 21 | VPATH += $(TMK_DIR)/protocol/vusb:$(TMK_DIR)/protocol/vusb/usbdrv |
