3 # Open \______ \ ____ ____ | | _\_ |__ _______ ___
4 # Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
5 # Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
6 # Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
11 # global CC options for all platforms
12 CCOPTS
="-W -Wall -Wundef -O -nostdlib -ffreestanding -Wstrict-prototypes"
14 use_logf
="#undef ROCKBOX_HAS_LOGF"
16 scriptver
=`echo '$Revision$' | sed -e 's:\\$::g' -e 's/Revision: //'`
21 # Begin Function Definitions
31 WINDRES
=${prefix}windres
32 DLLTOOL
=${prefix}dlltool
33 DLLWRAP
=${prefix}dllwrap
34 RANLIB
=${prefix}ranlib
42 # naive approach to selecting a mingw cross-compiler on linux/*nix
43 echo "Enabling win32 crosscompiling"
45 prefixtools i586-mingw32msvc-
47 # add cross-compiler option(s)
48 GCCOPTS
="$GCCOPTS `sdl-config --cflags`"
49 LDOPTS
="`sdl-config --libs` -mconsole"
51 output
="rockboxui.exe" # use this as output binary name
53 endian
="little" # windows is little endian
56 # scan the $PATH for the given command
63 # echo "checks for $file in $path" >&2
64 if test -f "$path/$file"; then
69 # check whether caller wants literal return value if not found
70 if [ "$2" = "--lit" ]; then
75 # parse the argument list, returns the value after the = in case of a
76 # option=value type option, returns 0 in case of --ccache or --no-ccache,
77 # returns 1 if the searched argument type wasn't fount in the argument list
78 # Usage [var = ]`parse_args <argumenttype>`, e.g. `parse_args --target`
80 # var definitons below are needed so that parse_args can see the arguments
81 arg1
=$1 arg2
=$2 arg3
=$3 arg4
=$4 arg5
=$5 arg6
=$6 arg7
=$7 arg8
=$8 arg9
=$9
85 for i
in $arg1 $arg2 $arg3 $arg4 $arg5 $arg6 $arg7 $arg8 $arg9
87 if [ "$1" = "--ccache" ]; then
88 if [ "$i" = "--ccache" ]; then
91 elif [ "$1" = "--no-ccache" ]; then
92 if [ "$i" = "--no-ccache" ]; then
95 elif [ "$1" = `echo $i|cut -d'=' -f1` ]; then
96 ret
=`echo $i|cut -d'=' -f2`
104 # default tool setup for native building
108 GCCOPTS
='-W -Wall -g -fno-builtin'
110 output
="rockboxui" # use this as default output binary name
112 # generic sdl-config checker
113 sdl
=`findtool sdl-config`
115 if [ -z "$sdl" ]; then
116 echo "configure didn't find sdl-config, which indicates that you"
117 echo "don't have SDL (properly) installed. Please correct and"
118 echo "re-run configure!"
122 # default share option, override below if needed
123 SHARED_FLAG
="-shared"
127 echo "Cygwin host detected"
130 GCCOPTS
="$GCCOPTS `sdl-config --cflags`"
131 LDOPTS
="`sdl-config --libs` -mconsole"
133 output
="rockboxui.exe" # use this as output binary name
137 echo "MinGW host detected"
140 GCCOPTS
="$GCCOPTS `sdl-config --cflags`"
141 LDOPTS
="`sdl-config --libs` -mconsole"
143 output
="rockboxui.exe" # use this as output binary name
147 echo "Linux host detected"
148 if [ "0" != `sdl-config --libs |grep -c mwindows` ]; then
149 # Enable crosscompiling if sdl-config is from Windows SDL
152 GCCOPTS
="$GCCOPTS `sdl-config --cflags`"
153 LDOPTS
="`sdl-config --libs`"
158 echo "FreeBSD host detected"
160 GCCOPTS
="$GCCOPTS `sdl-config --cflags`"
161 LDOPTS
="`sdl-config --libs`"
165 echo "Darwin host detected"
167 GCCOPTS
="$GCCOPTS `sdl-config --cflags`"
168 LDOPTS
="`sdl-config --libs`"
169 SHARED_FLAG
="-dynamiclib -Wl\,-single_module"
173 echo "Unsupported system: $uname, fix configure and retry"
178 GCCOPTS
="$GCCOPTS -I\$(SIMDIR)"
180 if test "X$crosscompile" != "Xyes"; then
181 if [ "`uname -m`" = "x86_64" ] ||
[ "`uname -m`" = "amd64" ]; then
182 # fPIC is needed to make shared objects link
183 # setting visibility to hidden is necessary to avoid strange crashes
184 # due to symbol clashing
185 GCCOPTS
="$GCCOPTS -fPIC -fvisibility=hidden"
189 cat >/tmp
/conftest-
$id.c
<<EOF
191 int main(int argc, char **argv)
194 char *varp = (char *)&var;
202 $CC -o /tmp
/conftest-
$id /tmp
/conftest-
$id.c
2>/dev
/null
204 if test `/tmp/conftest-$id 2>/dev/null` -gt "1"; then
211 echo "Simulator environment deemed $endian endian"
213 # use wildcard here to make it work even if it was named *.exe like
215 rm -f /tmp
/conftest-
$id*
220 # functions for setting up cross-compiler names and options
221 # also set endianess and what the exact recommended gcc version is
222 # the gcc version should most likely match what versions we build with
227 GCCOPTS
="$CCOPTS -m1"
228 GCCOPTIMIZE
="-fomit-frame-pointer -fschedule-insns"
234 prefixtools calmrisc16-unknown-elf-
235 GCCOPTS
="-Wl\,--no-check-sections $CCOPTS"
236 GCCOPTIMIZE
="-fomit-frame-pointer"
241 prefixtools m68k-elf-
242 GCCOPTS
="$CCOPTS -m5206e -Wa\,-m5249 -malign-int -mstrict-align"
243 GCCOPTIMIZE
="-fomit-frame-pointer"
250 GCCOPTS
="$CCOPTS -mcpu=arm7tdmi"
251 if test "X$1" != "Xshort"; then
252 GCCOPTS
="$GCCOPTS -mlong-calls"
254 GCCOPTIMIZE
="-fomit-frame-pointer"
261 GCCOPTS
="$CCOPTS -mcpu=arm9tdmi"
262 if test "$modelname" != "gigabeatf"; then
263 GCCOPTS
="$GCCOPTS -mlong-calls"
265 GCCOPTIMIZE
="-fomit-frame-pointer"
272 GCCOPTS
="$CCOPTS -mbig-endian -mcpu=arm940t -mlong-calls"
273 GCCOPTIMIZE
="-fomit-frame-pointer"
280 GCCOPTS
="$CCOPTS -mcpu=arm9e -mlong-calls"
281 GCCOPTIMIZE
="-fomit-frame-pointer"
288 GCCOPTS
="$CCOPTS -mcpu=arm926ej-s -mlong-calls"
289 GCCOPTIMIZE
="-fomit-frame-pointer"
296 GCCOPTS
="$CCOPTS -mcpu=arm1136jf-s"
297 if test "$modelname" != "gigabeats"; then
298 GCCOPTS
="$GCCOPTS -mlong-calls"
300 GCCOPTIMIZE
="-fomit-frame-pointer"
306 prefixtools mipsel-elf-
307 GCCOPTS
="$CCOPTS -march=mips32 -mtune=r4600 -mno-mips16 -mno-abicalls -mno-long-calls -Wno-parentheses"
308 GCCOPTIMIZE
="-fomit-frame-pointer"
309 GCCOPTS
="$GCCOPTS -fno-pic -fno-builtin -fno-exceptions -ffunction-sections -msoft-float -G 0"
315 ##################################################################
316 # Prompt for specific developer options
319 echo "Enter your developer options (press enter when done)"
320 printf "(D)EBUG, (L)ogf, (S)imulator, (P)rofiling, (V)oice"
321 if [ "$memory" = "2" ]; then
324 if [ "$modelname" = "h120" ]; then
331 while [ $cont = "1" ]; do
337 if [ "yes" = "$profile" ]; then
338 echo "Debug is incompatible with profiling"
345 echo "logf() support enabled"
349 echo "Simulator build enabled"
353 if [ "yes" = "$use_debug" ]; then
354 echo "Profiling is incompatible with debug"
356 echo "Profiling support is enabled"
361 echo "Voice build selected"
365 if [ "$memory" = "2" ]; then
367 echo "Memory size selected: 8MB"
373 if [ "$modelname" = "h120" ]; then
374 config_rtc
="#define CONFIG_RTC RTC_DS1339_DS3231"
375 have_rtc_alarm
="#define HAVE_RTC_ALARM"
376 echo "RTC functions enabled (DS1339/DS3231)"
388 if [ "yes" = "$voice" ]; then
389 # Ask about languages to build
390 echo "Select a number for the language to use (default is english)"
391 # The multiple-language feature is currently broken
392 # echo "You may enter a comma-separated list of languages to build"
395 voicelanguage
=`whichlang`
397 if [ -z "$voicelanguage" ]; then
399 voicelanguage
="english"
401 echo "Voice language set to $voicelanguage"
403 # Configure encoder and TTS engine for each language
404 for thislang
in `echo $voicelanguage | sed 's/,/ /g'`; do
405 voiceconfig
"$thislang"
408 if [ "yes" = "$use_debug" ]; then
410 GCCOPTS
="$GCCOPTS -g -DDEBUG"
412 if [ "yes" = "$logf" ]; then
413 use_logf
="#define ROCKBOX_HAS_LOGF 1"
415 if [ "yes" = "$simulator" ]; then
417 extradefines
="$extradefines -DSIMULATOR"
421 if [ "yes" = "$profile" ]; then
422 extradefines
="$extradefines -DRB_PROFILE"
423 PROFILE_OPTS
="-finstrument-functions"
427 # Configure voice settings
430 echo "Building $thislang voice for $modelname. Select options"
433 if [ -n "`findtool flite`" ]; then
437 DEFAULT_TTS_OPTS
=$FLITE_OPTS
438 DEFAULT_NOISEFLOOR
="500"
441 if [ -n "`findtool espeak`" ]; then
445 DEFAULT_TTS_OPTS
=$ESPEAK_OPTS
446 DEFAULT_NOISEFLOOR
="500"
449 if [ -n "`findtool festival`" ]; then
450 FESTIVAL
="(F)estival "
453 FESTIVAL_OPTS
="--language italian"
456 FESTIVAL_OPTS
="--language spanish"
459 FESTIVAL_OPTS
="--language finnish"
462 FESTIVAL_OPTS
="--language czech"
468 DEFAULT_TTS
="festival"
469 DEFAULT_TTS_OPTS
=$FESTIVAL_OPTS
470 DEFAULT_NOISEFLOOR
="500"
473 if [ -n "`findtool swift`" ]; then
477 DEFAULT_TTS_OPTS
=$SWIFT_OPTS
478 DEFAULT_NOISEFLOOR
="500"
481 # Allow SAPI if Windows is in use
482 if [ -n "`findtool winver`" ]; then
486 DEFAULT_TTS_OPTS
=$SAPI_OPTS
487 DEFAULT_NOISEFLOOR
="500"
491 if [ "$FESTIVAL" = "$FLITE" ] && [ "$FLITE" = "$ESPEAK" ] && [ "$ESPEAK" = "$SAPI" ] && [ "$SAPI" = "$SWIFT" ]; then
492 echo "You need Festival, eSpeak or Flite in your path, or SAPI available to build voice files"
496 echo "TTS engine to use: ${FLITE}${FESTIVAL}${ESPEAK}${SAPI}${SWIFT}(${DEFAULT_CHOICE})?"
501 NOISEFLOOR
="500" # TODO: check this value
507 TTS_OPTS
=$ESPEAK_OPTS
510 TTS_ENGINE
="festival"
512 TTS_OPTS
=$FESTIVAL_OPTS
525 TTS_ENGINE
=$DEFAULT_TTS
526 TTS_OPTS
=$DEFAULT_TTS_OPTS
527 NOISEFLOOR
=$DEFAULT_NOISEFLOOR
529 echo "Using $TTS_ENGINE for TTS"
531 # Select which voice to use for Festival
532 if [ "$TTS_ENGINE" = "festival" ]; then
534 for voice
in `echo "(voice.list)"|festival -i 2>/dev/null |tr "\n" " "|sed -e 's/.*festival> (\(.*\)) festival>/\1/'|sort`; do
535 if [ "$i" = "1" ]; then
536 TTS_FESTIVAL_VOICE
="$voice" # Default choice
538 printf "%3d. %s\n" "$i" "$voice"
541 printf "Please select which Festival voice to use (default is $TTS_FESTIVAL_VOICE): "
544 for voice
in `echo "(voice.list)"|festival -i 2>/dev/null |tr "\n" " "|sed -e 's/.*festival> (\(.*\)) festival>/\1/'|sort`; do
545 if [ "$i" = "$CHOICE" -o "$voice" = "$CHOICE" ]; then
546 TTS_FESTIVAL_VOICE
="$voice"
550 echo "Festival voice set to $TTS_FESTIVAL_VOICE"
551 echo "(voice_$TTS_FESTIVAL_VOICE)" > festival-prolog.scm
554 # Allow the user to input manual commandline options
555 printf "Enter $TTS_ENGINE options (enter for defaults \"$TTS_OPTS\"): "
556 USER_TTS_OPTS
=`input`
557 if [ -n "$USER_TTS_OPTS" ]; then
558 TTS_OPTS
="$USER_TTS_OPTS"
563 if [ "$swcodec" = "yes" ]; then
566 ENC_OPTS
="-q 4 -c 10"
568 if [ -n "`findtool lame`" ]; then
571 ENC_OPTS
="--resample 12 -t -m m -h -V 9 -S -B 64 --vbr-new"
573 echo "You need LAME in the system path to build voice files for"
574 echo "HWCODEC targets."
579 echo "Using $ENCODER for encoding voice clips"
581 # Allow the user to input manual commandline options
582 printf "Enter $ENCODER options (enter for defaults \"$ENC_OPTS\"): "
583 USER_ENC_OPTS
=`input`
584 if [ -n "$USER_ENC_OPTS" ]; then
585 ENC_OPTS
=$USER_ENC_OPTS
589 if [ -n "`findtool cygpath`" ]; then
590 TEMPDIR
=`cygpath . -a -w`
595 # figure out which languages that are around
596 for file in $rootdir/apps
/lang
/*.lang
; do
597 clean
=`echo $file | sed -e 's:.*/::g' | cut "-d." -f1`
598 langs
="$langs $clean"
602 for one
in $langs; do
612 # Allow the user to pass a comma-separated list of langauges
613 for thispick
in `echo $pick | sed 's/,/ /g'`; do
615 for one
in $langs; do
616 # Accept both the language number and name
617 if [ "$num" = "$thispick" ] ||
[ "$thispick" = "$one" ]; then
618 if [ "$output" = "" ]; then
632 if test "$opt" = "--help"; then
633 echo "Rockbox configure script."
634 echo "Invoke this in a directory to generate a Makefile to build Rockbox"
635 echo "Do *NOT* run this within the tools directory!"
638 Usage: configure [OPTION]...
640 --target=TARGET Sets the target, TARGET can be either the target ID or
641 corresponding string. Run without this option to see all
644 --ram=RAM Sets the RAM for certain targets. Even though any number
645 is accepted, not every number is correct. The default
646 value will be applied, if you entered a wrong number
647 (which depends on the target). Watch the output. Run
648 without this option if you are not sure which the right
651 --type=TYPE Sets the build type. The shortcut is also valid.
652 Run without this option to see available types.
654 --rbdir=dir Use alternative rockbox directory (default: ${rbdir}).
655 This is useful for having multiple alternate builds on
656 your device that you can load with ROLO. However as the
657 bootloader looks for .rockbox you won't be able to boot
660 --ccache Enable ccache use (done by default these days)
661 --no-ccache Disable ccache use
662 --help Shows this message (must not be used with other options)
669 if test -r "configure"; then
670 # this is a check for a configure script in the current directory, it there
671 # is one, try to figure out if it is this one!
673 if { grep "^# Jukebox" configure
>/dev
/null
2>&1 ; } then
674 echo "WEEEEEEEEP. Don't run this configure script within the tools directory."
675 echo "It will only cause you pain and grief. Instead do this:"
678 echo " mkdir build-dir"
680 echo " ../tools/configure"
682 echo "Much happiness will arise from this. Enjoy"
687 # get our current directory
690 if { echo $pwd |
grep " "; } then
691 echo "You're running this script in a path that contains space. The build"
692 echo "system is unfortunately not clever enough to deal with this. Please"
693 echo "run the script from a different path, rename the path or fix the build"
698 if [ -z "$rootdir" ]; then
699 ##################################################################
700 # Figure out where the source code root is!
702 rootdir
=`dirname $0`/..
/
704 #####################################################################
705 # Convert the possibly relative directory name to an absolute version
711 # cd back to the build dir
716 appsdir
='\$(ROOTDIR)/apps'
717 firmdir
='\$(ROOTDIR)/firmware'
718 toolsdir
='\$(ROOTDIR)/tools'
721 ##################################################################
722 # Figure out target platform
725 if [ "1" != `parse_args --target` ]; then
726 buildfor
=`parse_args --target`;
728 echo "Enter target platform:"
730 ==Archos== ==iriver== ==Apple iPod==
731 0) Player/Studio 10) H120/H140 20) Color/Photo
732 1) Recorder 11) H320/H340 21) Nano
733 2) FM Recorder 12) iHP-100/110/115 22) Video
734 3) Recorder v2 13) iFP-790 23) 3G
735 4) Ondio SP 14) H10 20Gb 24) 4G Grayscale
736 5) Ondio FM 15) H10 5/6Gb 25) Mini 1G
738 ==Toshiba== 27) 1G, 2G
740 ==Cowon/iAudio== 41) Gigabeat S ==SanDisk==
741 30) X5/X5V/X5L 50) Sansa e200
742 31) M5/M5L ==Tatung== 51) Sansa e200R
743 32) 7 60) Elio TPJ-1022 52) Sansa c200
744 33) D2 53) Sansa m200
745 34) M3/M3L ==Olympus== 54) Sansa c100
746 70) M:Robe 500 55) Sansa Clip
747 ==Creative== 71) M:Robe 100 56) Sansa e200v2
748 90) Zen Vision:M 30GB 57) Sansa m200v4
749 91) Zen Vision:M 60GB ==Philips== 58) Sansa Fuze
750 92) Zen Vision 100) GoGear SA9200 59) Sansa c200v2
753 ==Onda== 80) DAX 1GB MP3/DAB
755 121) VX767 110) M6SL ==Lyre project==
756 122) VX747+ 111) M6SP 130) Lyre proto 1
763 # Set of tools built for all target platforms:
764 toolset
="rdf2binary convbdf codepages"
766 # Toolsets for some target families:
767 archosbitmaptools
="$toolset scramble descramble sh2d uclpack bmp2rb"
768 iriverbitmaptools
="$toolset scramble descramble mkboot bmp2rb"
769 iaudiobitmaptools
="$toolset scramble descramble mkboot bmp2rb"
770 ipodbitmaptools
="$toolset scramble bmp2rb"
771 gigabeatbitmaptools
="$toolset scramble descramble bmp2rb"
772 tccbitmaptools
="$toolset scramble mktccboot bmp2rb"
773 # generic is used by IFP, Meizu and Onda
774 genericbitmaptools
="$toolset bmp2rb"
775 # scramble is used by all other targets
776 scramblebitmaptools
="$genericbitmaptools scramble"
779 # ---- For each target ----
782 # target_id: a unique number identifying this target, IS NOT the menu number.
783 # Just use the currently highest number+1 when you add a new
785 # modelname: short model name used all over to identify this target
786 # memory: number of megabytes of RAM this target has. If the amount can
787 # be selected by the size prompt, let memory be unset here
788 # target: -Ddefine passed to the build commands to make the correct
789 # config-*.h file get included etc
790 # tool: the tool that takes a plain binary and converts that into a
791 # working "firmware" file for your target
792 # output: the final output file name
793 # boottool: the tool that takes a plain binary and generates a bootloader
794 # file for your target (or blank to use $tool)
795 # bootoutput:the final output file name for the bootloader (or blank to use
797 # appextra: passed to the APPEXTRA variable in the Makefiles.
798 # TODO: add proper explanation
799 # archosrom: used only for Archos targets that build a special flashable .ucl
801 # flash: name of output for flashing, for targets where there's a special
802 # file output for this.
803 # plugins: set to 'yes' to build the plugins. Early development builds can
804 # set this to no in the early stages to have an easier life for a
806 # swcodec: set 'yes' on swcodec targets
807 # toolset: lists what particular tools in the tools/ directory that this
808 # target needs to have built prior to building Rockbox
811 # *cc: sets up gcc and compiler options for your target builds. Note
812 # that if you select a simulator build, the compiler selection is
813 # overridden later in the script.
820 target
="-DARCHOS_PLAYER"
822 tool
="$rootdir/tools/scramble"
824 appextra
="player:gui"
825 archosrom
="$pwd/rombox.ucl"
826 flash
="$pwd/rockbox.ucl"
830 # toolset is the tools within the tools directory that we build for
831 # this particular target.
832 toolset
="$toolset scramble descramble sh2d player_unifont uclpack"
834 # Note: the convbdf is present in the toolset just because: 1) the
835 # firmware/Makefile assumes it is present always, and 2) we will need it when we
836 # build the player simulator
839 t_manufacturer
="archos"
846 target
="-DARCHOS_RECORDER"
848 tool
="$rootdir/tools/scramble"
849 bmp2rb_mono
="$rootdir/tools/bmp2rb -f 0"
850 bmp2rb_native
="$rootdir/tools/bmp2rb -f 0"
852 appextra
="recorder:gui"
853 #archosrom="$pwd/rombox.ucl"
854 flash
="$pwd/rockbox.ucl"
857 # toolset is the tools within the tools directory that we build for
858 # this particular target.
859 toolset
=$archosbitmaptools
861 t_manufacturer
="archos"
867 modelname
="fmrecorder"
868 target
="-DARCHOS_FMRECORDER"
870 tool
="$rootdir/tools/scramble -fm"
871 bmp2rb_mono
="$rootdir/tools/bmp2rb -f 0"
872 bmp2rb_native
="$rootdir/tools/bmp2rb -f 0"
874 appextra
="recorder:gui"
875 #archosrom="$pwd/rombox.ucl"
876 flash
="$pwd/rockbox.ucl"
879 # toolset is the tools within the tools directory that we build for
880 # this particular target.
881 toolset
=$archosbitmaptools
883 t_manufacturer
="archos"
889 modelname
="recorderv2"
890 target
="-DARCHOS_RECORDERV2"
892 tool
="$rootdir/tools/scramble -v2"
893 bmp2rb_mono
="$rootdir/tools/bmp2rb -f 0"
894 bmp2rb_native
="$rootdir/tools/bmp2rb -f 0"
896 appextra
="recorder:gui"
897 #archosrom="$pwd/rombox.ucl"
898 flash
="$pwd/rockbox.ucl"
901 # toolset is the tools within the tools directory that we build for
902 # this particular target.
903 toolset
=$archosbitmaptools
905 t_manufacturer
="archos"
912 target
="-DARCHOS_ONDIOSP"
914 tool
="$rootdir/tools/scramble -osp"
915 bmp2rb_mono
="$rootdir/tools/bmp2rb -f 0"
916 bmp2rb_native
="$rootdir/tools/bmp2rb -f 0"
918 appextra
="recorder:gui"
919 archosrom
="$pwd/rombox.ucl"
920 flash
="$pwd/rockbox.ucl"
923 # toolset is the tools within the tools directory that we build for
924 # this particular target.
925 toolset
=$archosbitmaptools
927 t_manufacturer
="archos"
934 target
="-DARCHOS_ONDIOFM"
936 tool
="$rootdir/tools/scramble -ofm"
937 bmp2rb_mono
="$rootdir/tools/bmp2rb -f 0"
938 bmp2rb_native
="$rootdir/tools/bmp2rb -f 0"
940 appextra
="recorder:gui"
941 #archosrom="$pwd/rombox.ucl"
942 flash
="$pwd/rockbox.ucl"
945 toolset
=$archosbitmaptools
947 t_manufacturer
="archos"
954 target
="-DARCHOS_AV300"
957 tool
="$rootdir/tools/scramble -mm=C"
958 bmp2rb_mono
="$rootdir/tools/bmp2rb -f 0"
959 bmp2rb_native
="$rootdir/tools/bmp2rb -f 6"
961 appextra
="recorder:gui"
964 # toolset is the tools within the tools directory that we build for
965 # this particular target.
966 toolset
="$toolset scramble descramble bmp2rb"
967 # architecture, manufacturer and model for the target-tree build
969 t_manufacturer
="archos"
976 target
="-DIRIVER_H120"
979 tool
="$rootdir/tools/scramble -add=h120"
980 bmp2rb_mono
="$rootdir/tools/bmp2rb -f 0"
981 bmp2rb_native
="$rootdir/tools/bmp2rb -f 2"
982 bmp2rb_remotemono
="$rootdir/tools/bmp2rb -f 0"
983 bmp2rb_remotenative
="$rootdir/tools/bmp2rb -f 0"
984 output
="rockbox.iriver"
985 appextra
="recorder:gui"
986 flash
="$pwd/rombox.iriver"
989 # toolset is the tools within the tools directory that we build for
990 # this particular target.
991 toolset
=$iriverbitmaptools
993 t_manufacturer
="iriver"
1000 target
="-DIRIVER_H300"
1003 tool
="$rootdir/tools/scramble -add=h300"
1004 bmp2rb_mono
="$rootdir/tools/bmp2rb -f 0"
1005 bmp2rb_native
="$rootdir/tools/bmp2rb -f 4"
1006 bmp2rb_remotemono
="$rootdir/tools/bmp2rb -f 0"
1007 bmp2rb_remotenative
="$rootdir/tools/bmp2rb -f 0"
1008 output
="rockbox.iriver"
1009 appextra
="recorder:gui"
1012 # toolset is the tools within the tools directory that we build for
1013 # this particular target.
1014 toolset
=$iriverbitmaptools
1016 t_manufacturer
="iriver"
1023 target
="-DIRIVER_H100"
1026 tool
="$rootdir/tools/scramble -add=h100"
1027 bmp2rb_mono
="$rootdir/tools/bmp2rb -f 0"
1028 bmp2rb_native
="$rootdir/tools/bmp2rb -f 2"
1029 bmp2rb_remotemono
="$rootdir/tools/bmp2rb -f 0"
1030 bmp2rb_remotenative
="$rootdir/tools/bmp2rb -f 0"
1031 output
="rockbox.iriver"
1032 appextra
="recorder:gui"
1033 flash
="$pwd/rombox.iriver"
1036 # toolset is the tools within the tools directory that we build for
1037 # this particular target.
1038 toolset
=$iriverbitmaptools
1040 t_manufacturer
="iriver"
1047 target
="-DIRIVER_IFP7XX"
1051 bmp2rb_mono
="$rootdir/tools/bmp2rb -f 0"
1052 bmp2rb_native
="$rootdir/tools/bmp2rb -f 0"
1053 output
="rockbox.wma"
1054 appextra
="recorder:gui"
1057 # toolset is the tools within the tools directory that we build for
1058 # this particular target.
1059 toolset
=$genericbitmaptools
1061 t_manufacturer
="pnx0101"
1062 t_model
="iriver-ifp7xx"
1068 target
="-DIRIVER_H10"
1071 tool
="$rootdir/tools/scramble -mi4v3 -model=h10 -type=RBOS"
1072 bmp2rb_mono
="$rootdir/tools/bmp2rb -f 0"
1073 bmp2rb_native
="$rootdir/tools/bmp2rb -f 5"
1074 output
="rockbox.mi4"
1075 appextra
="recorder:gui"
1078 boottool
="$rootdir/tools/scramble -mi4v3 -model=h10 -type=RBBL"
1079 bootoutput
="H10_20GC.mi4"
1080 # toolset is the tools within the tools directory that we build for
1081 # this particular target.
1082 toolset
=$scramblebitmaptools
1083 # architecture, manufacturer and model for the target-tree build
1085 t_manufacturer
="iriver"
1092 target
="-DIRIVER_H10_5GB"
1095 tool
="$rootdir/tools/scramble -mi4v2 -model=h105 -type=RBOS"
1096 bmp2rb_mono
="$rootdir/tools/bmp2rb -f 0"
1097 bmp2rb_native
="$rootdir/tools/bmp2rb -f 5"
1098 output
="rockbox.mi4"
1099 appextra
="recorder:gui"
1102 boottool
="$rootdir/tools/scramble -mi4v2 -model=h105 -type=RBBL"
1103 bootoutput
="H10.mi4"
1104 # toolset is the tools within the tools directory that we build for
1105 # this particular target.
1106 toolset
=$scramblebitmaptools
1107 # architecture, manufacturer and model for the target-tree build
1109 t_manufacturer
="iriver"
1115 modelname
="ipodcolor"
1116 target
="-DIPOD_COLOR"
1119 tool
="$rootdir/tools/scramble -add=ipco"
1120 bmp2rb_mono
="$rootdir/tools/bmp2rb -f 0"
1121 bmp2rb_native
="$rootdir/tools/bmp2rb -f 5"
1122 output
="rockbox.ipod"
1123 appextra
="recorder:gui"
1126 bootoutput
="bootloader-$modelname.ipod"
1127 # toolset is the tools within the tools directory that we build for
1128 # this particular target.
1129 toolset
=$ipodbitmaptools
1130 # architecture, manufacturer and model for the target-tree build
1132 t_manufacturer
="ipod"
1138 modelname
="ipodnano"
1139 target
="-DIPOD_NANO"
1142 tool
="$rootdir/tools/scramble -add=nano"
1143 bmp2rb_mono
="$rootdir/tools/bmp2rb -f 0"
1144 bmp2rb_native
="$rootdir/tools/bmp2rb -f 5"
1145 output
="rockbox.ipod"
1146 appextra
="recorder:gui"
1149 bootoutput
="bootloader-$modelname.ipod"
1150 # toolset is the tools within the tools directory that we build for
1151 # this particular target.
1152 toolset
=$ipodbitmaptools
1153 # architecture, manufacturer and model for the target-tree build
1155 t_manufacturer
="ipod"
1161 modelname
="ipodvideo"
1162 target
="-DIPOD_VIDEO"
1164 tool
="$rootdir/tools/scramble -add=ipvd"
1165 bmp2rb_mono
="$rootdir/tools/bmp2rb -f 0"
1166 bmp2rb_native
="$rootdir/tools/bmp2rb -f 4"
1167 output
="rockbox.ipod"
1168 appextra
="recorder:gui"
1171 bootoutput
="bootloader-$modelname.ipod"
1172 # toolset is the tools within the tools directory that we build for
1173 # this particular target.
1174 toolset
=$ipodbitmaptools
1175 # architecture, manufacturer and model for the target-tree build
1177 t_manufacturer
="ipod"
1187 tool
="$rootdir/tools/scramble -add=ip3g"
1188 bmp2rb_mono
="$rootdir/tools/bmp2rb -f 0"
1189 bmp2rb_native
="$rootdir/tools/bmp2rb -f 6"
1190 output
="rockbox.ipod"
1191 appextra
="recorder:gui"
1194 bootoutput
="bootloader-$modelname.ipod"
1195 # toolset is the tools within the tools directory that we build for
1196 # this particular target.
1197 toolset
=$ipodbitmaptools
1198 # architecture, manufacturer and model for the target-tree build
1200 t_manufacturer
="ipod"
1210 tool
="$rootdir/tools/scramble -add=ip4g"
1211 bmp2rb_mono
="$rootdir/tools/bmp2rb -f 0"
1212 bmp2rb_native
="$rootdir/tools/bmp2rb -f 6"
1213 output
="rockbox.ipod"
1214 appextra
="recorder:gui"
1217 bootoutput
="bootloader-$modelname.ipod"
1218 # toolset is the tools within the tools directory that we build for
1219 # this particular target.
1220 toolset
=$ipodbitmaptools
1221 # architecture, manufacturer and model for the target-tree build
1223 t_manufacturer
="ipod"
1229 modelname
="ipodmini"
1230 target
="-DIPOD_MINI"
1233 tool
="$rootdir/tools/scramble -add=mini"
1234 bmp2rb_mono
="$rootdir/tools/bmp2rb -f 0"
1235 bmp2rb_native
="$rootdir/tools/bmp2rb -f 6"
1236 output
="rockbox.ipod"
1237 appextra
="recorder:gui"
1240 bootoutput
="bootloader-$modelname.ipod"
1241 # toolset is the tools within the tools directory that we build for
1242 # this particular target.
1243 toolset
=$ipodbitmaptools
1244 # architecture, manufacturer and model for the target-tree build
1246 t_manufacturer
="ipod"
1252 modelname
="ipodmini2g"
1253 target
="-DIPOD_MINI2G"
1256 tool
="$rootdir/tools/scramble -add=mn2g"
1257 bmp2rb_mono
="$rootdir/tools/bmp2rb -f 0"
1258 bmp2rb_native
="$rootdir/tools/bmp2rb -f 6"
1259 output
="rockbox.ipod"
1260 appextra
="recorder:gui"
1263 bootoutput
="bootloader-$modelname.ipod"
1264 # toolset is the tools within the tools directory that we build for
1265 # this particular target.
1266 toolset
=$ipodbitmaptools
1267 # architecture, manufacturer and model for the target-tree build
1269 t_manufacturer
="ipod"
1275 modelname
="ipod1g2g"
1276 target
="-DIPOD_1G2G"
1279 tool
="$rootdir/tools/scramble -add=1g2g"
1280 bmp2rb_mono
="$rootdir/tools/bmp2rb -f 0"
1281 bmp2rb_native
="$rootdir/tools/bmp2rb -f 6"
1282 output
="rockbox.ipod"
1283 appextra
="recorder:gui"
1286 bootoutput
="bootloader-$modelname.ipod"
1287 # toolset is the tools within the tools directory that we build for
1288 # this particular target.
1289 toolset
=$ipodbitmaptools
1290 # architecture, manufacturer and model for the target-tree build
1292 t_manufacturer
="ipod"
1299 target
="-DIAUDIO_X5"
1302 tool
="$rootdir/tools/scramble -add=iax5"
1303 bmp2rb_mono
="$rootdir/tools/bmp2rb -f 0"
1304 bmp2rb_native
="$rootdir/tools/bmp2rb -f 4"
1305 bmp2rb_remotemono
="$rootdir/tools/bmp2rb -f 0"
1306 bmp2rb_remotenative
="$rootdir/tools/bmp2rb -f 7"
1307 output
="rockbox.iaudio"
1308 appextra
="recorder:gui"
1311 # toolset is the tools within the tools directory that we build for
1312 # this particular target.
1313 toolset
="$iaudiobitmaptools"
1314 # architecture, manufacturer and model for the target-tree build
1316 t_manufacturer
="iaudio"
1323 target
="-DIAUDIO_M5"
1326 tool
="$rootdir/tools/scramble -add=iam5"
1327 bmp2rb_mono
="$rootdir/tools/bmp2rb -f 0"
1328 bmp2rb_native
="$rootdir/tools/bmp2rb -f 2"
1329 bmp2rb_remotemono
="$rootdir/tools/bmp2rb -f 0"
1330 bmp2rb_remotenative
="$rootdir/tools/bmp2rb -f 7"
1331 output
="rockbox.iaudio"
1332 appextra
="recorder:gui"
1335 # toolset is the tools within the tools directory that we build for
1336 # this particular target.
1337 toolset
="$iaudiobitmaptools"
1338 # architecture, manufacturer and model for the target-tree build
1340 t_manufacturer
="iaudio"
1350 tool
="$rootdir/tools/scramble -add=i7"
1351 boottool
="$rootdir/tools/scramble -tcc=crc"
1352 bmp2rb_mono
="$rootdir/tools/bmp2rb -f 0"
1353 bmp2rb_native
="$rootdir/tools/bmp2rb -f 4"
1354 output
="rockbox.iaudio"
1355 appextra
="recorder:gui"
1358 bootoutput
="I7_FW.BIN"
1359 # toolset is the tools within the tools directory that we build for
1360 # this particular target.
1361 toolset
="$tccbitmaptools"
1362 # architecture, manufacturer and model for the target-tree build
1364 t_manufacturer
="tcc77x"
1374 tool
="$rootdir/tools/scramble -add=d2"
1375 boottool
="$rootdir/tools/scramble -tcc=crc"
1376 bmp2rb_mono
="$rootdir/tools/bmp2rb -f 0"
1377 bmp2rb_native
="$rootdir/tools/bmp2rb -f 4"
1379 appextra
="recorder:gui"
1382 toolset
="$tccbitmaptools"
1383 # architecture, manufacturer and model for the target-tree build
1385 t_manufacturer
="tcc780x"
1392 target
="-DIAUDIO_M3"
1395 tool
="$rootdir/tools/scramble -add=iam3"
1396 bmp2rb_mono
="$rootdir/tools/bmp2rb -f 0"
1397 bmp2rb_native
="$rootdir/tools/bmp2rb -f 7"
1398 output
="rockbox.iaudio"
1399 appextra
="recorder:gui"
1402 # toolset is the tools within the tools directory that we build for
1403 # this particular target.
1404 toolset
="$iaudiobitmaptools"
1405 # architecture, manufacturer and model for the target-tree build
1407 t_manufacturer
="iaudio"
1413 modelname
="gigabeatf"
1414 target
="-DGIGABEAT_F"
1417 tool
="$rootdir/tools/scramble -add=giga"
1418 bmp2rb_mono
="$rootdir/tools/bmp2rb -f 0"
1419 bmp2rb_native
="$rootdir/tools/bmp2rb -f 4"
1420 output
="rockbox.gigabeat"
1421 appextra
="recorder:gui"
1424 toolset
=$gigabeatbitmaptools
1425 boottool
="$rootdir/tools/scramble -gigabeat"
1426 bootoutput
="FWIMG01.DAT"
1427 # architecture, manufacturer and model for the target-tree build
1429 t_manufacturer
="s3c2440"
1430 t_model
="gigabeat-fx"
1435 modelname
="gigabeats"
1436 target
="-DGIGABEAT_S"
1439 tool
="$rootdir/tools/scramble -add=gigs"
1440 bmp2rb_mono
="$rootdir/tools/bmp2rb -f 0"
1441 bmp2rb_native
="$rootdir/tools/bmp2rb -f 4"
1442 output
="rockbox.gigabeat"
1443 appextra
="recorder:gui"
1446 toolset
="$gigabeatbitmaptools mknkboot"
1447 boottool
="$rootdir/tools/scramble -gigabeats"
1449 # architecture, manufacturer and model for the target-tree build
1451 t_manufacturer
="imx31"
1452 t_model
="gigabeat-s"
1457 modelname
="mrobe500"
1458 target
="-DMROBE_500"
1461 tool
="$rootdir/tools/scramble -add=m500"
1462 bmp2rb_mono
="$rootdir/tools/bmp2rb -f 0"
1463 bmp2rb_native
="$rootdir/tools/bmp2rb -f 4"
1464 bmp2rb_remotemono
="$rootdir/tools/bmp2rb -f 0"
1465 bmp2rb_remotenative
="$rootdir/tools/bmp2rb -f 0"
1466 output
="rockbox.mrobe500"
1467 appextra
="recorder:gui"
1470 toolset
=$gigabeatbitmaptools
1472 bootoutput
="rockbox.mrboot"
1473 # architecture, manufacturer and model for the target-tree build
1475 t_manufacturer
="tms320dm320"
1481 modelname
="mrobe100"
1482 target
="-DMROBE_100"
1485 tool
="$rootdir/tools/scramble -mi4v2 -model=m100 -type=RBOS"
1486 bmp2rb_mono
="$rootdir/tools/bmp2rb -f 0"
1487 bmp2rb_native
="$rootdir/tools/bmp2rb -f 0"
1488 output
="rockbox.mi4"
1489 appextra
="recorder:gui"
1492 boottool
="$rootdir/tools/scramble -mi4v2 -model=m100 -type=RBBL"
1493 bootoutput
="pp5020.mi4"
1494 # toolset is the tools within the tools directory that we build for
1495 # this particular target.
1496 toolset
=$scramblebitmaptools
1497 # architecture, manufacturer and model for the target-tree build
1499 t_manufacturer
="olympus"
1505 modelname
="logikdax"
1506 target
="-DLOGIK_DAX"
1509 tool
="$rootdir/tools/scramble -add=ldax"
1510 boottool
="$rootdir/tools/scramble -tcc=crc"
1511 bootoutput
="player.rom"
1512 bmp2rb_mono
="$rootdir/tools/bmp2rb -f 0"
1513 bmp2rb_native
="$rootdir/tools/bmp2rb -f 0"
1514 output
="rockbox.logik"
1515 appextra
="recorder:gui"
1518 # toolset is the tools within the tools directory that we build for
1519 # this particular target.
1520 toolset
=$tccbitmaptools
1521 # architecture, manufacturer and model for the target-tree build
1523 t_manufacturer
="tcc77x"
1529 modelname
="creativezvm30"
1530 target
="-DCREATIVE_ZVM"
1533 bmp2rb_mono
="$rootdir/tools/bmp2rb -f 0"
1534 bmp2rb_native
="$rootdir/tools/bmp2rb -f 4"
1535 tool
="$rootdir/tools/scramble -creative=zvm"
1537 output
="rockbox.zvm"
1538 appextra
="recorder:gui"
1541 toolset
=$ipodbitmaptools
1542 boottool
="$rootdir/tools/scramble -creative=zvm -no-ciff"
1543 bootoutput
="rockbox.zvmboot"
1544 # architecture, manufacturer and model for the target-tree build
1546 t_manufacturer
="tms320dm320"
1547 t_model
="creative-zvm"
1552 modelname
="creativezvm60"
1553 target
="-DCREATIVE_ZVM60GB"
1556 bmp2rb_mono
="$rootdir/tools/bmp2rb -f 0"
1557 bmp2rb_native
="$rootdir/tools/bmp2rb -f 4"
1558 tool
="$rootdir/tools/scramble -creative=zvm60 -no-ciff"
1560 output
="rockbox.zvm60"
1561 appextra
="recorder:gui"
1564 toolset
=$ipodbitmaptools
1565 boottool
="$rootdir/tools/scramble -creative=zvm60"
1566 bootoutput
="rockbox.zvm60boot"
1567 # architecture, manufacturer and model for the target-tree build
1569 t_manufacturer
="tms320dm320"
1570 t_model
="creative-zvm"
1573 92|creativezenvision
)
1575 modelname
="creativezv"
1576 target
="-DCREATIVE_ZV"
1579 bmp2rb_mono
="$rootdir/tools/bmp2rb -f 0"
1580 bmp2rb_native
="$rootdir/tools/bmp2rb -f 4"
1581 tool
="$rootdir/tools/scramble -creative=zenvision -no-ciff"
1584 appextra
="recorder:gui"
1587 toolset
=$ipodbitmaptools
1588 boottool
="$rootdir/tools/scramble -creative=zenvision"
1589 bootoutput
="rockbox.zvboot"
1590 # architecture, manufacturer and model for the target-tree build
1592 t_manufacturer
="tms320dm320"
1593 t_model
="creative-zvm"
1599 target
="-DSANSA_E200"
1600 memory
=32 # supposedly
1602 tool
="$rootdir/tools/scramble -mi4v3 -model=e200 -type=RBOS"
1603 bmp2rb_mono
="$rootdir/tools/bmp2rb -f 0"
1604 bmp2rb_native
="$rootdir/tools/bmp2rb -f 4"
1605 output
="rockbox.mi4"
1606 appextra
="recorder:gui"
1609 boottool
="$rootdir/tools/scramble -mi4v3 -model=e200 -type=RBBL"
1610 bootoutput
="PP5022.mi4"
1611 # toolset is the tools within the tools directory that we build for
1612 # this particular target.
1613 toolset
=$scramblebitmaptools
1614 # architecture, manufacturer and model for the target-tree build
1616 t_manufacturer
="sandisk"
1617 t_model
="sansa-e200"
1621 # the e200R model is pretty much identical to the e200, it only has a
1622 # different option to the scramble tool when building a bootloader and
1623 # makes the bootloader output file name in all lower case.
1626 target
="-DSANSA_E200"
1627 memory
=32 # supposedly
1629 tool
="$rootdir/tools/scramble -mi4v3 -model=e20r -type=RBOS"
1630 bmp2rb_mono
="$rootdir/tools/bmp2rb -f 0"
1631 bmp2rb_native
="$rootdir/tools/bmp2rb -f 4"
1632 output
="rockbox.mi4"
1633 appextra
="recorder:gui"
1636 boottool
="$rootdir/tools/scramble -mi4r -model=e20r -type=RBBL"
1637 bootoutput
="pp5022.mi4"
1638 # toolset is the tools within the tools directory that we build for
1639 # this particular target.
1640 toolset
=$scramblebitmaptools
1641 # architecture, manufacturer and model for the target-tree build
1643 t_manufacturer
="sandisk"
1644 t_model
="sansa-e200"
1650 target
="-DSANSA_C200"
1651 memory
=32 # supposedly
1653 tool
="$rootdir/tools/scramble -mi4v3 -model=c200 -type=RBOS"
1654 bmp2rb_mono
="$rootdir/tools/bmp2rb -f 0"
1655 bmp2rb_native
="$rootdir/tools/bmp2rb -f 4"
1656 output
="rockbox.mi4"
1657 appextra
="recorder:gui"
1660 boottool
="$rootdir/tools/scramble -mi4v3 -model=c200 -type=RBBL"
1661 bootoutput
="firmware.mi4"
1662 # toolset is the tools within the tools directory that we build for
1663 # this particular target.
1664 toolset
=$scramblebitmaptools
1665 # architecture, manufacturer and model for the target-tree build
1667 t_manufacturer
="sandisk"
1668 t_model
="sansa-c200"
1674 target
="-DSANSA_M200"
1677 tool
="$rootdir/tools/scramble -add=m200"
1678 boottool
="$rootdir/tools/scramble -tcc=crc"
1679 bootoutput
="player.rom"
1680 bmp2rb_mono
="$rootdir/tools/bmp2rb -f 0"
1681 bmp2rb_native
="$rootdir/tools/bmp2rb -f 0"
1682 output
="rockbox.m200"
1683 appextra
="recorder:gui"
1686 # toolset is the tools within the tools directory that we build for
1687 # this particular target.
1688 toolset
=$tccbitmaptools
1689 # architecture, manufacturer and model for the target-tree build
1691 t_manufacturer
="tcc77x"
1698 target
="-DSANSA_C100"
1699 memory
=32 # unsure, must check
1701 tool
="$rootdir/tools/scramble -add=c100"
1702 boottool
="$rootdir/tools/scramble -tcc=crc"
1703 bootoutput
="player.rom"
1704 bmp2rb_mono
="$rootdir/tools/bmp2rb -f 0"
1705 bmp2rb_native
="$rootdir/tools/bmp2rb -f 4"
1706 output
="rockbox.c100"
1707 appextra
="recorder:gui"
1709 # toolset is the tools within the tools directory that we build for
1710 # this particular target.
1711 toolset
=$tccbitmaptools
1712 # architecture, manufacturer and model for the target-tree build
1714 t_manufacturer
="tcc77x"
1721 target
="-DSANSA_CLIP"
1724 bmp2rb_mono
="$rootdir/tools/bmp2rb -f 0"
1725 bmp2rb_native
="$bmp2rb_mono"
1726 tool
="$rootdir/tools/scramble -add=clip"
1727 output
="rockbox.sansa"
1728 bootoutput
="bootloader-clip.sansa"
1729 appextra
="recorder:gui"
1732 toolset
=$scramblebitmaptools
1734 t_manufacturer
="as3525"
1735 t_model
="sansa-clip"
1742 target
="-DSANSA_E200V2"
1745 bmp2rb_mono
="$rootdir/tools/bmp2rb -f 0"
1746 bmp2rb_native
="$rootdir/tools/bmp2rb -f 4"
1747 tool
="$rootdir/tools/scramble -add=e2v2"
1748 output
="rockbox.sansa"
1749 bootoutput
="bootloader-e200v2.sansa"
1750 appextra
="recorder:gui"
1753 toolset
=$scramblebitmaptools
1755 t_manufacturer
="as3525"
1756 t_model
="sansa-e200v2"
1763 target
="-DSANSA_M200V4"
1766 bmp2rb_mono
="$rootdir/tools/bmp2rb -f 0"
1767 bmp2rb_native
="$bmp2rb_mono"
1768 tool
="$rootdir/tools/scramble -add=m2v4"
1769 output
="rockbox.sansa"
1770 bootoutput
="bootloader-m200v4.sansa"
1771 appextra
="recorder:gui"
1774 toolset
=$scramblebitmaptools
1776 t_manufacturer
="as3525"
1777 t_model
="sansa-m200v4"
1784 target
="-DSANSA_FUZE"
1787 bmp2rb_mono
="$rootdir/tools/bmp2rb -f 0"
1788 bmp2rb_native
="$rootdir/tools/bmp2rb -f 4"
1789 tool
="$rootdir/tools/scramble -add=fuze"
1790 output
="rockbox.sansa"
1791 bootoutput
="bootloader-fuze.sansa"
1792 appextra
="recorder:gui"
1795 toolset
=$scramblebitmaptools
1797 t_manufacturer
="as3525"
1798 t_model
="sansa-fuze"
1805 target
="-DSANSA_C200V2"
1806 memory
=2 # as per OF diagnosis mode
1808 bmp2rb_mono
="$rootdir/tools/bmp2rb -f 0"
1809 bmp2rb_native
="$rootdir/tools/bmp2rb -f 4"
1810 tool
="$rootdir/tools/scramble -add=c2v2"
1811 output
="rockbox.sansa"
1812 bootoutput
="bootloader-c200v2.sansa"
1813 appextra
="recorder:gui"
1816 # toolset is the tools within the tools directory that we build for
1817 # this particular target.
1818 toolset
=$scramblebitmaptools
1819 # architecture, manufacturer and model for the target-tree build
1821 t_manufacturer
="as3525"
1822 t_model
="sansa-c200v2"
1828 target
="-DELIO_TPJ1022"
1831 tool
="$rootdir/tools/scramble -add tpj2"
1832 bmp2rb_mono
="$rootdir/tools/bmp2rb -f 0"
1833 bmp2rb_native
="$rootdir/tools/bmp2rb -f 5"
1834 output
="rockbox.elio"
1835 appextra
="recorder:gui"
1838 boottool
="$rootdir/tools/scramble -mi4v2"
1839 bootoutput
="pp5020.mi4"
1840 # toolset is the tools within the tools directory that we build for
1841 # this particular target.
1842 toolset
=$scramblebitmaptools
1843 # architecture, manufacturer and model for the target-tree build
1845 t_manufacturer
="tatung"
1852 target
="-DPHILIPS_SA9200"
1853 memory
=32 # supposedly
1855 tool
="$rootdir/tools/scramble -mi4v3 -model=9200 -type=RBOS"
1856 bmp2rb_mono
="$rootdir/tools/bmp2rb -f 0"
1857 bmp2rb_native
="$rootdir/tools/bmp2rb -f 4"
1858 output
="rockbox.mi4"
1859 appextra
="recorder:gui"
1862 boottool
="$rootdir/tools/scramble -mi4v3 -model=9200 -type=RBBL"
1863 bootoutput
="FWImage.ebn"
1864 # toolset is the tools within the tools directory that we build for
1865 # this particular target.
1866 toolset
=$scramblebitmaptools
1867 # architecture, manufacturer and model for the target-tree build
1869 t_manufacturer
="philips"
1876 target
="-DPHILIPS_HDD1630"
1877 memory
=32 # supposedly
1879 tool
="$rootdir/tools/scramble -mi4v3 -model=1630 -type=RBOS"
1880 bmp2rb_mono
="$rootdir/tools/bmp2rb -f 0"
1881 bmp2rb_native
="$rootdir/tools/bmp2rb -f 4"
1882 output
="rockbox.mi4"
1883 appextra
="recorder:gui"
1886 boottool
="$rootdir/tools/scramble -mi4v3 -model=1630 -type=RBBL"
1887 bootoutput
="FWImage.ebn"
1888 # toolset is the tools within the tools directory that we build for
1889 # this particular target.
1890 toolset
=$scramblebitmaptools
1891 # architecture, manufacturer and model for the target-tree build
1893 t_manufacturer
="philips"
1899 modelname
="meizum6sl"
1900 target
="-DMEIZU_M6SL"
1904 bmp2rb_mono
="$rootdir/tools/bmp2rb -f 0"
1905 bmp2rb_native
="$rootdir/tools/bmp2rb -f 4"
1906 output
="rockbox.meizu"
1907 appextra
="recorder:gui"
1910 toolset
=$genericbitmaptools
1912 bootoutput
="rockboot.ebn"
1913 # architecture, manufacturer and model for the target-tree build
1915 t_manufacturer
="s5l8700"
1916 t_model
="meizu-m6sl"
1921 modelname
="meizum6sp"
1922 target
="-DMEIZU_M6SP"
1926 bmp2rb_mono
="$rootdir/tools/bmp2rb -f 0"
1927 bmp2rb_native
="$rootdir/tools/bmp2rb -f 4"
1928 output
="rockbox.meizu"
1929 appextra
="recorder:gui"
1932 toolset
=$genericbitmaptools
1934 bootoutput
="rockboot.ebn"
1935 # architecture, manufacturer and model for the target-tree build
1937 t_manufacturer
="s5l8700"
1938 t_model
="meizu-m6sp"
1948 bmp2rb_mono
="$rootdir/tools/bmp2rb -f 0"
1949 bmp2rb_native
="$rootdir/tools/bmp2rb -f 4"
1950 output
="rockbox.meizu"
1951 appextra
="recorder:gui"
1954 toolset
=$genericbitmaptools
1956 bootoutput
="rockboot.ebn"
1957 # architecture, manufacturer and model for the target-tree build
1959 t_manufacturer
="s5l8700"
1965 modelname
="ondavx747"
1966 target
="-DONDA_VX747"
1969 tool
="$rootdir/tools/scramble -add=x747"
1970 bmp2rb_mono
="$rootdir/tools/bmp2rb -f 0"
1971 bmp2rb_native
="$rootdir/tools/bmp2rb -f 4"
1972 output
="rockbox.vx747"
1973 appextra
="recorder:gui"
1976 toolset
=$genericbitmaptools
1978 bootoutput
="rockboot.vx747"
1979 # architecture, manufacturer and model for the target-tree build
1981 t_manufacturer
="ingenic_jz47xx"
1982 t_model
="onda_vx747"
1987 modelname
="ondavx767"
1988 target
="-DONDA_VX767"
1992 bmp2rb_mono
="$rootdir/tools/bmp2rb -f 0"
1993 bmp2rb_native
="$rootdir/tools/bmp2rb -f 4"
1994 output
="rockbox.vx767"
1995 appextra
="recorder:gui"
1998 toolset
=$genericbitmaptools
2000 bootoutput
="rockboot.vx767"
2001 # architecture, manufacturer and model for the target-tree build
2003 t_manufacturer
="ingenic_jz47xx"
2004 t_model
="onda_vx767"
2009 modelname
="ondavx747p"
2010 target
="-DONDA_VX747P"
2014 bmp2rb_mono
="$rootdir/tools/bmp2rb -f 0"
2015 bmp2rb_native
="$rootdir/tools/bmp2rb -f 4"
2016 output
="rockbox.vx747p"
2017 appextra
="recorder:gui"
2020 toolset
=$genericbitmaptools
2022 bootoutput
="rockboot.vx747p"
2023 # architecture, manufacturer and model for the target-tree build
2025 t_manufacturer
="ingenic_jz47xx"
2026 t_model
="onda_vx747"
2031 modelname
="lyre_proto1"
2032 target
="-DLYRE_PROTO1"
2036 bmp2rb_mono
="$rootdir/tools/bmp2rb -f 0"
2037 bmp2rb_native
="$rootdir/tools/bmp2rb -f 4"
2038 output
="rockbox.lyre"
2039 appextra
="recorder:gui"
2042 toolset
=$scramblebitmaptools
2044 bootoutput
="bootloader-proto1.lyre"
2045 # architecture, manufacturer and model for the target-tree build
2047 t_manufacturer
="at91sam"
2048 t_model
="lyre_proto1"
2052 echo "Please select a supported target platform!"
2058 echo "Platform set to $modelname"
2062 ############################################################################
2063 # Amount of memory, for those that can differ. They have $memory unset at
2067 if [ -z "$memory" ]; then
2070 echo "Enter size of your RAM (in MB): (Defaults to 32)"
2071 if [ "1" != `parse_args --ram` ]; then
2072 size
=`parse_args --ram`;
2086 echo "Enter size of your RAM (in MB): (Defaults to 2)"
2087 if [ "1" != `parse_args --ram` ]; then
2088 size
=`parse_args --ram`;
2102 echo "Memory size selected: $memory MB"
2107 ##################################################################
2108 # Figure out build "type"
2111 # the ifp7x0 is the only platform that supports building a gdb stub like
2115 gdbstub
="(G)DB stub, "
2118 gdbstub
="(I)installer, "
2121 gdbstub
="(E)raser, "
2126 if [ "1" != `parse_args --type` ]; then
2127 btype
=`parse_args --type`;
2129 echo "Build (N)ormal, (A)dvanced, (S)imulator, (B)ootloader, $gdbstub(M)anual: (Defaults to N)"
2135 appsdir
='\$(ROOTDIR)/bootloader'
2137 extradefines
="-DBOOTLOADER -DE200R_INSTALLER -ffunction-sections -fdata-sections"
2139 echo "e200R-installer build selected"
2142 appsdir
='\$(ROOTDIR)/bootloader'
2144 echo "C2(4)0 or C2(5)0"
2148 extradefines
="-DBOOTLOADER -DC200_ERASE -DC240_ERASE -ffunction-sections -fdata-sections"
2149 echo "c240 eraser build selected"
2152 extradefines
="-DBOOTLOADER -DC200_ERASE -DC250_ERASE -ffunction-sections -fdata-sections"
2153 echo "c240 eraser build selected"
2157 echo "c200 eraser build selected"
2160 if test $t_manufacturer = "archos"; then
2161 # Archos SH-based players do this somewhat differently for
2163 appsdir
='\$(ROOTDIR)/flash/bootbox'
2166 appsdir
='\$(ROOTDIR)/bootloader'
2169 if test -n "$boottool"; then
2172 if test -n "$bootoutput"; then
2176 extradefines
="-DBOOTLOADER -ffunction-sections -fdata-sections"
2178 echo "Bootloader build selected"
2183 extradefines
="-DSIMULATOR"
2186 echo "Simulator build selected"
2189 echo "Advanced build selected"
2193 extradefines
="-DSTUB" # for target makefile symbol EXTRA_DEFINES
2194 appsdir
='\$(ROOTDIR)/gdb'
2203 echo "GDB stub build selected"
2208 echo "Manual build selected"
2211 if [ "$modelname" = "e200r" ]; then
2212 echo "Do not use the e200R target for regular builds. Use e200 instead."
2216 btype
="N" # set it explicitly since RET only gets here as well
2217 echo "Normal build selected"
2221 # to be able running "make manual" from non-manual configuration
2224 manualdev
="recorderv2fm"
2227 manualdev
="recorderv2fm"
2233 manualdev
="ipodmini"
2236 manualdev
=$modelname
2240 if [ -z "$debug" ]; then
2241 GCCOPTS
="$GCCOPTS $GCCOPTIMIZE"
2244 echo "Using source code root directory: $rootdir"
2246 # this was once possible to change at build-time, but no more:
2251 if [ "yes" = "$simulator" ]; then
2252 # setup compiler and things for simulator
2255 if [ -d "simdisk" ]; then
2256 echo "Subdirectory 'simdisk' already present"
2259 echo "Created a 'simdisk' subdirectory for simulating the hard disk"
2263 # Now, figure out version number of the (gcc) compiler we are about to use
2264 gccver
=`$CC -dumpversion`;
2266 # figure out the binutil version too and display it, mostly for the build
2267 # system etc to be able to see it easier
2268 if [ $uname = "Darwin" ]; then
2269 ldver
=`$LD -v 2>&1 | sed -e 's/[^0-9.-]//g'`
2271 ldver
=`$LD --version | head -n 1 | sed -e 's/[^0-9.]//g'`
2274 if [ -z "$gccver" ]; then
2275 echo "WARNING: The compiler you must use ($CC) is not in your path!"
2276 echo "WARNING: this may cause your build to fail since we cannot do the"
2277 echo "WARNING: checks we want now."
2280 # gccver should now be "3.3.5", "3.4.3", "2.95.3-6" and similar, but don't
2283 num1
=`echo $gccver | cut -d . -f1`
2284 num2
=`echo $gccver | cut -d . -f2`
2285 gccnum
=`(expr $num1 "*" 100 + $num2) 2>/dev/null`
2292 echo "Using $CC $gccver ($gccnum)"
2294 if test "$gccnum" -ge "400"; then
2295 # gcc 4.0 is just *so* much pickier on arguments that differ in signedness
2296 # so we ignore that warnings for now
2298 GCCOPTS
="$GCCOPTS -Wno-pointer-sign"
2301 if test "$gccnum" -ge "401"; then
2302 # this is a lame hack to avoid "warning: dereferencing type-punned pointer
2303 # will break strict-aliasing rules"
2305 GCCOPTS
="$GCCOPTS -fno-strict-aliasing"
2308 if test "$gccnum" -ge "402"; then
2309 # disable warning about "warning: initialized field overwritten" as gcc 4.2
2310 # and later would throw it for several valid cases
2311 GCCOPTS
="$GCCOPTS -Wno-override-init"
2319 # cross-compile for win32
2322 # Verify that the cross-compiler is of a recommended version!
2323 if test "$gccver" != "$gccchoice"; then
2324 echo "WARNING: Your cross-compiler $CC $gccver is not of the recommended"
2325 echo "WARNING: version $gccchoice!"
2326 echo "WARNING: This may cause your build to fail since it may be a version"
2327 echo "WARNING: that isn't functional or known to not be the best choice."
2328 echo "WARNING: If you suffer from build problems, you know that this is"
2329 echo "WARNING: a likely source for them..."
2337 echo "Using $LD $ldver"
2339 # check the compiler for SH platforms
2340 if test "$CC" = "sh-elf-gcc"; then
2341 if test "$gccnum" -lt "400"; then
2342 echo "WARNING: Consider upgrading your compiler to the 4.0.X series!"
2343 echo "WARNING: http://www.rockbox.org/twiki/bin/view/Main/CrossCompiler"
2345 # figure out patch status
2346 gccpatch
=`$CC --version`;
2348 if { echo $gccpatch |
grep "rockbox" >/dev
/null
2>&1; } then
2349 echo "gcc $gccver is rockbox patched"
2350 # then convert -O to -Os to get smaller binaries!
2351 GCCOPTS
=`echo $GCCOPTS | sed 's/ -O / -Os /'`
2353 echo "WARNING: You use an unpatched gcc compiler: $gccver"
2354 echo "WARNING: http://www.rockbox.org/twiki/bin/view/Main/CrossCompiler"
2359 if test "$CC" = "m68k-elf-gcc"; then
2360 # convert -O to -Os to get smaller binaries!
2361 GCCOPTS
=`echo $GCCOPTS | sed 's/ -O / -Os /'`
2364 if [ "1" != `parse_args --ccache` ]; then
2365 echo "Enable ccache for building"
2368 if [ "1" = `parse_args --no-ccache` ]; then
2369 ccache
=`findtool ccache`
2370 if test -n "$ccache"; then
2371 echo "Found and uses ccache ($ccache)"
2376 # figure out the full path to the various commands if possible
2377 HOSTCC
=`findtool gcc --lit`
2378 HOSTAR
=`findtool ar --lit`
2379 CC
=`findtool ${CC} --lit`
2380 LD
=`findtool ${AR} --lit`
2381 AR
=`findtool ${AR} --lit`
2382 AS
=`findtool ${AS} --lit`
2383 OC
=`findtool ${OC} --lit`
2384 WINDRES
=`findtool ${WINDRES} --lit`
2385 DLLTOOL
=`findtool ${DLLTOOL} --lit`
2386 DLLWRAP
=`findtool ${DLLWRAP} --lit`
2387 RANLIB
=`findtool ${RANLIB} --lit`
2389 if test -n "$ccache"; then
2393 if test "X$endian" = "Xbig"; then
2394 defendian
="ROCKBOX_BIG_ENDIAN"
2396 defendian
="ROCKBOX_LITTLE_ENDIAN"
2399 if [ "1" != `parse_args --rbdir` ]; then
2400 rbdir
=`parse_args --rbdir`;
2401 echo "Using alternate rockbox dir: ${rbdir}"
2405 -e "s,@ENDIAN@,${defendian},g" \
2406 -e "s,^#undef ROCKBOX_HAS_LOGF,$use_logf,g" \
2407 -e "s,@config_rtc@,$config_rtc,g" \
2408 -e "s,@have_rtc_alarm@,$have_rtc_alarm,g" \
2409 -e "s,@RBDIR@,${rbdir},g" \
2411 /* This header was made by configure */
2412 #ifndef __BUILD_AUTOCONF_H
2413 #define __BUILD_AUTOCONF_H
2415 /* Define endianess for the target or simulator platform */
2418 /* Define this if you build rockbox to support the logf logging and display */
2419 #undef ROCKBOX_HAS_LOGF
2421 /* optional defines for RTC mod for h1x0 */
2425 /* root of Rockbox */
2426 #define ROCKBOX_DIR "/@RBDIR@"
2428 #endif /* __BUILD_AUTOCONF_H */
2431 if test -n "$t_cpu"; then
2432 TARGET_INC
="-I\$(FIRMDIR)/target/$t_cpu/$t_manufacturer/$t_model"
2433 TARGET_INC
="$TARGET_INC -I\$(FIRMDIR)/target/$t_cpu/$t_manufacturer"
2434 TARGET_INC
="$TARGET_INC -I\$(FIRMDIR)/target/$t_cpu"
2438 if test "$simulator" = "yes"; then
2439 # add simul make stuff on the #SIMUL# line
2440 simmagic1
="s,@SIMUL1@,\$(SILENT)\$(MAKE) -C \$(SIMDIR) OBJDIR=\$(BUILDDIR)/sim,"
2441 simmagic2
="s,@SIMUL2@,\$(SILENT)\$(MAKE) -C \$(ROOTDIR)/uisimulator/common OBJDIR=\$(BUILDDIR)/comsim,"
2443 # delete the lines that match
2444 simmagic1
='/@SIMUL1@/D'
2445 simmagic2
='/@SIMUL2@/D'
2448 if test "$swcodec" = "yes"; then
2449 voicetoolset
="rbspeexenc voicefont wavtrim"
2451 voicetoolset
="voicefont wavtrim"
2454 if test "$apps" = "apps"; then
2455 # only when we build "real" apps we build the .lng files
2459 #### Fix the cmdline ###
2460 if test -n "$ccache"; then
2464 cmdline
="$cmdline --target=\$(MODELNAME) --ram=\$(MEMORYSIZE) --rbdir=\$(RBDIR) --type=$btype"
2470 -e "s,@ROOTDIR@,${rootdir},g" \
2471 -e "s,@DEBUG@,${debug},g" \
2472 -e "s,@MEMORY@,${memory},g" \
2473 -e "s,@TARGET_ID@,${target_id},g" \
2474 -e "s,@TARGET@,${target},g" \
2475 -e "s,@CPU@,${t_cpu},g" \
2476 -e "s,@MANUFACTURER@,${t_manufacturer},g" \
2477 -e "s,@MODELNAME@,${modelname},g" \
2478 -e "s,@LANGUAGE@,${language},g" \
2479 -e "s:@VOICELANGUAGE@:${voicelanguage}:g" \
2480 -e "s,@PWD@,${pwd},g" \
2481 -e "s,@HOSTCC@,${HOSTCC},g" \
2482 -e "s,@HOSTAR@,${HOSTAR},g" \
2483 -e "s,@CC@,${CC},g" \
2484 -e "s,@LD@,${LD},g" \
2485 -e "s,@AR@,${AR},g" \
2486 -e "s,@AS@,${AS},g" \
2487 -e "s,@OC@,${OC},g" \
2488 -e "s,@WINDRES@,${WINDRES},g" \
2489 -e "s,@DLLTOOL@,${DLLTOOL},g" \
2490 -e "s,@DLLWRAP@,${DLLWRAP},g" \
2491 -e "s,@RANLIB@,${RANLIB},g" \
2492 -e "s,@TOOL@,${tool},g" \
2493 -e "s,@BMP2RB_NATIVE@,${bmp2rb_native},g" \
2494 -e "s,@BMP2RB_MONO@,${bmp2rb_mono},g" \
2495 -e "s,@BMP2RB_REMOTENATIVE@,${bmp2rb_remotenative},g" \
2496 -e "s,@BMP2RB_REMOTEMONO@,${bmp2rb_remotemono},g" \
2497 -e "s,@OUTPUT@,${output},g" \
2498 -e "s,@APPEXTRA@,${appextra},g" \
2499 -e "s,@ARCHOSROM@,${archosrom},g" \
2500 -e "s,@FLASHFILE@,${flash},g" \
2501 -e "s,@PLUGINS@,${plugins},g" \
2502 -e "s,@CODECS@,${swcodec},g" \
2503 -e "s,@PROFILE_OPTS@,${PROFILE_OPTS},g" \
2504 -e "s,@SHARED_FLAG@,${SHARED_FLAG},g" \
2505 -e "s,@GCCOPTS@,${GCCOPTS},g" \
2506 -e "s,@TARGET_INC@,${TARGET_INC},g" \
2507 -e "s!@LDOPTS@!${LDOPTS}!g" \
2508 -e "s,@LOADADDRESS@,${loadaddress},g" \
2509 -e "s,@EXTRADEF@,${extradefines},g" \
2510 -e "s,@APPSDIR@,${appsdir},g" \
2511 -e "s,@FIRMDIR@,${firmdir},g" \
2512 -e "s,@TOOLSDIR@,${toolsdir},g" \
2513 -e "s,@APPS@,${apps},g" \
2514 -e "s,@SIMVER@,${simver},g" \
2515 -e "s,@GCCVER@,${gccver},g" \
2516 -e "s,@GCCNUM@,${gccnum},g" \
2517 -e "s,@UNAME@,${uname},g" \
2518 -e "s,@ENDIAN@,${defendian},g" \
2519 -e "s,@TOOLSET@,${toolset},g" \
2522 -e "s,@MANUALDEV@,${manualdev},g" \
2523 -e "s,@ENCODER@,${ENC_CMD},g" \
2524 -e "s,@ENC_OPTS@,${ENC_OPTS},g" \
2525 -e "s,@TTS_ENGINE@,${TTS_ENGINE},g" \
2526 -e "s,@TTS_OPTS@,${TTS_OPTS},g" \
2527 -e "s,@VOICETOOLSET@,${voicetoolset},g" \
2528 -e "s,@LANGS@,${buildlangs},g" \
2529 -e "s,@USE_ELF@,${USE_ELF},g" \
2530 -e "s,@RBDIR@,${rbdir},g" \
2531 -e "s,@PREFIX@,$PREFIX,g" \
2532 -e "s,@CMDLINE@,$cmdline,g" \
2534 ## Automatically generated. http://www.rockbox.org/
2536 export ROOTDIR=@ROOTDIR@
2537 export FIRMDIR=@FIRMDIR@
2538 export APPSDIR=@APPSDIR@
2539 export TOOLSDIR=@TOOLSDIR@
2540 export DOCSDIR=\$(ROOTDIR)/docs
2541 export MANUALDIR=\${ROOTDIR}/manual
2542 export DEBUG=@DEBUG@
2543 export MODELNAME=@MODELNAME@
2544 export ARCHOSROM=@ARCHOSROM@
2545 export FLASHFILE=@FLASHFILE@
2546 export TARGET_ID=@TARGET_ID@
2547 export TARGET=@TARGET@
2549 export MANUFACTURER=@MANUFACTURER@
2551 export BUILDDIR=@PWD@
2552 export LANGUAGE=@LANGUAGE@
2553 export VOICELANGUAGE=@VOICELANGUAGE@
2554 export MEMORYSIZE=@MEMORY@
2555 export VERSION:=\$(shell \$(ROOTDIR)/tools/version.sh \$(ROOTDIR))
2556 export BUILDDATE:=\$(shell date -u +'-DYEAR=%Y -DMONTH=%m -DDAY=%d')
2557 export MKFIRMWARE=@TOOL@
2558 export BMP2RB_MONO=@BMP2RB_MONO@
2559 export BMP2RB_NATIVE=@BMP2RB_NATIVE@
2560 export BMP2RB_REMOTEMONO=@BMP2RB_REMOTEMONO@
2561 export BMP2RB_REMOTENATIVE=@BMP2RB_REMOTENATIVE@
2562 export BINARY=@OUTPUT@
2563 export APPEXTRA=@APPEXTRA@
2564 export ENABLEDPLUGINS=@PLUGINS@
2565 export SOFTWARECODECS=@CODECS@
2566 export EXTRA_DEFINES=@EXTRADEF@
2567 export HOSTCC=@HOSTCC@
2568 export HOSTAR=@HOSTAR@
2574 export WINDRES=@WINDRES@
2575 export DLLTOOL=@DLLTOOL@
2576 export DLLWRAP=@DLLWRAP@
2577 export RANLIB=@RANLIB@
2578 export PREFIX=@PREFIX@
2579 export PROFILE_OPTS=@PROFILE_OPTS@
2580 export SIMVER=@SIMVER@
2581 export SIMDIR=\$(ROOTDIR)/uisimulator/sdl
2582 export GCCOPTS=@GCCOPTS@
2583 export TARGET_INC=@TARGET_INC@
2584 export LOADADDRESS=@LOADADDRESS@
2585 export SHARED_FLAG=@SHARED_FLAG@
2586 export LDOPTS=@LDOPTS@
2587 export GCCVER=@GCCVER@
2588 export GCCNUM=@GCCNUM@
2589 export UNAME=@UNAME@
2590 export MANUALDEV=@MANUALDEV@
2591 export TTS_OPTS=@TTS_OPTS@
2592 export TTS_ENGINE=@TTS_ENGINE@
2593 export ENC_OPTS=@ENC_OPTS@
2594 export ENCODER=@ENCODER@
2595 export USE_ELF=@USE_ELF@
2596 export RBDIR=@RBDIR@
2598 CONFIGURE_OPTIONS=@CMDLINE@
2600 include \$(TOOLSDIR)/root.make
2604 echo "Created Makefile"