summaryrefslogtreecommitdiff
path: root/tools/configure
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2008-02-18 12:17:34 +0000
committerDaniel Stenberg <daniel@haxx.se>2008-02-18 12:17:34 +0000
commit8ebbe99328248d45f3937c4f15f936d5d36f4a58 (patch)
tree58dfa9555171528528912a8cb6109d351ea767eb /tools/configure
parent43141cbfdb247b7e64bc3d3d5732f43732d59da0 (diff)
downloadrockbox-8ebbe99328248d45f3937c4f15f936d5d36f4a58.tar.gz
rockbox-8ebbe99328248d45f3937c4f15f936d5d36f4a58.zip
FS#8482 take two. Make the language files built first, so that the largest
size can be used as buffer size for languages. Work to this also contributed by Jonas Haggqvist. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16343 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'tools/configure')
-rwxr-xr-xtools/configure16
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"
1786fi 1786fi
1787 1787
1788if test "$apps" = "apps"; then
1789 # only when we build "real" apps we build the .lng files
1790 buildlangs="langs"
1791fi
1792
1788sed > Makefile \ 1793sed > 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 ..."
1920MAKEFLAGS += --no-print-directory 1926MAKEFLAGS += --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
1924all: info 1930all: info
1925 1931
1926info: build 1932info: build
1927 \$(SILENT)\$(TOOLSDIR)/mkinfo.pl \$(BUILDDIR)/rockbox-info.txt 1933 \$(SILENT)\$(TOOLSDIR)/mkinfo.pl \$(BUILDDIR)/rockbox-info.txt
1928 1934
1929build: tools 1935build: 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
1957tools: 1963tools:
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
1996gzip: tar 2002gzip: tar
1997 \$(SILENT)gzip -f9 rockbox.tar 2003 \$(SILENT)gzip -f9 rockbox.tar
1998 2004
2005langs: features
2006 \$(SILENT)mkdir -p \$(BUILDDIR)/apps/lang
2007 \$(SILENT)\$(MAKE) -C \$(APPSDIR)/lang OBJDIR=\$(BUILDDIR)/apps/lang
2008
1999manual: manual-pdf 2009manual: manual-pdf
2000manual-pdf: 2010manual-pdf:
2001 \$(SILENT)\$(MAKE) -C \$(MANUALDIR) OBJDIR=\$(BUILDDIR)/manual manual-pdf 2011 \$(SILENT)\$(MAKE) -C \$(MANUALDIR) OBJDIR=\$(BUILDDIR)/manual manual-pdf