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:
Jonas Häggqvist 2007-08-11 22:41:15 +00:00
parent dbeee722db
commit ca42a2f0dd

17
tools/configure vendored
View file

@ -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"