diff --git a/LUFA/Build/lufa.sources.in b/LUFA/Build/lufa.sources.in index e3df528faa14a20eaeca64ad2c97662d7ab222f4..10e5c1d70ff1df28f51754b2ffe4da0f1aa2cd32 100644 --- a/LUFA/Build/lufa.sources.in +++ b/LUFA/Build/lufa.sources.in @@ -101,7 +101,8 @@ LUFA_SRC_SERIAL := $(LUFA_ROOT_PATH)/Drivers/Peripheral/$(ARCH)/Serial_$(AR LUFA_SRC_TWI := $(LUFA_ROOT_PATH)/Drivers/Peripheral/$(ARCH)/TWI_$(ARCH).c ifeq ($(ARCH), UC3) - LUFA_SRC_PLATFORM := $(LUFA_PATH)/Platform/UC3/Exception.S $(LUFA_PATH)/Platform/UC3/InterruptManagement.c + LUFA_SRC_PLATFORM := $(LUFA_ROOT_PATH)/Platform/UC3/Exception.S \ + $(LUFA_ROOT_PATH)/Platform/UC3/InterruptManagement.c else LUFA_SRC_PLATFORM := endif diff --git a/LUFA/makefile b/LUFA/makefile index 21f0f578a02c93c8e378130152c8874c9246e90e..e8b7b7b9edc5a812045db67af767ded72cd7582a 100644 --- a/LUFA/makefile +++ b/LUFA/makefile @@ -25,9 +25,9 @@ version: # Check if this is being included from a legacy or non LUFA build system makefile ifneq ($(LUFA_PATH),) - LUFA_ROOT_PATH = $(LUFA_PATH)/LUFA/ + LUFA_ROOT_PATH = $(patsubst %/,%,$(LUFA_PATH))/LUFA/ - include $(LUFA_PATH)/LUFA/Build/lufa.sources.in + include $(patsubst %/,%,$(LUFA_PATH))/LUFA/Build/lufa.sources.in else LUFA_BUILD_MODULES += MASTER LUFA_BUILD_TARGETS += export_tar version