Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Erik Strand
lufa
Commits
b017b41e
Commit
b017b41e
authored
May 27, 2012
by
Dean Camera
Browse files
Don't generate dependency files or a MAP file when running BuildTests where possible.
parent
96462ac7
Changes
9
Hide whitespace changes
Inline
Side-by-side
BuildTests/BoardDriverTest/makefile.avr8
View file @
b017b41e
...
...
@@ -321,7 +321,7 @@ EXTMEMOPTS =
# -Wl,...: tell GCC to pass this to linker.
# -Map: create map file
# --cref: add cross reference to map file
LDFLAGS
=
-Wl
,-Map
=
$(TARGET)
.map,--cref
#
LDFLAGS = -Wl,-Map=$(TARGET).map,--cref
LDFLAGS
+=
-Wl
,--relax
LDFLAGS
+=
-Wl
,--gc-sections
LDFLAGS
+=
$(EXTMEMOPTS)
...
...
@@ -445,7 +445,7 @@ LST = $(SRC:%.c=$(OBJDIR)/%.lst) $(CPPSRC:%.cpp=$(OBJDIR)/%.lst) $(ASRC:%.S=$(OB
# Compiler flags to generate dependency files.
GENDEPFLAGS
=
-MMD
-MP
-MF
.dep/
$
(
@F
)
.d
#
GENDEPFLAGS = -MMD -MP -MF .dep/$(@F).d
# Combine all necessary flags and optional flags.
...
...
BuildTests/BoardDriverTest/makefile.uc3
View file @
b017b41e
...
...
@@ -230,7 +230,7 @@ ASFLAGS = $(ADEFS)
# -Wl,...: tell GCC to pass this to linker.
# -Map: create map file
# --cref: add cross reference to map file
LDFLAGS
=
-Wl
,-Map
=
$(TARGET)
.map,--cref
#
LDFLAGS = -Wl,-Map=$(TARGET).map,--cref
LDFLAGS
+=
-Wl
,--gc-sections
--rodata-writable
LDFLAGS
+=
-Wl
,--direct-data
#LDFLAGS += -T linker_script.x
...
...
@@ -283,7 +283,7 @@ LST = $(SRC:%.c=$(OBJDIR)/%.lst) $(CPPSRC:%.cpp=$(OBJDIR)/%.lst) $(ASRC:%.S=$(OB
# Compiler flags to generate dependency files.
GENDEPFLAGS
=
-MMD
-MP
-MF
.dep/
$
(
@F
)
.d
#
GENDEPFLAGS = -MMD -MP -MF .dep/$(@F).d
# Combine all necessary flags and optional flags.
...
...
BuildTests/BoardDriverTest/makefile.xmega
View file @
b017b41e
...
...
@@ -303,7 +303,7 @@ EXTMEMOPTS =
# -Wl,...: tell GCC to pass this to linker.
# -Map: create map file
# --cref: add cross reference to map file
LDFLAGS
=
-Wl
,-Map
=
$(TARGET)
.map,--cref
#
LDFLAGS = -Wl,-Map=$(TARGET).map,--cref
LDFLAGS
+=
-Wl
,--relax
LDFLAGS
+=
-Wl
,--gc-sections
LDFLAGS
+=
$(EXTMEMOPTS)
...
...
@@ -427,7 +427,7 @@ LST = $(SRC:%.c=$(OBJDIR)/%.lst) $(CPPSRC:%.cpp=$(OBJDIR)/%.lst) $(ASRC:%.S=$(OB
# Compiler flags to generate dependency files.
GENDEPFLAGS
=
-MMD
-MP
-MF
.dep/
$
(
@F
)
.d
#
GENDEPFLAGS = -MMD -MP -MF .dep/$(@F).d
# Combine all necessary flags and optional flags.
...
...
BuildTests/ModuleTest/makefile.avr8
View file @
b017b41e
...
...
@@ -339,7 +339,7 @@ EXTMEMOPTS =
# -Wl,...: tell GCC to pass this to linker.
# -Map: create map file
# --cref: add cross reference to map file
LDFLAGS
=
-Wl
,-Map
=
$(TARGET)
.map,--cref
#
LDFLAGS = -Wl,-Map=$(TARGET).map,--cref
LDFLAGS
+=
-Wl
,--relax
LDFLAGS
+=
-Wl
,--gc-sections
LDFLAGS
+=
$(EXTMEMOPTS)
...
...
@@ -463,7 +463,7 @@ LST = $(SRC:%.c=$(OBJDIR)/%.lst) $(CPPSRC:%.cpp=$(OBJDIR)/%.lst) $(ASRC:%.S=$(OB
# Compiler flags to generate dependency files.
GENDEPFLAGS
=
-MMD
-MP
-MF
.dep/
$
(
@F
)
.d
#
GENDEPFLAGS = -MMD -MP -MF .dep/$(@F).d
# Combine all necessary flags and optional flags.
...
...
BuildTests/ModuleTest/makefile.uc3
View file @
b017b41e
...
...
@@ -257,7 +257,7 @@ ASFLAGS = $(ADEFS)
# -Wl,...: tell GCC to pass this to linker.
# -Map: create map file
# --cref: add cross reference to map file
LDFLAGS
=
-Wl
,-Map
=
$(TARGET)
.map,--cref
#
LDFLAGS = -Wl,-Map=$(TARGET).map,--cref
LDFLAGS
+=
-Wl
,--gc-sections
--rodata-writable
LDFLAGS
+=
-Wl
,--direct-data
#LDFLAGS += -T linker_script.x
...
...
@@ -310,7 +310,7 @@ LST = $(SRC:%.c=$(OBJDIR)/%.lst) $(CPPSRC:%.cpp=$(OBJDIR)/%.lst) $(ASRC:%.S=$(OB
# Compiler flags to generate dependency files.
GENDEPFLAGS
=
-MMD
-MP
-MF
.dep/
$
(
@F
)
.d
#
GENDEPFLAGS = -MMD -MP -MF .dep/$(@F).d
# Combine all necessary flags and optional flags.
...
...
BuildTests/ModuleTest/makefile.xmega
View file @
b017b41e
...
...
@@ -331,7 +331,7 @@ EXTMEMOPTS =
# -Wl,...: tell GCC to pass this to linker.
# -Map: create map file
# --cref: add cross reference to map file
LDFLAGS
=
-Wl
,-Map
=
$(TARGET)
.map,--cref
#
LDFLAGS = -Wl,-Map=$(TARGET).map,--cref
LDFLAGS
+=
-Wl
,--relax
LDFLAGS
+=
-Wl
,--gc-sections
LDFLAGS
+=
$(EXTMEMOPTS)
...
...
@@ -455,7 +455,7 @@ LST = $(SRC:%.c=$(OBJDIR)/%.lst) $(CPPSRC:%.cpp=$(OBJDIR)/%.lst) $(ASRC:%.S=$(OB
# Compiler flags to generate dependency files.
GENDEPFLAGS
=
-MMD
-MP
-MF
.dep/
$
(
@F
)
.d
#
GENDEPFLAGS = -MMD -MP -MF .dep/$(@F).d
# Combine all necessary flags and optional flags.
...
...
BuildTests/SingleUSBModeTest/makefile.avr8
View file @
b017b41e
...
...
@@ -322,7 +322,7 @@ EXTMEMOPTS =
# -Wl,...: tell GCC to pass this to linker.
# -Map: create map file
# --cref: add cross reference to map file
LDFLAGS
=
-Wl
,-Map
=
$(TARGET)
.map,--cref
#
LDFLAGS = -Wl,-Map=$(TARGET).map,--cref
LDFLAGS
+=
-Wl
,--relax
LDFLAGS
+=
-Wl
,--gc-sections
LDFLAGS
+=
$(EXTMEMOPTS)
...
...
@@ -446,7 +446,7 @@ LST = $(SRC:%.c=$(OBJDIR)/%.lst) $(CPPSRC:%.cpp=$(OBJDIR)/%.lst) $(ASRC:%.S=$(OB
# Compiler flags to generate dependency files.
GENDEPFLAGS
=
-MMD
-MP
-MF
.dep/
$
(
@F
)
.d
#
GENDEPFLAGS = -MMD -MP -MF .dep/$(@F).d
# Combine all necessary flags and optional flags.
...
...
BuildTests/SingleUSBModeTest/makefile.uc3
View file @
b017b41e
...
...
@@ -231,7 +231,7 @@ ASFLAGS = $(ADEFS)
# -Wl,...: tell GCC to pass this to linker.
# -Map: create map file
# --cref: add cross reference to map file
LDFLAGS
=
-Wl
,-Map
=
$(TARGET)
.map,--cref
#
LDFLAGS = -Wl,-Map=$(TARGET).map,--cref
LDFLAGS
+=
-Wl
,--gc-sections
--rodata-writable
LDFLAGS
+=
-Wl
,--direct-data
#LDFLAGS += -T linker_script.x
...
...
@@ -284,7 +284,7 @@ LST = $(SRC:%.c=$(OBJDIR)/%.lst) $(CPPSRC:%.cpp=$(OBJDIR)/%.lst) $(ASRC:%.S=$(OB
# Compiler flags to generate dependency files.
GENDEPFLAGS
=
-MMD
-MP
-MF
.dep/
$
(
@F
)
.d
#
GENDEPFLAGS = -MMD -MP -MF .dep/$(@F).d
# Combine all necessary flags and optional flags.
...
...
BuildTests/SingleUSBModeTest/makefile.xmega
View file @
b017b41e
...
...
@@ -304,7 +304,7 @@ EXTMEMOPTS =
# -Wl,...: tell GCC to pass this to linker.
# -Map: create map file
# --cref: add cross reference to map file
LDFLAGS
=
-Wl
,-Map
=
$(TARGET)
.map,--cref
#
LDFLAGS = -Wl,-Map=$(TARGET).map,--cref
LDFLAGS
+=
-Wl
,--relax
LDFLAGS
+=
-Wl
,--gc-sections
LDFLAGS
+=
$(EXTMEMOPTS)
...
...
@@ -428,7 +428,7 @@ LST = $(SRC:%.c=$(OBJDIR)/%.lst) $(CPPSRC:%.cpp=$(OBJDIR)/%.lst) $(ASRC:%.S=$(OB
# Compiler flags to generate dependency files.
GENDEPFLAGS
=
-MMD
-MP
-MF
.dep/
$
(
@F
)
.d
#
GENDEPFLAGS = -MMD -MP -MF .dep/$(@F).d
# Combine all necessary flags and optional flags.
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment