mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-12-07 05:35:02 -05:00
voice: If $POOL is not set, use <build-dir>/voice-pool by default
It will _vastly_ speed up repeated voice builds. The voice pool directory will not be erased by a 'make clean' Change-Id: Ice58d5c5355abfa5a385dfca749f8063e2ee8622
This commit is contained in:
parent
f58c15440f
commit
80cd799925
3 changed files with 9 additions and 2 deletions
|
|
@ -374,6 +374,10 @@ ifdef TTS_ENGINE
|
|||
|
||||
voice: voicetools $(BUILDDIR)/apps/features
|
||||
$(SILENT)for f in `cat $(BUILDDIR)/apps/features`; do feat="$$feat:$$f" ; done ; \
|
||||
if [ -z "$$POOL" ] ; then \
|
||||
export POOL="$(BUILDDIR)/voice-pool" ; \
|
||||
fi;\
|
||||
mkdir -p $${POOL} ;\
|
||||
for lang in `echo $(VOICELANGUAGE) |sed "s/,/ /g"`; do $(TOOLSDIR)/voice.pl -V -l=$$lang -t=$(MODELNAME)$$feat -i=$(TARGET_ID) -e="$(ENCODER)" -E="$(ENC_OPTS)" -s=$(TTS_ENGINE) -S="$(TTS_OPTS)"; done
|
||||
|
||||
talkclips: voicetools
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue