aboutsummaryrefslogtreecommitdiff
path: root/protocol/lufa.mk
diff options
context:
space:
mode:
Diffstat (limited to 'protocol/lufa.mk')
-rw-r--r--protocol/lufa.mk10
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 @@
1LUFA_DIR = protocol/lufa 1LUFA_DIR = protocol/lufa
2 2
3# Path to the LUFA library 3# Path to the LUFA library
4LUFA_PATH = $(TOP_DIR)/protocol/lufa/LUFA-120219 4LUFA_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
7include $(LUFA_PATH)/LUFA/makefile 7include $(TOP_DIR)/$(LUFA_PATH)/LUFA/makefile
8 8
9LUFA_SRC = $(LUFA_DIR)/lufa.c \ 9LUFA_SRC = $(LUFA_DIR)/lufa.c \
10 $(LUFA_DIR)/descriptor.c \ 10 $(LUFA_DIR)/descriptor.c \
11 $(LUFA_SRC_USB) 11 $(LUFA_SRC_USB)
12SRC += $(subst $(LUFA_PATH)/,,$(LUFA_SRC)) 12
13SRC += $(LUFA_SRC)
13 14
14# Search Path 15# Search Path
15VPATH += $(LUFA_PATH) 16VPATH += $(TOP_DIR)/$(LUFA_DIR)
17VPATH += $(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)