Only allow make voice if voice building has been configured.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14286 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
dbeee722db
commit
ca42a2f0dd
1 changed files with 12 additions and 5 deletions
17
tools/configure
vendored
17
tools/configure
vendored
|
@ -1742,11 +1742,6 @@ clean:
|
|||
html txt rockbox-manual*.zip sysfont.h rockbox-info.txt \
|
||||
voicefontids *.wav *.mp3 *.voice
|
||||
|
||||
voice: tools
|
||||
\$(SILENT)\$(MAKE) -C \$(APPSDIR) OBJDIR=\$(BUILDDIR)/@APPS@ features
|
||||
\$(SILENT)for f in \`cat \$(BUILDDIR)/@APPS@/features\`; do feat="\$\$feat:\$\$f" ; done ; \\
|
||||
\$(TOOLSDIR)/genvoice.sh \$(ROOTDIR) \$(VOICELANGUAGE) \$(ARCHOS)\$\$feat \$(TARGET_ID) voicesettings.sh
|
||||
|
||||
tools:
|
||||
\$(SILENT)\$(MAKE) -C \$(TOOLSDIR) CC=\$(HOSTCC) @TOOLSET@
|
||||
|
||||
|
@ -1833,4 +1828,16 @@ EOF
|
|||
|
||||
fi
|
||||
|
||||
if [ "yes" = "$voice" ]; then
|
||||
|
||||
cat >> Makefile <<EOF
|
||||
|
||||
voice: tools
|
||||
\$(SILENT)\$(MAKE) -C \$(APPSDIR) OBJDIR=\$(BUILDDIR)/@APPS@ features
|
||||
\$(SILENT)for f in \`cat \$(BUILDDIR)/@APPS@/features\`; do feat="\$\$feat:\$\$f" ; done ; \\
|
||||
\$(TOOLSDIR)/genvoice.sh \$(ROOTDIR) \$(VOICELANGUAGE) \$(ARCHOS)\$\$feat \$(TARGET_ID) voicesettings.sh
|
||||
EOF
|
||||
|
||||
fi
|
||||
|
||||
echo "Created Makefile"
|
||||
|
|
Loading…
Reference in a new issue