Fixed bug #521 - only create srec when there's a SREC var
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@7119 35acf78f-673a-0410-8e92-d51de3d6d3f4master
parent
a5ba022311
commit
6e81c34c57
|
@ -64,9 +64,12 @@ endif
|
||||||
OUTFILES = $(BUILDDIR)/$(PROJECT).elf \
|
OUTFILES = $(BUILDDIR)/$(PROJECT).elf \
|
||||||
$(BUILDDIR)/$(PROJECT).hex \
|
$(BUILDDIR)/$(PROJECT).hex \
|
||||||
$(BUILDDIR)/$(PROJECT).bin \
|
$(BUILDDIR)/$(PROJECT).bin \
|
||||||
$(BUILDDIR)/$(PROJECT).srec\
|
|
||||||
$(BUILDDIR)/$(PROJECT).dmp
|
$(BUILDDIR)/$(PROJECT).dmp
|
||||||
|
|
||||||
|
ifdef SREC
|
||||||
|
OUTFILES += $(BUILDDIR)/$(PROJECT).srec
|
||||||
|
endif
|
||||||
|
|
||||||
# Source files groups and paths
|
# Source files groups and paths
|
||||||
ifeq ($(USE_THUMB),yes)
|
ifeq ($(USE_THUMB),yes)
|
||||||
TCSRC += $(CSRC)
|
TCSRC += $(CSRC)
|
||||||
|
|
Loading…
Reference in New Issue