From 3eece18b9537ad254e271f1ee7e5d453c2a4ac48 Mon Sep 17 00:00:00 2001 From: Björn Stenberg Date: Wed, 26 Nov 2008 23:20:12 +0000 Subject: 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 --- tools/functions.make | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tools/functions.make') 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 \ -- cgit v1.2.3