From 0cc8b7113c9b33ee752c33d36a2cd593aae42705 Mon Sep 17 00:00:00 2001 From: Jens Arnold Date: Sun, 22 Oct 2006 00:21:57 +0000 Subject: Speed up build process in general by using internal functions of make instead of spawning sub-shells where possible. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11307 a1c6a512-1295-4272-9138-f99709370657 --- apps/plugins/mpegplayer/Makefile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'apps/plugins/mpegplayer') diff --git a/apps/plugins/mpegplayer/Makefile b/apps/plugins/mpegplayer/Makefile index 215223d..61eae88 100644 --- a/apps/plugins/mpegplayer/Makefile +++ b/apps/plugins/mpegplayer/Makefile @@ -34,12 +34,12 @@ all: $(OUTPUT) ifndef SIMVER $(OBJDIR)/mpegplayer.elf: $(OBJS) $(LINKFILE) - @echo "LD "`basename $@` + @echo "LD $(notdir $@)" @$(CC) $(GCCOPTS) -O -nostdlib -o $@ $(OBJS) -L$(BUILDDIR) -lplugin -lgcc \ -T$(LINKFILE) -Wl,-Map,$(OBJDIR)/mpegplayer.map $(OUTPUT): $(OBJDIR)/mpegplayer.elf - @echo "OBJCOPY "`basename $@` + @echo "OBJCOPY $(notdir $@)" @$(OC) -O binary $< $@ else @@ -81,7 +81,7 @@ DLLTOOLFLAGS = --export-all DLLWRAPFLAGS = -s --entry _DllMain@12 --target=i386-mingw32 -mno-cygwin $(OUTPUT): $(OBJS) - @echo "DLL "`basename $@` + @echo "DLL $(notdir $@)" @$(DLLTOOL) $(DLLTOOLFLAGS) -z $(OBJDIR)/$*.def $(OBJS) @$(DLLWRAP) $(DLLWRAPFLAGS) --def $(OBJDIR)/$*.def $(OBJS) \ $(BUILDDIR)/libplugin.a -o $@ @@ -102,7 +102,7 @@ include $(TOOLSDIR)/make.inc # MEMORYSIZE should be passed on to this makefile with the chosen memory size # given in number of MB $(LINKFILE): $(LDS) - @echo "build "`basename $@` + @echo "build $(notdir $@)" @cat $< | $(CC) -DMEMORYSIZE=$(MEMORYSIZE) $(INCLUDES) $(TARGET) \ $(DEFINES) -E -P - >$@ -- cgit v1.1