projects
/
pub
/
USBasp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
4453133
)
Oops - fix accidental negation in the BUILD module architecture detection code. Add...
author
Dean Camera
<dean@fourwalledcubicle.com>
Sat, 2 Jun 2012 10:53:35 +0000
(10:53 +0000)
committer
Dean Camera
<dean@fourwalledcubicle.com>
Sat, 2 Jun 2012 10:53:35 +0000
(10:53 +0000)
LUFA/Build/lufa.build.in
patch
|
blob
|
blame
|
history
diff --git
a/LUFA/Build/lufa.build.in
b/LUFA/Build/lufa.build.in
index
d39ab72
..
be14a6f
100644
(file)
--- a/
LUFA/Build/lufa.build.in
+++ b/
LUFA/Build/lufa.build.in
@@
-93,7
+93,7
@@
ASM_SOURCE = $(filter %.S, $(SRC))
OBJECT_FILES = $(filter %.o, $(C_SOURCE:%.c=%.o) $(CPP_SOURCE:%.cpp=%.o) $(ASM_SOURCE:%.S=%.o))
\r
\r
# Create a list of flags to pass to the compiler
\r
OBJECT_FILES = $(filter %.o, $(C_SOURCE:%.c=%.o) $(CPP_SOURCE:%.cpp=%.o) $(ASM_SOURCE:%.S=%.o))
\r
\r
# Create a list of flags to pass to the compiler
\r
-if
n
eq ($(ARCH), AVR8)
\r
+ifeq ($(ARCH), AVR8)
\r
CC_FLAGS += -mmcu=$(MCU) -gdwarf-2 -fshort-enums -fno-inline-small-functions -fpack-struct
\r
CROSS = avr-
\r
else ifeq ($(ARCH), XMEGA)
\r
CC_FLAGS += -mmcu=$(MCU) -gdwarf-2 -fshort-enums -fno-inline-small-functions -fpack-struct
\r
CROSS = avr-
\r
else ifeq ($(ARCH), XMEGA)
\r
@@
-102,6
+102,8
@@
else ifeq ($(ARCH), XMEGA)
else ifeq ($(ARCH), UC3)
\r
CC_FLAGS += -mpart=$(MCU) -g3 -masm-addr-pseudos
\r
CROSS = avr32-
\r
else ifeq ($(ARCH), UC3)
\r
CC_FLAGS += -mpart=$(MCU) -g3 -masm-addr-pseudos
\r
CROSS = avr32-
\r
+else
\r
+ $(error Unsupported architecture.)
\r
endif
\r
CC_FLAGS += -fno-strict-aliasing -funsigned-char -funsigned-bitfields -ffunction-sections
\r
CC_FLAGS += -Wall -Wstrict-prototypes
\r
endif
\r
CC_FLAGS += -fno-strict-aliasing -funsigned-char -funsigned-bitfields -ffunction-sections
\r
CC_FLAGS += -Wall -Wstrict-prototypes
\r