summaryrefslogtreecommitdiffstats
path: root/firmware/firmware.make
diff options
context:
space:
mode:
authorRafaël Carré <rafael.carre@gmail.com>2010-05-28 04:07:57 +0000
committerRafaël Carré <rafael.carre@gmail.com>2010-05-28 04:07:57 +0000
commit10dbaa24a7c18d404e5ed34d93ec34c6b2f97b9c (patch)
treea4f4fc59cc8fbfa0f9cc31929bc2ce648fd3d150 /firmware/firmware.make
parent71cec646e6563dcf5190b4ece605cfe2e46be3fb (diff)
downloadrockbox-10dbaa24a7c18d404e5ed34d93ec34c6b2f97b9c.tar.gz
rockbox-10dbaa24a7c18d404e5ed34d93ec34c6b2f97b9c.tar.bz2
rockbox-10dbaa24a7c18d404e5ed34d93ec34c6b2f97b9c.zip
genversion: generate version.c and version.h independantly
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26349 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/firmware.make')
-rw-r--r--firmware/firmware.make7
1 files changed, 5 insertions, 2 deletions
diff --git a/firmware/firmware.make b/firmware/firmware.make
index 105fe7e111..ba2ec7ede2 100644
--- a/firmware/firmware.make
+++ b/firmware/firmware.make
@@ -44,5 +44,8 @@ $(BUILDDIR)/sysfont.o: $(SYSFONT) $(BUILDDIR)/sysfont.h
$(call PRINTS,CONVBDF $(subst $(ROOTDIR)/,,$<))$(TOOLSDIR)/convbdf -l $(MAXCHAR) -c -o $(BUILDDIR)/sysfont.c $<
$(call PRINTS,CC $(subst $(ROOTDIR)/,,$(BUILDDIR)/sysfont.c))$(CC) $(CFLAGS) -c $(BUILDDIR)/sysfont.c -o $@
-$(BUILDDIR)/version.c $(BUILDDIR)/version.h:
- $(TOOLSDIR)/genversion.sh $(BUILDDIR) $(TOOLSDIR)/version.sh $(ROOTDIR)
+$(BUILDDIR)/version.c: $(BUILDDIR)/version.h
+ $(TOOLSDIR)/genversion.sh c $(BUILDDIR) $(TOOLSDIR)/version.sh $(ROOTDIR)
+
+$(BUILDDIR)/version.h:
+ $(TOOLSDIR)/genversion.sh h $(BUILDDIR) $(TOOLSDIR)/version.sh $(ROOTDIR)