mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-11-09 13:12:37 -05:00
fonts: Use '08-Rockfont' as FONT_SYSFIXED on targets with 128x64 screens
..It's already the default UI font on those targets Change-Id: If8cb44da650d19882e4bd4b641af2f4fa59c1cd1
This commit is contained in:
parent
790a5bb0ca
commit
56b49b3074
2 changed files with 17 additions and 3 deletions
|
|
@ -22,7 +22,10 @@ OTHER_SRC += $(FIRMLIB_SRC)
|
|||
|
||||
FIRMLIB = $(BUILDDIR)/firmware/libfirmware.a
|
||||
|
||||
SYSFONT = $(ROOTDIR)/fonts/08-Schumacher-Clean.bdf
|
||||
ifeq ($(SYSFONT),)
|
||||
SYSFONT = 08-Schumacher-Clean
|
||||
endif
|
||||
SYSFONTX = $(ROOTDIR)/fonts/$(SYSFONT).bdf
|
||||
|
||||
CLEANOBJS += $(BUILDDIR)/sysfont.* $(BUILDDIR)/version.*
|
||||
|
||||
|
|
@ -37,10 +40,10 @@ $(FIRMLIB): $(FIRMLIB_OBJ)
|
|||
$(SILENT)$(shell rm -f $@)
|
||||
$(call PRINTS,AR $(@F))$(AR) rcs $@ $^ >/dev/null
|
||||
|
||||
$(BUILDDIR)/sysfont.h: $(SYSFONT) $(TOOLS) $(BUILDDIR)/firmware/common/config.o
|
||||
$(BUILDDIR)/sysfont.h: $(SYSFONTX) $(TOOLS) $(BUILDDIR)/firmware/common/config.o
|
||||
$(call PRINTS,CONVBDF $(subst $(ROOTDIR)/,,$<))$(TOOLSDIR)/convbdf -l $(MAXCHAR) -h -o $@ $<
|
||||
|
||||
$(BUILDDIR)/sysfont.o: $(SYSFONT) $(BUILDDIR)/sysfont.h
|
||||
$(BUILDDIR)/sysfont.o: $(SYSFONTX) $(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 $@
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue