From fc3a20c534c370944b7471adc60b8982d586d69c Mon Sep 17 00:00:00 2001 From: tmk Date: Fri, 25 Apr 2014 12:52:47 +0900 Subject: Add LUFA git repository(release 140302) --- protocol/lufa.mk | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'protocol/lufa.mk') 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)) -- cgit v1.2.3-24-g4f1b