diff options
| -rwxr-xr-x | tools/configure | 17 |
1 files changed, 12 insertions, 5 deletions
diff --git a/tools/configure b/tools/configure index 5601a9a..3af6885 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" |