summaryrefslogtreecommitdiff
path: root/firmware
diff options
context:
space:
mode:
Diffstat (limited to 'firmware')
-rw-r--r--firmware/Makefile3
-rw-r--r--firmware/export/font.h1
2 files changed, 4 insertions, 0 deletions
diff --git a/firmware/Makefile b/firmware/Makefile
index dea4c81b33..55c8269b24 100644
--- a/firmware/Makefile
+++ b/firmware/Makefile
@@ -40,6 +40,9 @@ clean:
$(OBJDIR)/thread.o: thread.c export/thread.h
$(call PRINTS,CC thread.c)$(CC) -c -O -fomit-frame-pointer $(CFLAGS) $< -o $@
+sysfont.h: ../fonts/rockbox_default.bdf
+ $(call PRINTS,Create sysfont.h)$(TOOLSDIR)/convbdf -h -o $(BUILDDIR)/sysfont.h $<
+
$(OBJDIR)/sysfont.o: ../fonts/rockbox_default.bdf
$(call PRINTS,CONVBDF)$(TOOLSDIR)/convbdf -c -o $(OBJDIR)/sysfont.c $<
$(call PRINTS,CC sysfont.c)$(CC) $(CFLAGS) -c $(OBJDIR)/sysfont.c -o $@
diff --git a/firmware/export/font.h b/firmware/export/font.h
index ccdb30ff00..3cf60aeac3 100644
--- a/firmware/export/font.h
+++ b/firmware/export/font.h
@@ -23,6 +23,7 @@
* Incore font and image definitions
*/
#include "config.h"
+#include "sysfont.h"
#if defined(HAVE_LCD_BITMAP) || defined(SIMULATOR)