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:
parent
053722a573
commit
266dc52fab
2 changed files with 7 additions and 0 deletions
|
@ -23,6 +23,9 @@ TOOLS = $(TOOLSDIR)/rdf2binary $(TOOLSDIR)/convbdf \
|
||||||
$(TOOLSDIR)/uclpack $(TOOLSDIR)/mkboot $(TOOLSDIR)/iaudio_bl_flash.c \
|
$(TOOLSDIR)/uclpack $(TOOLSDIR)/mkboot $(TOOLSDIR)/iaudio_bl_flash.c \
|
||||||
$(TOOLSDIR)/iaudio_bl_flash.h
|
$(TOOLSDIR)/iaudio_bl_flash.h
|
||||||
|
|
||||||
|
ifeq ($(MODELNAME),archosplayer)
|
||||||
|
TOOLS += $(TOOLSDIR)/player_unifont
|
||||||
|
endif
|
||||||
|
|
||||||
ifeq (,$(PREFIX))
|
ifeq (,$(PREFIX))
|
||||||
ifdef APP_TYPE
|
ifdef APP_TYPE
|
||||||
|
|
|
@ -40,6 +40,10 @@ $(TOOLSDIR)/convttf: $(TOOLSDIR)/convttf.c
|
||||||
$(SILENT)$(HOSTCC) $(TOOLSFLAGS) -lm -O2 -Wall -g $+ -o $@ \
|
$(SILENT)$(HOSTCC) $(TOOLSFLAGS) -lm -O2 -Wall -g $+ -o $@ \
|
||||||
`freetype-config --libs` `freetype-config --cflags`
|
`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
|
# implicit rule for simple tools
|
||||||
$(TOOLSDIR)/%: $(TOOLSDIR)/%.c
|
$(TOOLSDIR)/%: $(TOOLSDIR)/%.c
|
||||||
$(call PRINTS,CC $(subst $(ROOTDIR)/,,$@))
|
$(call PRINTS,CC $(subst $(ROOTDIR)/,,$@))
|
||||||
|
|
Loading…
Reference in a new issue