diff options
Diffstat (limited to 'tools/configure')
-rwxr-xr-x | tools/configure | 16 |
1 files changed, 13 insertions, 3 deletions
diff --git a/tools/configure b/tools/configure index 49773e1a6f..e1ca5be190 100755 --- a/tools/configure +++ b/tools/configure | |||
@@ -1785,6 +1785,11 @@ else | |||
1785 | voicetoolset="voicefont wavtrim" | 1785 | voicetoolset="voicefont wavtrim" |
1786 | fi | 1786 | fi |
1787 | 1787 | ||
1788 | if test "$apps" = "apps"; then | ||
1789 | # only when we build "real" apps we build the .lng files | ||
1790 | buildlangs="langs" | ||
1791 | fi | ||
1792 | |||
1788 | sed > Makefile \ | 1793 | sed > Makefile \ |
1789 | -e "s,@ROOTDIR@,${rootdir},g" \ | 1794 | -e "s,@ROOTDIR@,${rootdir},g" \ |
1790 | -e "s,@DEBUG@,${debug},g" \ | 1795 | -e "s,@DEBUG@,${debug},g" \ |
@@ -1842,6 +1847,7 @@ sed > Makefile \ | |||
1842 | -e "s,@TTS_ENGINE@,${TTS_ENGINE},g" \ | 1847 | -e "s,@TTS_ENGINE@,${TTS_ENGINE},g" \ |
1843 | -e "s,@TTS_OPTS@,${TTS_OPTS},g" \ | 1848 | -e "s,@TTS_OPTS@,${TTS_OPTS},g" \ |
1844 | -e "s,@VOICETOOLSET@,${voicetoolset},g" \ | 1849 | -e "s,@VOICETOOLSET@,${voicetoolset},g" \ |
1850 | -e "s,@LANGS@,${buildlangs},g" \ | ||
1845 | <<EOF | 1851 | <<EOF |
1846 | ## Automaticly generated. http://www.rockbox.org/ | 1852 | ## Automaticly generated. http://www.rockbox.org/ |
1847 | 1853 | ||
@@ -1919,14 +1925,14 @@ export ENCODER=@ENCODER@ | |||
1919 | # Do not print "Entering directory ..." | 1925 | # Do not print "Entering directory ..." |
1920 | MAKEFLAGS += --no-print-directory | 1926 | MAKEFLAGS += --no-print-directory |
1921 | 1927 | ||
1922 | .PHONY: all clean tags zip tools manual bin build info | 1928 | .PHONY: all clean tags zip tools manual bin build info langs |
1923 | 1929 | ||
1924 | all: info | 1930 | all: info |
1925 | 1931 | ||
1926 | info: build | 1932 | info: build |
1927 | \$(SILENT)\$(TOOLSDIR)/mkinfo.pl \$(BUILDDIR)/rockbox-info.txt | 1933 | \$(SILENT)\$(TOOLSDIR)/mkinfo.pl \$(BUILDDIR)/rockbox-info.txt |
1928 | 1934 | ||
1929 | build: tools | 1935 | build: tools @LANGS@ |
1930 | @SIMUL1@ | 1936 | @SIMUL1@ |
1931 | @SIMUL2@ | 1937 | @SIMUL2@ |
1932 | \$(SILENT)\$(MAKE) -C \$(FIRMDIR) OBJDIR=\$(BUILDDIR)/firmware | 1938 | \$(SILENT)\$(MAKE) -C \$(FIRMDIR) OBJDIR=\$(BUILDDIR)/firmware |
@@ -1952,7 +1958,7 @@ clean: | |||
1952 | manual *.pdf *.a credits.raw @OUTPUT@ bitmaps pluginbitmaps \ | 1958 | manual *.pdf *.a credits.raw @OUTPUT@ bitmaps pluginbitmaps \ |
1953 | @ARCHOSROM@ @FLASHFILE@ UI256.bmp rockbox-full.zip \ | 1959 | @ARCHOSROM@ @FLASHFILE@ UI256.bmp rockbox-full.zip \ |
1954 | html txt rockbox-manual*.zip sysfont.h rockbox-info.txt \ | 1960 | html txt rockbox-manual*.zip sysfont.h rockbox-info.txt \ |
1955 | voicefontids *.wav *.mp3 *.voice | 1961 | voicefontids *.wav *.mp3 *.voice max_language_size.h |
1956 | 1962 | ||
1957 | tools: | 1963 | tools: |
1958 | \$(SILENT)\$(MAKE) -C \$(TOOLSDIR) CC=\$(HOSTCC) AR=\$(HOSTAR) @TOOLSET@ | 1964 | \$(SILENT)\$(MAKE) -C \$(TOOLSDIR) CC=\$(HOSTCC) AR=\$(HOSTAR) @TOOLSET@ |
@@ -1996,6 +2002,10 @@ bzip2: tar | |||
1996 | gzip: tar | 2002 | gzip: tar |
1997 | \$(SILENT)gzip -f9 rockbox.tar | 2003 | \$(SILENT)gzip -f9 rockbox.tar |
1998 | 2004 | ||
2005 | langs: features | ||
2006 | \$(SILENT)mkdir -p \$(BUILDDIR)/apps/lang | ||
2007 | \$(SILENT)\$(MAKE) -C \$(APPSDIR)/lang OBJDIR=\$(BUILDDIR)/apps/lang | ||
2008 | |||
1999 | manual: manual-pdf | 2009 | manual: manual-pdf |
2000 | manual-pdf: | 2010 | manual-pdf: |
2001 | \$(SILENT)\$(MAKE) -C \$(MANUALDIR) OBJDIR=\$(BUILDDIR)/manual manual-pdf | 2011 | \$(SILENT)\$(MAKE) -C \$(MANUALDIR) OBJDIR=\$(BUILDDIR)/manual manual-pdf |