Make the player_unifont tool build again

This tool is rarely needed (only when working on the player charset)
and got lost in the big make system overhaul.
This commit is contained in:
Jens Arnold 2012-05-18 23:24:57 +02:00
parent 053722a573
commit 266dc52fab
2 changed files with 7 additions and 0 deletions

View File

@ -23,6 +23,9 @@ TOOLS = $(TOOLSDIR)/rdf2binary $(TOOLSDIR)/convbdf \
$(TOOLSDIR)/uclpack $(TOOLSDIR)/mkboot $(TOOLSDIR)/iaudio_bl_flash.c \
$(TOOLSDIR)/iaudio_bl_flash.h
ifeq ($(MODELNAME),archosplayer)
TOOLS += $(TOOLSDIR)/player_unifont
endif
ifeq (,$(PREFIX))
ifdef APP_TYPE

View File

@ -40,6 +40,10 @@ $(TOOLSDIR)/convttf: $(TOOLSDIR)/convttf.c
$(SILENT)$(HOSTCC) $(TOOLSFLAGS) -lm -O2 -Wall -g $+ -o $@ \
`freetype-config --libs` `freetype-config --cflags`
$(TOOLSDIR)/player_unifont: $(TOOLSDIR)/player_unifont.c $(ROOTDIR)/firmware/drivers/lcd-charset-player.c
$(call PRINTS,CC $(@F))
$(SILENT)$(HOSTCC) $(TOOLSFLAGS) -DARCHOS_PLAYER -D__PCTOOL__ -I$(ROOTDIR)/firmware/export -I. $+ -o $@
# implicit rule for simple tools
$(TOOLSDIR)/%: $(TOOLSDIR)/%.c
$(call PRINTS,CC $(subst $(ROOTDIR)/,,$@))