Strip trailing slash from the user-supplied LUFA_PATH directory, to prevent double slashes from appearing in the commands/output.

This commit is contained in:
Dean Camera committed 2012-06-02 12:29:36 +00:00
1 parent 7c75623e43
commit 59ca4ec0ec
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -104,7 +104,7 @@ else
$(error Unsupported architecture.)
endif
CC_FLAGS += -Wall -fno-strict-aliasing -funsigned-char -funsigned-bitfields -ffunction-sections
CC_FLAGS += -I. -I$(LUFA_PATH)/..
CC_FLAGS += -I. -I$(patsubst %/,%,$(LUFA_PATH))/..
CC_FLAGS += -DARCH=ARCH_$(ARCH) -DBOARD=BOARD_$(BOARD) -DF_USB=$(F_USB)UL
ifneq ($(F_CPU),)
CC_FLAGS += -DF_CPU=$(F_CPU)UL