diff options
-rw-r--r-- | firmware/firmware.make | 2 | ||||
-rw-r--r-- | tools/convbdf.c | 3 |
2 files changed, 4 insertions, 1 deletions
diff --git a/firmware/firmware.make b/firmware/firmware.make index 94747613ba..570087bf45 100644 --- a/firmware/firmware.make +++ b/firmware/firmware.make | |||
@@ -38,7 +38,7 @@ $(FIRMLIB): $(FIRMLIB_OBJ) | |||
38 | $(SILENT)$(shell rm -f $@) | 38 | $(SILENT)$(shell rm -f $@) |
39 | $(call PRINTS,AR $(@F))$(AR) rcs $@ $^ >/dev/null | 39 | $(call PRINTS,AR $(@F))$(AR) rcs $@ $^ >/dev/null |
40 | 40 | ||
41 | $(BUILDDIR)/sysfont.h: $(SYSFONT) $(TOOLS) | 41 | $(BUILDDIR)/sysfont.h: $(SYSFONT) $(TOOLS) $(BUILDDIR)/firmware/common/config.o |
42 | $(call PRINTS,CONVBDF $(subst $(ROOTDIR)/,,$<))$(TOOLSDIR)/convbdf -l $(MAXCHAR) -h -o $@ $< | 42 | $(call PRINTS,CONVBDF $(subst $(ROOTDIR)/,,$<))$(TOOLSDIR)/convbdf -l $(MAXCHAR) -h -o $@ $< |
43 | 43 | ||
44 | $(BUILDDIR)/sysfont.o: $(SYSFONT) $(BUILDDIR)/sysfont.h | 44 | $(BUILDDIR)/sysfont.o: $(SYSFONT) $(BUILDDIR)/sysfont.h |
diff --git a/tools/convbdf.c b/tools/convbdf.c index 4cc7ec9983..c508bbf2e8 100644 --- a/tools/convbdf.c +++ b/tools/convbdf.c | |||
@@ -1211,6 +1211,8 @@ int gen_c_source(struct font* pf, char *path) | |||
1211 | char obuf[256]; | 1211 | char obuf[256]; |
1212 | char hdr1[] = { | 1212 | char hdr1[] = { |
1213 | "/* Generated by convbdf on %s. */\n" | 1213 | "/* Generated by convbdf on %s. */\n" |
1214 | "#include <stdbool.h>\n" | ||
1215 | "#include \"config.h\"\n" | ||
1214 | "#include \"font.h\"\n" | 1216 | "#include \"font.h\"\n" |
1215 | "#ifdef HAVE_LCD_BITMAP\n" | 1217 | "#ifdef HAVE_LCD_BITMAP\n" |
1216 | "\n" | 1218 | "\n" |
@@ -1418,6 +1420,7 @@ int gen_c_source(struct font* pf, char *path) | |||
1418 | " 0, /* ^ position */\n" | 1420 | " 0, /* ^ position */\n" |
1419 | " 0, /* ^ end */\n" | 1421 | " 0, /* ^ end */\n" |
1420 | " 0, /* ^ size */\n" | 1422 | " 0, /* ^ size */\n" |
1423 | " false, /* disabled */\n" | ||
1421 | " {{0,0,0,0,0},0,0,0,0,0}, /* cache */\n" | 1424 | " {{0,0,0,0,0},0,0,0,0,0}, /* cache */\n" |
1422 | " 0, /* */\n" | 1425 | " 0, /* */\n" |
1423 | " 0, /* */\n" | 1426 | " 0, /* */\n" |