From 8a7c4af27c48588746508be5899d0b0e18932149 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Stenberg?= Date: Fri, 21 Nov 2008 13:21:25 +0000 Subject: Added a proper rule for rockbox-info.txt git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19167 a1c6a512-1295-4272-9138-f99709370657 --- tools/root.make | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'tools/root.make') 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 \ $(TOOLSDIR)/codepages $(TOOLSDIR)/scramble $(TOOLSDIR)/bmp2rb \ $(TOOLSDIR)/uclpack $(TOOLSDIR)/mktccboot $(TOOLSDIR)/mkboot +RBINFO = $(BUILDDIR)/rockbox-info.txt + # list suffixes to be understood by $* .SUFFIXES: .rock .codec .map .elf .c .S .o .bmp .a @@ -65,8 +67,11 @@ OBJ := $(OBJ:.S=.o) OBJ += $(BMP:.bmp=.o) OBJ := $(subst $(ROOTDIR),$(BUILDDIR),$(OBJ)) -build: $(TOOLS) $(BUILDDIR)/$(BINARY) $(CODECS) $(ROCKS) $(ARCHOSROM) - $(SILENT)$(TOOLSDIR)/mkinfo.pl $(BUILDDIR)/rockbox-info.txt +build: $(TOOLS) $(BUILDDIR)/$(BINARY) $(CODECS) $(ROCKS) $(ARCHOSROM) $(RBINFO) + +$(RBINFO): $(BUILDDIR)/$(BINARY) + $(SILENT)echo Creating $(@F) + $(SILENT)$(TOOLSDIR)/mkinfo.pl $@ ifneq (clean,$(findstring clean,$(MAKECMDGOALS))) # don't build deps before cleaning $(DEPFILE) dep: -- cgit v1.2.3