diff options
Diffstat (limited to 'tools')
-rw-r--r-- | tools/root.make | 3 | ||||
-rw-r--r-- | tools/tools.make | 4 |
2 files changed, 7 insertions, 0 deletions
diff --git a/tools/root.make b/tools/root.make index 689047e9db..256d25c1df 100644 --- a/tools/root.make +++ b/tools/root.make | |||
@@ -23,6 +23,9 @@ TOOLS = $(TOOLSDIR)/rdf2binary $(TOOLSDIR)/convbdf \ | |||
23 | $(TOOLSDIR)/uclpack $(TOOLSDIR)/mkboot $(TOOLSDIR)/iaudio_bl_flash.c \ | 23 | $(TOOLSDIR)/uclpack $(TOOLSDIR)/mkboot $(TOOLSDIR)/iaudio_bl_flash.c \ |
24 | $(TOOLSDIR)/iaudio_bl_flash.h | 24 | $(TOOLSDIR)/iaudio_bl_flash.h |
25 | 25 | ||
26 | ifeq ($(MODELNAME),archosplayer) | ||
27 | TOOLS += $(TOOLSDIR)/player_unifont | ||
28 | endif | ||
26 | 29 | ||
27 | ifeq (,$(PREFIX)) | 30 | ifeq (,$(PREFIX)) |
28 | ifdef APP_TYPE | 31 | ifdef APP_TYPE |
diff --git a/tools/tools.make b/tools/tools.make index 3350ad03bc..9f16d4c884 100644 --- a/tools/tools.make +++ b/tools/tools.make | |||
@@ -40,6 +40,10 @@ $(TOOLSDIR)/convttf: $(TOOLSDIR)/convttf.c | |||
40 | $(SILENT)$(HOSTCC) $(TOOLSFLAGS) -lm -O2 -Wall -g $+ -o $@ \ | 40 | $(SILENT)$(HOSTCC) $(TOOLSFLAGS) -lm -O2 -Wall -g $+ -o $@ \ |
41 | `freetype-config --libs` `freetype-config --cflags` | 41 | `freetype-config --libs` `freetype-config --cflags` |
42 | 42 | ||
43 | $(TOOLSDIR)/player_unifont: $(TOOLSDIR)/player_unifont.c $(ROOTDIR)/firmware/drivers/lcd-charset-player.c | ||
44 | $(call PRINTS,CC $(@F)) | ||
45 | $(SILENT)$(HOSTCC) $(TOOLSFLAGS) -DARCHOS_PLAYER -D__PCTOOL__ -I$(ROOTDIR)/firmware/export -I. $+ -o $@ | ||
46 | |||
43 | # implicit rule for simple tools | 47 | # implicit rule for simple tools |
44 | $(TOOLSDIR)/%: $(TOOLSDIR)/%.c | 48 | $(TOOLSDIR)/%: $(TOOLSDIR)/%.c |
45 | $(call PRINTS,CC $(subst $(ROOTDIR)/,,$@)) | 49 | $(call PRINTS,CC $(subst $(ROOTDIR)/,,$@)) |