summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorJonas Häggqvist <rasher@rasher.dk>2007-08-11 22:41:15 +0000
committerJonas Häggqvist <rasher@rasher.dk>2007-08-11 22:41:15 +0000
commitca42a2f0dd244b44468c79ac0a4b5c5d448218bf (patch)
tree5dbba01787e6d55e9a9a166ca4927513be0f62c1 /tools
parentdbeee722db4bb81b6470881a6c6a808910e04d12 (diff)
downloadrockbox-ca42a2f0dd244b44468c79ac0a4b5c5d448218bf.tar.gz
rockbox-ca42a2f0dd244b44468c79ac0a4b5c5d448218bf.tar.bz2
rockbox-ca42a2f0dd244b44468c79ac0a4b5c5d448218bf.zip
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
Diffstat (limited to 'tools')
-rwxr-xr-xtools/configure17
1 files changed, 12 insertions, 5 deletions
diff --git a/tools/configure b/tools/configure
index 5601a9aae7..3af6885ab0 100755
--- a/tools/configure
+++ b/tools/configure
@@ -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"