summaryrefslogtreecommitdiffstats
path: root/gdb
diff options
context:
space:
mode:
authorJens Arnold <amiconn@rockbox.org>2006-10-30 01:40:20 +0000
committerJens Arnold <amiconn@rockbox.org>2006-10-30 01:40:20 +0000
commitf40f0debcbada2ef635872b9c4d352b7416bf721 (patch)
treef7c6aabd42e602f0e33f2389fbf752c6abab0f7e /gdb
parent5421e8696906cda6416d089d5f387bb38a147ee2 (diff)
downloadrockbox-f40f0debcbada2ef635872b9c4d352b7416bf721.tar.gz
rockbox-f40f0debcbada2ef635872b9c4d352b7416bf721.tar.bz2
rockbox-f40f0debcbada2ef635872b9c4d352b7416bf721.zip
Adapted more Makefiles to the more efficient info printing.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11390 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'gdb')
-rw-r--r--gdb/Makefile15
1 files changed, 5 insertions, 10 deletions
diff --git a/gdb/Makefile b/gdb/Makefile
index fa94eac9b1..0850767f58 100644
--- a/gdb/Makefile
+++ b/gdb/Makefile
@@ -41,26 +41,21 @@ all: $(BUILDDIR)/$(BINARY) $(FLASHFILE)
dep: $(DEPFILE)
$(LINKFILE): $(LDS)
- @echo "Build LDS file"
- @cat $< | $(CC) -DMEMORYSIZE=$(MEMORYSIZE) $(INCLUDES) $(TARGET) $(DEFINES) -E -P $(ROMBUILD) - >$@
+ $(call PRINTS,Build $(@F))cat $< | $(CC) -DMEMORYSIZE=$(MEMORYSIZE) $(INCLUDES) $(TARGET) $(DEFINES) -E -P $(ROMBUILD) - >$@
$(OBJDIR)/stub.elf : $(OBJS) $(LINKFILE) $(DEPFILE) $(LIBROCKBOX)
- @echo "LD stub.elf"
- @$(CC) $(GCCOPTS) -Os -nostdlib -o $@ $(OBJS) -L$(BUILDDIR) -L$(BUILDDIR)/firmware -lrockbox -lgcc -T$(LINKFILE) -Wl,-Map,$(OBJDIR)/stub.map
+ $(call PRINTS,LD $(@F))$(CC) $(GCCOPTS) -Os -nostdlib -o $@ $(OBJS) -L$(BUILDDIR) -L$(BUILDDIR)/firmware -lrockbox -lgcc -T$(LINKFILE) -Wl,-Map,$(OBJDIR)/stub.map
$(OBJDIR)/stub.bin : $(OBJDIR)/stub.elf
- @echo "OBJCOPY $<"
- @$(OC) -O binary $< $@
+ $(call PRINTS,OBJCOPY $(@F))$(OC) -O binary $< $@
$(BUILDDIR)/$(BINARY) : $(OBJDIR)/stub.bin
- @echo "Build stub file"
- $(MKFIRMWARE) $< $@
+ $(call PRINTS,Build stub file)$(MKFIRMWARE) $< $@
include $(TOOLSDIR)/make.inc
clean:
- @echo "cleaning stub"
- @-rm -f $(OBJS) $(BUILDDIR)/$(BINARY) \
+ $(call PRINTS,cleaning stub)-rm -f $(OBJS) $(BUILDDIR)/$(BINARY) \
$(OBJDIR)/stub.bin $(OBJDIR)/stub.elf $(OBJDIR)/*.map \
$(LINKFILE) $(DEPFILE)