summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2003-07-24 09:42:59 +0000
committerDaniel Stenberg <daniel@haxx.se>2003-07-24 09:42:59 +0000
commit9b1b610bd012d2fc8b38b70953c273bed7ec221f (patch)
treeaf34df0f8981d5df4418ae831ec2aeef35f0a6fa /apps
parent611e3592c71688e25c658b5178810bc6b0badb37 (diff)
downloadrockbox-9b1b610bd012d2fc8b38b70953c273bed7ec221f.tar.gz
rockbox-9b1b610bd012d2fc8b38b70953c273bed7ec221f.zip
Henrik Backe's patch that makes the .map files get created in the build
directory and not in the source directory. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3872 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps')
-rw-r--r--apps/Makefile4
-rw-r--r--apps/plugins/Makefile2
2 files changed, 3 insertions, 3 deletions
diff --git a/apps/Makefile b/apps/Makefile
index 55ef599d4f..b54c31cc4a 100644
--- a/apps/Makefile
+++ b/apps/Makefile
@@ -116,9 +116,9 @@ $(OBJDIR)/lang.o: $(OBJDIR)/build.lang $(TOOLSDIR)/genlang
clean:
-rm -f $(OBJS) $(OBJDIR)/$(OUTNAME) $(OBJDIR)/rockbox.asm \
- $(OBJDIR)/rockbox.bin $(OBJDIR)/rockbox.elf $(OBJDIR)/rockbox.map \
+ $(OBJDIR)/rockbox.bin $(OBJDIR)/rockbox.elf $(OBJDIR)/*.map \
$(OBJDIR)/lang.o $(OBJDIR)/build.lang $(OBJDIR)/lang.[ch] \
- $(OBJDIR)/credits.raw $(LINKFILE)
+ $(OBJDIR)/credits.raw $(LINKFILE) $(OBJDIR)/rockbox.ucl
-$(RM) -r $(OBJDIR)/$(DEPS)
$(MAKE) -C plugins clean
diff --git a/apps/plugins/Makefile b/apps/plugins/Makefile
index c0b5f14687..558afacc10 100644
--- a/apps/plugins/Makefile
+++ b/apps/plugins/Makefile
@@ -31,7 +31,7 @@ no_configure:
endif
$(OBJDIR)/%.elf: $(OBJDIR)/%.o $(LINKFILE)
- $(CC) -O -nostdlib -o $@ $< -lgcc -T$(LINKFILE) -Wl,-Map,$*.map
+ $(CC) -O -nostdlib -o $@ $< -lgcc -T$(LINKFILE) -Wl,-Map,$(OBJDIR)/$*.map
$(OBJDIR)/%.rock : $(OBJDIR)/%.elf
$(OC) -O binary $< $@