Skip to content
Snippets Groups Projects
Commit f7ad67cf authored by Dean Camera's avatar Dean Camera
Browse files

Fix LUFA_SRC_PLATFORM makefile variable in the SOURCES build module to use...

Fix LUFA_SRC_PLATFORM makefile variable in the SOURCES build module to use LUFA_ROOT_PATH rather than LUFA_PATH.
parent 865529ad
No related branches found
No related tags found
No related merge requests found
...@@ -101,7 +101,8 @@ LUFA_SRC_SERIAL := $(LUFA_ROOT_PATH)/Drivers/Peripheral/$(ARCH)/Serial_$(AR ...@@ -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 LUFA_SRC_TWI := $(LUFA_ROOT_PATH)/Drivers/Peripheral/$(ARCH)/TWI_$(ARCH).c
ifeq ($(ARCH), UC3) 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 else
LUFA_SRC_PLATFORM := LUFA_SRC_PLATFORM :=
endif endif
......
...@@ -25,9 +25,9 @@ version: ...@@ -25,9 +25,9 @@ version:
# Check if this is being included from a legacy or non LUFA build system makefile # Check if this is being included from a legacy or non LUFA build system makefile
ifneq ($(LUFA_PATH),) 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 else
LUFA_BUILD_MODULES += MASTER LUFA_BUILD_MODULES += MASTER
LUFA_BUILD_TARGETS += export_tar version LUFA_BUILD_TARGETS += export_tar version
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment