summaryrefslogtreecommitdiffstats
path: root/tools/root.make
diff options
context:
space:
mode:
Diffstat (limited to 'tools/root.make')
-rw-r--r--tools/root.make4
1 files changed, 3 insertions, 1 deletions
diff --git a/tools/root.make b/tools/root.make
index bdc2745fec..954e1bfee5 100644
--- a/tools/root.make
+++ b/tools/root.make
@@ -80,7 +80,9 @@ $(RBINFO): $(BUILDDIR)/$(BINARY)
$(DEPFILE) dep:
$(call PRINTS,Generating dependencies)
@echo foo > /dev/null # there must be a "real" command in the rule
- $(call mkdepfile,$(DEPFILE),$(SRC) $(OTHER_SRC))
+ $(call mkdepfile,$(DEPFILE),$(SRC))
+ $(call mkdepfile,$(DEPFILE),$(OTHER_SRC))
+ @mv $(DEPFILE)_ $(DEPFILE)
$(call bmpdepfile,$(DEPFILE),$(BMP) $(PBMP))
bin: $(DEPFILE) $(TOOLS) $(BUILDDIR)/$(BINARY)