summaryrefslogtreecommitdiffstats
path: root/tools/functions.make
diff options
context:
space:
mode:
authorBjörn Stenberg <bjorn@haxx.se>2008-11-26 23:20:12 +0000
committerBjörn Stenberg <bjorn@haxx.se>2008-11-26 23:20:12 +0000
commit3eece18b9537ad254e271f1ee7e5d453c2a4ac48 (patch)
treea76a7777724dd623d3d6a5fb874de16dde927d97 /tools/functions.make
parent4e4b1d00f96ab5a1208701c1013eb750fc848435 (diff)
downloadrockbox-3eece18b9537ad254e271f1ee7e5d453c2a4ac48.tar.gz
rockbox-3eece18b9537ad254e271f1ee7e5d453c2a4ac48.tar.bz2
rockbox-3eece18b9537ad254e271f1ee7e5d453c2a4ac48.zip
Write dependencies to a temporary file until they are completed. This fixes the problem with an aborted dependency generation not being detected.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19241 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'tools/functions.make')
-rw-r--r--tools/functions.make2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/functions.make b/tools/functions.make
index 1a8de716e7..4061cf658f 100644
--- a/tools/functions.make
+++ b/tools/functions.make
@@ -39,7 +39,7 @@ mkdepfile = $(shell \
-e "s: pluginbitmaps/: $(BUILDDIR)/pluginbitmaps/:g" \
-e "s: lib/: $(APPSDIR)/plugins/lib/:g" \
-e "s: codeclib.h: $(APPSDIR)/codecs/lib/codeclib.h:g" \
- > $(1) )
+ > $(1)_ && mv $(1)_ $(1) )
# function to create .bmp dependencies
bmpdepfile = $(shell \