diff options
Diffstat (limited to 'protocol/lufa.mk')
-rw-r--r-- | protocol/lufa.mk | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/protocol/lufa.mk b/protocol/lufa.mk index ad6cab6d3..bf6fc97b8 100644 --- a/protocol/lufa.mk +++ b/protocol/lufa.mk | |||
@@ -1,18 +1,20 @@ | |||
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 | LUFA_PATH = $(TOP_DIR)/protocol/lufa/LUFA-120219 | 4 | LUFA_PATH = protocol/lufa/LUFA-120219 |
5 | 5 | ||
6 | # Create the LUFA source path variables by including the LUFA root makefile | 6 | # Create the LUFA source path variables by including the LUFA root makefile |
7 | include $(LUFA_PATH)/LUFA/makefile | 7 | include $(TOP_DIR)/$(LUFA_PATH)/LUFA/makefile |
8 | 8 | ||
9 | LUFA_SRC = $(LUFA_DIR)/lufa.c \ | 9 | LUFA_SRC = $(LUFA_DIR)/lufa.c \ |
10 | $(LUFA_DIR)/descriptor.c \ | 10 | $(LUFA_DIR)/descriptor.c \ |
11 | $(LUFA_SRC_USB) | 11 | $(LUFA_SRC_USB) |
12 | SRC += $(subst $(LUFA_PATH)/,,$(LUFA_SRC)) | 12 | |
13 | SRC += $(LUFA_SRC) | ||
13 | 14 | ||
14 | # Search Path | 15 | # Search Path |
15 | VPATH += $(LUFA_PATH) | 16 | VPATH += $(TOP_DIR)/$(LUFA_DIR) |
17 | VPATH += $(TOP_DIR)/$(LUFA_PATH) | ||
16 | 18 | ||
17 | # Option modules | 19 | # Option modules |
18 | #ifdef $(or MOUSEKEY_ENABLE, PS2_MOUSE_ENABLE) | 20 | #ifdef $(or MOUSEKEY_ENABLE, PS2_MOUSE_ENABLE) |