Fix LUFA_SRC_PLATFORM makefile variable in the SOURCES build module to use LUFA_ROOT_PATH rather than LUFA_PATH.

This commit is contained in:
Dean Camera 2012-07-05 18:32:50 +00:00
parent 865529adea
commit f7ad67cf18
2 changed files with 4 additions and 3 deletions

View file

@ -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