Fix makefiles -- the auto-addition of -D switches to each LUFA compile time option was faulty, due to GNUMake becomming confused by the spaces in the USE_STATIC_OPTIONS lines. Make user add in the switches explicitly instead.
This commit is contained in:
parent
beb0b2bda0
commit
feabfd12ce
54 changed files with 307 additions and 306 deletions
|
@ -123,7 +123,7 @@ LUFA_PATH = ../../..
|
|||
|
||||
|
||||
# LUFA library compile-time options
|
||||
LUFA_OPTS = USE_NONSTANDARD_DESCRIPTOR_NAMES
|
||||
LUFA_OPTS = -D USE_NONSTANDARD_DESCRIPTOR_NAMES
|
||||
|
||||
|
||||
# List C source files here. (C dependencies are automatically generated.)
|
||||
|
@ -188,7 +188,7 @@ CSTANDARD = -std=gnu99
|
|||
|
||||
|
||||
# Place -D or -U options here for C sources
|
||||
CDEFS = -DF_CPU=$(F_CPU)UL -DF_CLOCK=$(F_CLOCK)UL -DBOARD=BOARD_$(BOARD) $(patsubst %,-D%,$(LUFA_OPTS))
|
||||
CDEFS = -DF_CPU=$(F_CPU)UL -DF_CLOCK=$(F_CLOCK)UL -DBOARD=BOARD_$(BOARD) $(LUFA_OPTS)
|
||||
|
||||
|
||||
# Place -D or -U options here for ASM sources
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue