summaryrefslogtreecommitdiffstats
path: root/firmware/decompressor/Makefile
diff options
context:
space:
mode:
authorJens Arnold <amiconn@rockbox.org>2006-10-22 00:21:57 +0000
committerJens Arnold <amiconn@rockbox.org>2006-10-22 00:21:57 +0000
commit0cc8b7113c9b33ee752c33d36a2cd593aae42705 (patch)
treeda870e699ac8ec9622d6362fea811257907cf438 /firmware/decompressor/Makefile
parent5db8081822baa446bd1c81ac68b75c04b0919112 (diff)
downloadrockbox-0cc8b7113c9b33ee752c33d36a2cd593aae42705.tar.gz
rockbox-0cc8b7113c9b33ee752c33d36a2cd593aae42705.tar.bz2
rockbox-0cc8b7113c9b33ee752c33d36a2cd593aae42705.zip
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
Diffstat (limited to 'firmware/decompressor/Makefile')
-rw-r--r--firmware/decompressor/Makefile14
1 files changed, 7 insertions, 7 deletions
diff --git a/firmware/decompressor/Makefile b/firmware/decompressor/Makefile
index a1f7c410e0..357b855c41 100644
--- a/firmware/decompressor/Makefile
+++ b/firmware/decompressor/Makefile
@@ -19,11 +19,11 @@ CFLAGS = $(GCCOPTS)
all: $(OBJDIR)/compressed.bin
$(OBJDIR)/compressed.bin : $(OBJDIR)/compressed.elf
- @echo "OBJCOPY "`basename $@`
+ @echo "OBJCOPY $(notdir $@)"
$(SILENT)$(OC) -O binary $< $@
$(OBJDIR)/compressed.elf : $(OBJS) $(LINKFILE)
- @echo "LD `basename $@`"
+ @echo "LD $(notdir $@)"
$(SILENT)$(CC) $(GCCOPTS) -Os -nostdlib -o $@ $(OBJS) -T$(LINKFILE) -Wl,-Map,$(OBJDIR)/compressed.map
$(LDS): $(OBJS)
@@ -34,22 +34,22 @@ $(LINKFILE): $(LDS)
$(SILENT)cat $< | $(CC) -DMEMORYSIZE=$(MEMORYSIZE) $(INCLUDES) $(TARGET) $(DEFINES) -E -P $(ROMBUILD) - >$@
$(OBJDIR)/decompressor.o : decompressor.c $(OBJDIR)/uclimage.c
- $(SILENT)mkdir -p `dirname $@`
+ $(SILENT)mkdir -p $(dir $@)
@echo "CC $<"
$(SILENT)$(CC) $(CFLAGS) -I$(OBJDIR) -c $< -o $@
$(OBJDIR)/startup.o : startup.S
- $(SILENT)mkdir -p `dirname $@`
+ $(SILENT)mkdir -p $(dir $@)
@echo "AS $<"
$(SILENT)$(CC) $(CFLAGS) -c $< -o $@
$(OBJDIR)/uclimage.o : $(OBJDIR)/uclimage.c
- $(SILENT)mkdir -p `dirname $@`
- @echo "CC `basename $<`"
+ $(SILENT)mkdir -p $(dir $@)
+ @echo "CC $(notdir $<)"
$(SILENT)$(CC) $(CFLAGS) -c $< -o $@
$(OBJDIR)/uclimage.c : $(FLASHFILE) $(TOOLSDIR)/ucl2src.pl
- $(SILENT)mkdir -p `dirname $@`
+ $(SILENT)mkdir -p $(dir $@)
@echo "UCL2SRC"
$(SILENT)perl -s $(TOOLSDIR)/ucl2src.pl -p=$(OBJDIR)/uclimage $<