aboutsummaryrefslogtreecommitdiffstats
path: root/protocol/lufa.mk
diff options
context:
space:
mode:
authortmk <nobody@nowhere>2014-04-25 12:52:47 +0900
committertmk <nobody@nowhere>2014-04-25 13:39:35 +0900
commitfc3a20c534c370944b7471adc60b8982d586d69c (patch)
treee2c5e1bab9571c366ed74b2e524ada3fb076a8c0 /protocol/lufa.mk
parentad4cba172b2eea37697ca531016c4c3b4defaeb7 (diff)
downloadfirmware-fc3a20c534c370944b7471adc60b8982d586d69c.tar.gz
firmware-fc3a20c534c370944b7471adc60b8982d586d69c.tar.bz2
firmware-fc3a20c534c370944b7471adc60b8982d586d69c.zip
Add LUFA git repository(release 140302)
Diffstat (limited to 'protocol/lufa.mk')
-rw-r--r--protocol/lufa.mk8
1 files changed, 6 insertions, 2 deletions
diff --git a/protocol/lufa.mk b/protocol/lufa.mk
index 10a922f90..48ce9ae87 100644
--- a/protocol/lufa.mk
+++ b/protocol/lufa.mk
@@ -1,8 +1,12 @@
LUFA_DIR = protocol/lufa
# Path to the LUFA library
-LUFA_PATH ?= protocol/lufa/LUFA-120730
-#LUFA_PATH ?= protocol/lufa/LUFA-130901
+ifeq (, $(wildcard $(TOP_DIR)/$(LUFA_DIR)/LUFA-git))
+ LUFA_PATH ?= $(LUFA_DIR)/LUFA-120730
+else
+ LUFA_PATH ?= $(LUFA_DIR)/LUFA-git
+endif
+
# Create the LUFA source path variables by including the LUFA makefile
ifneq (, $(wildcard $(TOP_DIR)/$(LUFA_PATH)/LUFA/Build/lufa_sources.mk))