From 3cd5c646d03089df8d58b773d4a1bc8323021adc Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Mon, 7 Nov 2005 22:33:27 +0000 Subject: [PATCH] No longer build the main output binary file when doing debug builds. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7780 a1c6a512-1295-4272-9138-f99709370657 --- apps/Makefile | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/apps/Makefile b/apps/Makefile index 0c888a1812..aa565382c8 100644 --- a/apps/Makefile +++ b/apps/Makefile @@ -53,7 +53,13 @@ all: $(BUILDDIR)/$(BINARY) $(CODECS) $(ROCKS) else # regular target build -all: $(BUILDDIR)/$(BINARY) $(FLASHFILE) $(CODECS) $(ROCKS) $(ARCHOSROM) + +ifndef DEBUG +# this is not needed to get built when doing debug builds +REALBIN = $(BUILDDIR)/$(BINARY) +endif + +all: $(REALBIN) $(FLASHFILE) $(CODECS) $(ROCKS) $(ARCHOSROM) endif dep: $(DEPFILE) @@ -103,7 +109,7 @@ $(OBJDIR)/rockbox.asm: $(OBJDIR)/rockbox.bin $(BUILDDIR)/$(BINARY) : $(OBJDIR)/rockbox.bin @echo "Build firmware file" - @$(MKFIRMWARE) $< $@ + $(SILENT)$(MKFIRMWARE) $< $@ else # this is a simulator build