diff options
author | tmk <nobody@nowhere> | 2014-04-25 12:52:47 +0900 |
---|---|---|
committer | tmk <nobody@nowhere> | 2014-04-25 13:39:35 +0900 |
commit | fc3a20c534c370944b7471adc60b8982d586d69c (patch) | |
tree | e2c5e1bab9571c366ed74b2e524ada3fb076a8c0 /protocol/lufa.mk | |
parent | ad4cba172b2eea37697ca531016c4c3b4defaeb7 (diff) |
Add LUFA git repository(release 140302)
Diffstat (limited to 'protocol/lufa.mk')
-rw-r--r-- | protocol/lufa.mk | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/protocol/lufa.mk b/protocol/lufa.mk index 10a922f902..48ce9ae879 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)) |