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-d51de3d6d3f4
master
utzig 2014-08-03 23:45:32 +00:00
parent a5ba022311
commit 6e81c34c57
1 changed files with 4 additions and 1 deletions

View File

@ -64,9 +64,12 @@ endif
OUTFILES = $(BUILDDIR)/$(PROJECT).elf \
$(BUILDDIR)/$(PROJECT).hex \
$(BUILDDIR)/$(PROJECT).bin \
$(BUILDDIR)/$(PROJECT).srec\
$(BUILDDIR)/$(PROJECT).dmp
ifdef SREC
OUTFILES += $(BUILDDIR)/$(PROJECT).srec
endif
# Source files groups and paths
ifeq ($(USE_THUMB),yes)
TCSRC += $(CSRC)