diff options
author | Björn Stenberg <bjorn@haxx.se> | 2008-11-21 13:21:25 +0000 |
---|---|---|
committer | Björn Stenberg <bjorn@haxx.se> | 2008-11-21 13:21:25 +0000 |
commit | 8a7c4af27c48588746508be5899d0b0e18932149 (patch) | |
tree | fddc8a234c6a6ee44f95642e0d4e025c98dbccf1 /tools/root.make | |
parent | 344ad683beb5dc8ee5f199920e913a7277cf5258 (diff) | |
download | rockbox-8a7c4af27c48588746508be5899d0b0e18932149.tar.gz rockbox-8a7c4af27c48588746508be5899d0b0e18932149.zip |
Added a proper rule for rockbox-info.txt
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19167 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'tools/root.make')
-rw-r--r-- | tools/root.make | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/tools/root.make b/tools/root.make index c9b7db92cb..c6a9232a85 100644 --- a/tools/root.make +++ b/tools/root.make | |||
@@ -22,6 +22,8 @@ TOOLS = $(TOOLSDIR)/rdf2binary $(TOOLSDIR)/convbdf \ | |||
22 | $(TOOLSDIR)/codepages $(TOOLSDIR)/scramble $(TOOLSDIR)/bmp2rb \ | 22 | $(TOOLSDIR)/codepages $(TOOLSDIR)/scramble $(TOOLSDIR)/bmp2rb \ |
23 | $(TOOLSDIR)/uclpack $(TOOLSDIR)/mktccboot $(TOOLSDIR)/mkboot | 23 | $(TOOLSDIR)/uclpack $(TOOLSDIR)/mktccboot $(TOOLSDIR)/mkboot |
24 | 24 | ||
25 | RBINFO = $(BUILDDIR)/rockbox-info.txt | ||
26 | |||
25 | # list suffixes to be understood by $* | 27 | # list suffixes to be understood by $* |
26 | .SUFFIXES: .rock .codec .map .elf .c .S .o .bmp .a | 28 | .SUFFIXES: .rock .codec .map .elf .c .S .o .bmp .a |
27 | 29 | ||
@@ -65,8 +67,11 @@ OBJ := $(OBJ:.S=.o) | |||
65 | OBJ += $(BMP:.bmp=.o) | 67 | OBJ += $(BMP:.bmp=.o) |
66 | OBJ := $(subst $(ROOTDIR),$(BUILDDIR),$(OBJ)) | 68 | OBJ := $(subst $(ROOTDIR),$(BUILDDIR),$(OBJ)) |
67 | 69 | ||
68 | build: $(TOOLS) $(BUILDDIR)/$(BINARY) $(CODECS) $(ROCKS) $(ARCHOSROM) | 70 | build: $(TOOLS) $(BUILDDIR)/$(BINARY) $(CODECS) $(ROCKS) $(ARCHOSROM) $(RBINFO) |
69 | $(SILENT)$(TOOLSDIR)/mkinfo.pl $(BUILDDIR)/rockbox-info.txt | 71 | |
72 | $(RBINFO): $(BUILDDIR)/$(BINARY) | ||
73 | $(SILENT)echo Creating $(@F) | ||
74 | $(SILENT)$(TOOLSDIR)/mkinfo.pl $@ | ||
70 | 75 | ||
71 | ifneq (clean,$(findstring clean,$(MAKECMDGOALS))) # don't build deps before cleaning | 76 | ifneq (clean,$(findstring clean,$(MAKECMDGOALS))) # don't build deps before cleaning |
72 | $(DEPFILE) dep: | 77 | $(DEPFILE) dep: |