2006-11-06 11:48:00 +00:00
|
|
|
#!/bin/sh
|
2002-05-23 09:11:35 +00:00
|
|
|
# __________ __ ___.
|
|
|
|
# Open \______ \ ____ ____ | | _\_ |__ _______ ___
|
|
|
|
# Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
|
|
|
|
# Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
|
|
|
|
# Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
|
|
|
|
# \/ \/ \/ \/ \/
|
|
|
|
#
|
|
|
|
|
2004-10-04 13:02:41 +00:00
|
|
|
# global CC options for all platforms
|
2020-10-28 01:27:24 +00:00
|
|
|
CCOPTS="-W -Wall -Wextra -Wundef -Os -nostdlib -ffreestanding -Wstrict-prototypes -pipe -std=gnu99 -funit-at-a-time -fno-delete-null-pointer-checks"
|
2010-07-03 20:58:22 +00:00
|
|
|
|
2012-03-29 06:15:20 +00:00
|
|
|
# LD options for the core
|
|
|
|
LDOPTS=""
|
|
|
|
# LD options for the core + plugins
|
2010-07-04 15:02:11 +00:00
|
|
|
GLOBAL_LDOPTS=""
|
2002-09-02 11:50:52 +00:00
|
|
|
|
2010-08-02 20:34:47 +00:00
|
|
|
extradefines=""
|
2005-05-30 13:00:43 +00:00
|
|
|
use_logf="#undef ROCKBOX_HAS_LOGF"
|
2010-04-01 16:27:21 +00:00
|
|
|
use_bootchart="#undef DO_BOOTCHART"
|
2011-09-09 10:28:36 +00:00
|
|
|
use_logf_serial="#undef LOGF_SERIAL"
|
2005-05-30 13:00:43 +00:00
|
|
|
|
2005-07-08 10:19:02 +00:00
|
|
|
scriptver=`echo '$Revision$' | sed -e 's:\\$::g' -e 's/Revision: //'`
|
|
|
|
|
2010-08-01 16:15:27 +00:00
|
|
|
rbdir="/.rockbox"
|
|
|
|
bindir=
|
|
|
|
libdir=
|
2010-12-06 22:28:14 +00:00
|
|
|
sharedir=
|
2010-08-02 20:34:47 +00:00
|
|
|
|
2011-02-18 22:46:01 +00:00
|
|
|
thread_support="ASSEMBLER_THREADS"
|
2020-08-31 17:31:00 +00:00
|
|
|
sysfont="08-Schumacher-Clean"
|
2010-08-02 20:34:47 +00:00
|
|
|
app_lcd_width=
|
|
|
|
app_lcd_height=
|
2011-06-04 10:36:34 +00:00
|
|
|
app_lcd_orientation=
|
2012-01-08 13:59:15 +00:00
|
|
|
|
|
|
|
# Properly retain command line arguments containing spaces
|
|
|
|
cmdline=
|
|
|
|
for arg in "$@"; do
|
|
|
|
case "$arg" in
|
|
|
|
*\ *) cmdline="$cmdline \"$arg\"";;
|
|
|
|
*) cmdline="$cmdline $arg";;
|
|
|
|
esac
|
|
|
|
done
|
|
|
|
|
2002-10-17 09:08:05 +00:00
|
|
|
#
|
|
|
|
# Begin Function Definitions
|
|
|
|
#
|
2002-05-23 09:11:35 +00:00
|
|
|
input() {
|
|
|
|
read response
|
|
|
|
echo $response
|
|
|
|
}
|
|
|
|
|
2005-02-18 13:47:17 +00:00
|
|
|
prefixtools () {
|
|
|
|
prefix="$1"
|
2016-02-02 22:54:48 +00:00
|
|
|
if [ -n "$ARG_COMPILER_PREFIX" ]; then
|
|
|
|
echo "WARNING: asked to override target toolchain $1 with $ARG_COMPILER_PREFIX"
|
|
|
|
echo "WARNING: overriding the toolchain means you are running an untested configuration"
|
|
|
|
echo "WARNING: you build might be broken because of that"
|
|
|
|
prefix="$ARG_COMPILER_PREFIX"
|
|
|
|
fi
|
2005-02-18 13:47:17 +00:00
|
|
|
CC=${prefix}gcc
|
2012-01-07 18:49:02 +00:00
|
|
|
CPP=${prefix}cpp
|
2005-02-18 13:47:17 +00:00
|
|
|
WINDRES=${prefix}windres
|
|
|
|
DLLTOOL=${prefix}dlltool
|
|
|
|
DLLWRAP=${prefix}dllwrap
|
2021-07-08 22:53:27 +00:00
|
|
|
RANLIB=${prefix}gcc-ranlib
|
2005-02-18 13:47:17 +00:00
|
|
|
LD=${prefix}ld
|
2021-07-08 22:53:27 +00:00
|
|
|
AR=${prefix}gcc-ar
|
2005-02-18 13:47:17 +00:00
|
|
|
AS=${prefix}as
|
|
|
|
OC=${prefix}objcopy
|
|
|
|
}
|
|
|
|
|
2011-02-11 19:51:29 +00:00
|
|
|
app_set_paths () {
|
|
|
|
# setup files and paths depending on the platform
|
|
|
|
if [ -z "$ARG_PREFIX" ]; then
|
|
|
|
sharedir="/usr/local/share/rockbox"
|
|
|
|
bindir="/usr/local/bin"
|
|
|
|
libdir="/usr/local/lib"
|
2010-09-24 12:03:15 +00:00
|
|
|
else
|
2011-02-11 19:51:29 +00:00
|
|
|
if [ -d "$ARG_PREFIX" ]; then
|
|
|
|
if [ -z `echo $ARG_PREFIX | grep "^/"` ]; then
|
|
|
|
ARG_PREFIX=`realpath $ARG_PREFIX`
|
|
|
|
if [ "0" != "$?" ]; then
|
|
|
|
echo "ERROR: Could not get prefix path (is realpath installed?)."
|
|
|
|
exit
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|
sharedir="$ARG_PREFIX/share/rockbox"
|
|
|
|
bindir="$ARG_PREFIX/bin"
|
|
|
|
libdir="$ARG_PREFIX/lib"
|
|
|
|
else
|
2011-02-22 20:15:26 +00:00
|
|
|
echo "ERROR: PREFIX directory $ARG_PREFIX does not exist"
|
2011-02-11 19:51:29 +00:00
|
|
|
exit
|
|
|
|
fi
|
2010-09-24 12:03:15 +00:00
|
|
|
fi
|
2011-02-11 19:51:29 +00:00
|
|
|
}
|
2010-09-24 12:03:15 +00:00
|
|
|
|
2011-02-11 19:51:29 +00:00
|
|
|
# Set the application LCD size according to the following priorities:
|
|
|
|
# 1) If --lcdwidth and --lcdheight are set, use them
|
|
|
|
# 2) If a size is passed to the app_set_lcd_size() function, use that
|
|
|
|
# 3) Otherwise ask the user
|
|
|
|
app_set_lcd_size () {
|
|
|
|
if [ -z "$ARG_LCDWIDTH" ]; then
|
|
|
|
ARG_LCDWIDTH=$1
|
|
|
|
fi
|
|
|
|
if [ -z "$ARG_LCDHEIGHT" ]; then
|
|
|
|
ARG_LCDHEIGHT=$2
|
|
|
|
fi
|
2010-08-02 20:34:47 +00:00
|
|
|
|
2010-08-03 17:44:41 +00:00
|
|
|
echo "Enter the LCD width (default: 320)"
|
2010-09-24 12:03:15 +00:00
|
|
|
if [ -z "$ARG_LCDWIDTH" ]; then
|
|
|
|
app_lcd_width=`input`
|
|
|
|
else
|
2010-10-14 13:10:12 +00:00
|
|
|
app_lcd_width="$ARG_LCDWIDTH"
|
2010-09-24 12:03:15 +00:00
|
|
|
fi
|
2010-08-02 20:34:47 +00:00
|
|
|
if [ -z "$app_lcd_width" ]; then app_lcd_width="320"; fi
|
2010-08-03 17:44:41 +00:00
|
|
|
echo "Enter the LCD height (default: 480)"
|
2010-09-24 12:03:15 +00:00
|
|
|
if [ -z "$ARG_LCDHEIGHT" ]; then
|
|
|
|
app_lcd_height=`input`
|
|
|
|
else
|
|
|
|
app_lcd_height="$ARG_LCDHEIGHT"
|
|
|
|
fi
|
2010-08-02 20:34:47 +00:00
|
|
|
if [ -z "$app_lcd_height" ]; then app_lcd_height="480"; fi
|
2011-06-04 10:36:34 +00:00
|
|
|
if [ $app_lcd_width -gt $app_lcd_height ]; then
|
|
|
|
lcd_orientation="landscape"
|
|
|
|
else
|
|
|
|
lcd_orientation="portrait"
|
|
|
|
fi
|
|
|
|
echo "Selected $app_lcd_width x $app_lcd_height resolution ($lcd_orientation)"
|
2010-10-14 13:10:12 +00:00
|
|
|
ARG_LCDWIDTH=$app_lcd_width
|
|
|
|
ARG_LCDHEIGHT=$app_lcd_height
|
2010-08-02 20:34:47 +00:00
|
|
|
|
|
|
|
app_lcd_width="#define LCD_WIDTH $app_lcd_width"
|
|
|
|
app_lcd_height="#define LCD_HEIGHT $app_lcd_height"
|
|
|
|
}
|
|
|
|
|
2009-11-19 22:47:14 +00:00
|
|
|
findarmgcc() {
|
2012-04-14 23:17:06 +00:00
|
|
|
prefixtools arm-elf-eabi-
|
2020-03-27 19:31:30 +00:00
|
|
|
gccchoice="4.9.4"
|
2009-11-19 22:47:14 +00:00
|
|
|
}
|
|
|
|
|
2006-01-09 12:41:07 +00:00
|
|
|
# scan the $PATH for the given command
|
|
|
|
findtool(){
|
|
|
|
file="$1"
|
|
|
|
|
|
|
|
IFS=":"
|
|
|
|
for path in $PATH
|
|
|
|
do
|
|
|
|
# echo "checks for $file in $path" >&2
|
|
|
|
if test -f "$path/$file"; then
|
|
|
|
echo "$path/$file"
|
|
|
|
return
|
|
|
|
fi
|
|
|
|
done
|
2008-10-06 23:04:31 +00:00
|
|
|
# check whether caller wants literal return value if not found
|
|
|
|
if [ "$2" = "--lit" ]; then
|
|
|
|
echo "$file"
|
|
|
|
fi
|
2006-01-09 12:41:07 +00:00
|
|
|
}
|
|
|
|
|
2010-04-05 15:47:12 +00:00
|
|
|
# scan the $PATH for sdl-config - check whether for a (cross-)win32
|
|
|
|
# sdl as requested
|
2009-10-12 18:49:29 +00:00
|
|
|
findsdl(){
|
2017-01-15 11:53:13 +00:00
|
|
|
files=sdl-config
|
|
|
|
if [ -n "$CROSS_COMPILE" ]; then
|
|
|
|
# sdl-config might (not) be prefixed for cross compiles so try both.
|
|
|
|
files="${CROSS_COMPILE}sdl-config:${files}"
|
|
|
|
fi
|
2010-04-05 15:47:12 +00:00
|
|
|
winbuild="$1"
|
2009-10-12 18:49:29 +00:00
|
|
|
|
2017-01-15 11:53:13 +00:00
|
|
|
paths2check="$PATH"
|
|
|
|
|
|
|
|
if [ -n "$CROSS_COMPILE" ]; then
|
|
|
|
# add cross compile sys-root-directories to search in:
|
|
|
|
sysroot=$($CPP --print-sysroot 2>&1)
|
|
|
|
if [ $? -eq 0 ];
|
|
|
|
then
|
|
|
|
subdirs="bin:mingw/bin:sbin:mingw/sbin"
|
|
|
|
IFS=":"
|
|
|
|
for subdir in $subdirs
|
|
|
|
do
|
|
|
|
if [ -e "${sysroot}/${subdir}" ]; then
|
|
|
|
paths2check="${sysroot}/${subdir}:${paths2check}"
|
|
|
|
fi
|
|
|
|
done
|
|
|
|
else
|
|
|
|
echo "WARNING: unable to get sys-root directory from your cross-compiler" >&2
|
|
|
|
echo "WARNING: $CPP --print-sysroot returns" >&2
|
|
|
|
echo "WARNING: ${sysroot}" >&2
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|
|
|
|
|
# search for the correct sdl-config
|
2009-10-12 18:49:29 +00:00
|
|
|
IFS=":"
|
2017-01-15 11:53:13 +00:00
|
|
|
for path in $paths2check
|
2009-10-12 18:49:29 +00:00
|
|
|
do
|
2017-01-15 11:53:13 +00:00
|
|
|
for file in $files
|
2011-09-08 17:48:18 +00:00
|
|
|
do
|
|
|
|
if test -f "$path/$file"; then
|
|
|
|
if [ "0" != `$path/$file --libs |grep -c mwindows` ]; then
|
|
|
|
if [ "yes" = "${winbuild}" ]; then
|
|
|
|
echo "$path/$file"
|
|
|
|
return
|
|
|
|
fi
|
|
|
|
else
|
|
|
|
if [ "yes" != "${winbuild}" ]; then
|
|
|
|
echo "$path/$file"
|
|
|
|
return
|
|
|
|
fi
|
2010-04-05 15:47:12 +00:00
|
|
|
fi
|
2009-10-12 18:49:29 +00:00
|
|
|
fi
|
2011-09-08 17:48:18 +00:00
|
|
|
done
|
2009-10-12 18:49:29 +00:00
|
|
|
done
|
|
|
|
}
|
|
|
|
|
2011-02-18 22:46:01 +00:00
|
|
|
# check for availability of sigaltstack to support our thread engine
|
|
|
|
check_sigaltstack() {
|
|
|
|
cat >$tmpdir/check_threads.c <<EOF
|
|
|
|
#include <signal.h>
|
|
|
|
int main(int argc, char **argv)
|
|
|
|
{
|
2011-02-18 23:17:07 +00:00
|
|
|
#ifndef NULL
|
2011-02-18 22:46:01 +00:00
|
|
|
#define NULL (void*)0
|
2011-02-18 23:17:07 +00:00
|
|
|
#endif
|
2011-02-18 22:46:01 +00:00
|
|
|
sigaltstack(NULL, NULL);
|
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
EOF
|
|
|
|
$CC -o $tmpdir/check_threads $tmpdir/check_threads.c 1> /dev/null
|
|
|
|
result=$?
|
|
|
|
rm -rf $tmpdir/check_threads*
|
|
|
|
echo $result
|
|
|
|
}
|
|
|
|
|
|
|
|
# check for availability of Fiber on Win32 to support our thread engine
|
|
|
|
check_fiber() {
|
|
|
|
cat >$tmpdir/check_threads.c <<EOF
|
|
|
|
#include <windows.h>
|
|
|
|
int main(int argc, char **argv)
|
|
|
|
{
|
|
|
|
ConvertThreadToFiber(NULL);
|
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
EOF
|
|
|
|
$CC -o $tmpdir/check_threads $tmpdir/check_threads.c 2>/dev/null
|
|
|
|
result=$?
|
|
|
|
rm -rf $tmpdir/check_threads*
|
|
|
|
echo $result
|
|
|
|
}
|
|
|
|
|
2005-02-18 13:47:17 +00:00
|
|
|
simcc () {
|
|
|
|
# default tool setup for native building
|
2010-06-05 17:09:04 +00:00
|
|
|
prefixtools "$CROSS_COMPILE"
|
2010-06-11 12:16:15 +00:00
|
|
|
ARG_ARM_THUMB=0 # can't use thumb in native builds
|
2005-02-18 13:47:17 +00:00
|
|
|
|
2012-03-28 21:24:02 +00:00
|
|
|
# unset arch if already set shcc() and friends
|
|
|
|
arch=
|
|
|
|
arch_version=
|
|
|
|
|
2010-07-10 13:49:49 +00:00
|
|
|
app_type=$1
|
2010-07-04 15:02:11 +00:00
|
|
|
winbuild=""
|
2012-01-03 22:33:47 +00:00
|
|
|
GCCOPTS=`echo $CCOPTS | sed -e s/-ffreestanding// -e s/-nostdlib// -e s/-Wundef//`
|
|
|
|
|
2010-12-02 21:20:30 +00:00
|
|
|
GCCOPTS="$GCCOPTS -fno-builtin -g"
|
2021-04-08 01:48:58 +00:00
|
|
|
|
|
|
|
if [ "$ARG_ADDR_SAN" = "1" ] ; then
|
|
|
|
# Use AddressSanitizer!
|
|
|
|
echo "Using AddressSanitizer"
|
|
|
|
GCCOPTS="$GCCOPTS -fsanitize=address -fPIC"
|
|
|
|
LDOPTS="$LDOPTS -fsanitize=address -lasan"
|
|
|
|
fi
|
|
|
|
|
2022-04-17 15:33:39 +00:00
|
|
|
if [ "$ARG_UBSAN" = "1" ] ; then
|
|
|
|
echo "Using UBSan"
|
|
|
|
GCCOPTS="$GCCOPTS -fsanitize=undefined -fPIC"
|
|
|
|
LDOPTS="$LDOPTS -fsanitize=undefined"
|
|
|
|
fi
|
|
|
|
|
2016-08-12 12:41:06 +00:00
|
|
|
# Some linux setups like to warn about unused results. They are correct,
|
|
|
|
# but cleaning this up is a lot of work.
|
|
|
|
GCCOPTS="$GCCOPTS -Wno-unused-result"
|
2009-10-07 14:31:16 +00:00
|
|
|
GCCOPTIMIZE=''
|
2012-03-30 20:52:09 +00:00
|
|
|
LDOPTS="$LDOPTS -lm" # button-sdl.c uses sqrt()
|
2011-02-18 22:46:01 +00:00
|
|
|
sigaltstack=""
|
|
|
|
fibers=""
|
2011-12-23 09:13:36 +00:00
|
|
|
endian="" # endianess of the dap doesnt matter here
|
2005-02-18 13:47:17 +00:00
|
|
|
|
2019-06-18 03:04:42 +00:00
|
|
|
# build a 32-bit simulator
|
|
|
|
if [ "$ARG_32BIT" = "1" ]; then
|
|
|
|
echo "Building 32-bit simulator"
|
|
|
|
GCCOPTS="$GCCOPTS -m32"
|
|
|
|
LDOPTS="$LDOPTS -m32"
|
|
|
|
fi
|
|
|
|
|
2010-08-02 20:34:47 +00:00
|
|
|
# default output binary name, don't override app_get_platform()
|
|
|
|
if [ "$app_type" != "sdl-app" ]; then
|
|
|
|
output="rockboxui"
|
|
|
|
fi
|
2006-01-09 12:41:07 +00:00
|
|
|
|
2007-04-20 11:27:03 +00:00
|
|
|
# default share option, override below if needed
|
2021-07-08 22:14:27 +00:00
|
|
|
SHARED_LDFLAGS="-shared"
|
2011-06-07 11:56:23 +00:00
|
|
|
SHARED_CFLAGS="-fPIC -fvisibility=hidden"
|
2007-04-20 11:27:03 +00:00
|
|
|
|
2010-07-04 15:02:11 +00:00
|
|
|
if [ "$win32crosscompile" = "yes" ]; then
|
2011-12-23 09:03:31 +00:00
|
|
|
# We are crosscompiling
|
|
|
|
# add cross-compiler option(s)
|
2017-01-15 11:53:13 +00:00
|
|
|
GCCOPTS="$GCCOPTS -Wno-format"
|
2016-05-13 22:55:33 +00:00
|
|
|
LDOPTS="$LDOPTS -mconsole -static"
|
2010-08-02 20:34:47 +00:00
|
|
|
output="$output.exe"
|
2010-07-04 15:02:11 +00:00
|
|
|
winbuild="yes"
|
2017-01-15 11:53:13 +00:00
|
|
|
|
|
|
|
if [ -z "$CROSS_COMPILE" ]; then
|
|
|
|
if [ "$win64" = "yes" ]; then
|
|
|
|
CROSS_COMPILE=${CROSS_COMPILE:-"x86_64-w64-mingw32-"}
|
|
|
|
else
|
|
|
|
# different possible names; try to find the correct one:
|
|
|
|
names="i686-w64-mingw32 i686-pc-mingw32 i586-mingw32msvc"
|
|
|
|
|
|
|
|
for name in $names
|
|
|
|
do
|
|
|
|
if which "${name}-gcc" >/dev/null 2>&1 ; then
|
|
|
|
CROSS_COMPILE="${name}-"
|
|
|
|
break
|
|
|
|
fi
|
|
|
|
done
|
|
|
|
|
|
|
|
if [ -z "$CROSS_COMPILE" ]; then
|
|
|
|
echo "WARNING: unable to find cross-compiler for 32-bit Windows environment!"
|
|
|
|
echo "WARNING: it's none of \"$names\"."
|
|
|
|
echo "WARNING: set your compiler prefix with CROSS_COMPILE=\"your-prefix-\" and"
|
|
|
|
echo "WARNING: re-run configure again!"
|
|
|
|
exit 2
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|
fi
|
2011-06-22 17:46:26 +00:00
|
|
|
SHARED_CFLAGS=''
|
2011-12-23 09:03:31 +00:00
|
|
|
prefixtools "$CROSS_COMPILE"
|
|
|
|
fibers=`check_fiber`
|
|
|
|
endian="little" # windows is little endian
|
|
|
|
echo "Enabling MMX support"
|
2014-01-17 10:14:47 +00:00
|
|
|
# -mno-ms-bitfields is a workaround for http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52991
|
|
|
|
# mingw-gcc >= 4.7 defaults to -mms-bitfields which breaks __attribute__((packed))
|
|
|
|
# disable it explicitly for the time being (it doesn't appear to be required for us)
|
|
|
|
GCCOPTS="$GCCOPTS -mmmx -mno-ms-bitfields"
|
2010-07-04 15:02:11 +00:00
|
|
|
else
|
2005-02-18 13:47:17 +00:00
|
|
|
case $uname in
|
|
|
|
CYGWIN*)
|
|
|
|
echo "Cygwin host detected"
|
2005-02-22 12:19:12 +00:00
|
|
|
|
2011-02-18 22:46:01 +00:00
|
|
|
fibers=`check_fiber`
|
2010-06-24 20:58:07 +00:00
|
|
|
LDOPTS="$LDOPTS -mconsole"
|
2010-08-02 20:34:47 +00:00
|
|
|
output="$output.exe"
|
2010-04-05 15:47:12 +00:00
|
|
|
winbuild="yes"
|
2011-06-22 17:46:26 +00:00
|
|
|
SHARED_CFLAGS=''
|
2005-02-18 13:47:17 +00:00
|
|
|
;;
|
|
|
|
|
2009-02-04 20:59:27 +00:00
|
|
|
MINGW*)
|
|
|
|
echo "MinGW host detected"
|
|
|
|
|
2011-02-18 22:46:01 +00:00
|
|
|
fibers=`check_fiber`
|
2010-06-24 20:58:07 +00:00
|
|
|
LDOPTS="$LDOPTS -mconsole"
|
2010-08-02 20:34:47 +00:00
|
|
|
output="$output.exe"
|
2010-04-05 15:47:12 +00:00
|
|
|
winbuild="yes"
|
2009-02-04 20:59:27 +00:00
|
|
|
;;
|
|
|
|
|
2005-02-18 13:47:17 +00:00
|
|
|
Linux)
|
2011-02-18 22:46:01 +00:00
|
|
|
sigaltstack=`check_sigaltstack`
|
2005-02-18 13:47:17 +00:00
|
|
|
echo "Linux host detected"
|
2010-06-24 20:58:07 +00:00
|
|
|
LDOPTS="$LDOPTS -ldl"
|
2018-12-10 07:36:33 +00:00
|
|
|
# newer glibc implementations use byteswap.h
|
|
|
|
if echo "#include <byteswap.h>" | gcc -E - > /dev/null 2>&1; then
|
|
|
|
echo "Using byteswap.h"
|
|
|
|
extradefines="$extradefines -DOS_USE_BYTESWAP_H"
|
|
|
|
fi
|
2005-02-18 13:47:17 +00:00
|
|
|
;;
|
|
|
|
|
|
|
|
FreeBSD)
|
2011-02-18 22:46:01 +00:00
|
|
|
sigaltstack=`check_sigaltstack`
|
2005-02-18 13:47:17 +00:00
|
|
|
echo "FreeBSD host detected"
|
2013-10-15 02:49:54 +00:00
|
|
|
LDOPTS="$LDOPTS"
|
2005-02-18 13:47:17 +00:00
|
|
|
;;
|
|
|
|
|
2006-09-29 16:15:11 +00:00
|
|
|
Darwin)
|
2011-02-18 22:46:01 +00:00
|
|
|
sigaltstack=`check_sigaltstack`
|
2006-09-29 16:15:11 +00:00
|
|
|
echo "Darwin host detected"
|
2010-06-24 20:58:07 +00:00
|
|
|
LDOPTS="$LDOPTS -ldl"
|
2021-07-08 22:14:27 +00:00
|
|
|
SHARED_LDFLAGS="-dynamiclib -Wl\,-single_module"
|
2006-09-29 16:15:11 +00:00
|
|
|
;;
|
|
|
|
|
2010-03-20 08:57:47 +00:00
|
|
|
SunOS)
|
2011-02-18 22:46:01 +00:00
|
|
|
sigaltstack=`check_sigaltstack`
|
2010-03-20 08:57:47 +00:00
|
|
|
echo "*Solaris host detected"
|
2010-04-05 16:07:39 +00:00
|
|
|
|
|
|
|
GCCOPTS="$GCCOPTS -fPIC"
|
2010-06-24 20:58:07 +00:00
|
|
|
LDOPTS="$LDOPTS -ldl"
|
2010-03-20 08:57:47 +00:00
|
|
|
;;
|
|
|
|
|
2005-02-18 13:47:17 +00:00
|
|
|
*)
|
2009-08-09 19:02:22 +00:00
|
|
|
echo "[ERROR] Unsupported system: $uname, fix configure and retry"
|
2010-04-05 15:47:12 +00:00
|
|
|
exit 1
|
2005-02-18 13:47:17 +00:00
|
|
|
;;
|
|
|
|
esac
|
2010-07-04 15:02:11 +00:00
|
|
|
fi
|
2007-01-13 02:24:15 +00:00
|
|
|
|
2011-12-23 09:03:31 +00:00
|
|
|
if [ "$winbuild" != "yes" ]; then
|
|
|
|
GLOBAL_LDOPTS="$GLOBAL_LDOPTS -Wl,-z,defs"
|
|
|
|
if [ "`uname -m`" = "i686" ]; then
|
|
|
|
echo "Enabling MMX support"
|
|
|
|
GCCOPTS="$GCCOPTS -mmmx"
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|
|
2010-04-05 15:47:12 +00:00
|
|
|
sdl=`findsdl $winbuild`
|
|
|
|
|
2010-07-10 13:49:49 +00:00
|
|
|
if [ -n `echo $app_type | grep "sdl"` ]; then
|
2010-04-05 15:47:12 +00:00
|
|
|
if [ -z "$sdl" ]; then
|
|
|
|
echo "configure didn't find sdl-config, which indicates that you"
|
|
|
|
echo "don't have SDL (properly) installed. Please correct and"
|
|
|
|
echo "re-run configure!"
|
|
|
|
exit 2
|
2016-05-29 22:47:10 +00:00
|
|
|
else
|
2017-01-15 11:53:13 +00:00
|
|
|
echo Using $sdl
|
|
|
|
|
2010-04-05 15:47:12 +00:00
|
|
|
# generic sdl-config checker
|
2017-01-15 11:53:13 +00:00
|
|
|
sdlccopts=$($sdl --cflags)
|
|
|
|
if $sdl --static-libs > /dev/null 2>&1 ; then
|
|
|
|
sdlldopts=$($sdl --static-libs)
|
2016-05-29 22:47:10 +00:00
|
|
|
else
|
2017-01-15 11:53:13 +00:00
|
|
|
echo "Your sdl-config does not know about static libs, falling back to shared library"
|
|
|
|
sdlldopts=$($sdl --libs)
|
2016-05-29 22:47:10 +00:00
|
|
|
fi
|
2017-01-15 11:53:13 +00:00
|
|
|
GCCOPTS="$GCCOPTS ${sdlccopts}"
|
|
|
|
LDOPTS="$LDOPTS ${sdlldopts}"
|
2010-04-05 15:47:12 +00:00
|
|
|
fi
|
|
|
|
fi
|
2016-05-29 22:47:10 +00:00
|
|
|
|
2010-04-05 15:47:12 +00:00
|
|
|
|
2007-04-20 11:58:39 +00:00
|
|
|
GCCOPTS="$GCCOPTS -I\$(SIMDIR)"
|
2011-12-23 09:03:31 +00:00
|
|
|
# x86_64 supports MMX by default
|
2007-04-20 11:58:39 +00:00
|
|
|
|
2011-12-23 09:03:31 +00:00
|
|
|
if [ "$endian" = "" ]; then
|
|
|
|
id=$$
|
|
|
|
cat >$tmpdir/conftest-$id.c <<EOF
|
2005-04-26 22:41:48 +00:00
|
|
|
#include <stdio.h>
|
|
|
|
int main(int argc, char **argv)
|
|
|
|
{
|
2011-12-23 09:03:31 +00:00
|
|
|
int var=0;
|
|
|
|
char *varp = (char *)&var;
|
|
|
|
*varp=1;
|
2005-04-26 22:41:48 +00:00
|
|
|
|
2011-12-23 09:03:31 +00:00
|
|
|
printf("%d\n", var);
|
|
|
|
return 0;
|
2005-04-26 22:41:48 +00:00
|
|
|
}
|
|
|
|
EOF
|
2011-12-23 09:03:31 +00:00
|
|
|
$CC -o $tmpdir/conftest-$id $tmpdir/conftest-$id.c 2>/dev/null
|
|
|
|
# when cross compiling, the endianess cannot be detected because the above program doesn't run
|
|
|
|
# on the local machine. assume little endian but print a warning
|
|
|
|
endian=`$tmpdir/conftest-$id 2> /dev/null`
|
|
|
|
if [ "$endian" != "" ] && [ $endian -gt "1" ]; then
|
|
|
|
# big endian
|
|
|
|
endian="big"
|
|
|
|
else
|
|
|
|
# little endian
|
|
|
|
endian="little"
|
|
|
|
fi
|
|
|
|
fi
|
2005-04-26 22:41:48 +00:00
|
|
|
|
2011-12-23 09:03:31 +00:00
|
|
|
if [ "$CROSS_COMPILE" != "" ]; then
|
|
|
|
echo "WARNING: Cross Compiling, cannot detect endianess. Assuming $endian endian!"
|
|
|
|
fi
|
2005-04-26 22:56:53 +00:00
|
|
|
|
2011-12-23 09:03:31 +00:00
|
|
|
if [ "$app_type" = "sdl-sim" ]; then
|
|
|
|
echo "Simulator environment deemed $endian endian"
|
|
|
|
elif [ "$app_type" = "sdl-app" ]; then
|
|
|
|
echo "Application environment deemed $endian endian"
|
|
|
|
elif [ "$app_type" = "checkwps" ]; then
|
|
|
|
echo "CheckWPS environment deemed $endian endian"
|
2005-04-26 22:41:48 +00:00
|
|
|
fi
|
2011-02-18 22:46:01 +00:00
|
|
|
|
2011-12-23 09:03:31 +00:00
|
|
|
# use wildcard here to make it work even if it was named *.exe like
|
|
|
|
# on cygwin
|
|
|
|
rm -f $tmpdir/conftest-$id*
|
|
|
|
|
2021-04-08 01:48:58 +00:00
|
|
|
# AddressSanitizer requires SDL threads
|
|
|
|
if [ "$ARG_ADDR_SAN" = "1" ] ; then
|
|
|
|
ARG_THREAD_SUPPORT=1
|
|
|
|
fi
|
2022-04-17 15:33:39 +00:00
|
|
|
if [ "$ARG_UBSAN" = "1" ] ; then
|
|
|
|
ARG_THREAD_SUPPORT=1
|
|
|
|
fi
|
2021-04-08 01:48:58 +00:00
|
|
|
|
2011-02-18 22:46:01 +00:00
|
|
|
thread_support=
|
|
|
|
if [ -z "$ARG_THREAD_SUPPORT" ] || [ "$ARG_THREAD_SUPPORT" = "0" ]; then
|
|
|
|
if [ "$sigaltstack" = "0" ]; then
|
|
|
|
thread_support="HAVE_SIGALTSTACK_THREADS"
|
2011-02-19 02:19:04 +00:00
|
|
|
LDOPTS="$LDOPTS -lpthread" # pthread needed
|
2011-02-18 22:46:01 +00:00
|
|
|
echo "Selected sigaltstack threads"
|
|
|
|
elif [ "$fibers" = "0" ]; then
|
|
|
|
thread_support="HAVE_WIN32_FIBER_THREADS"
|
|
|
|
echo "Selected Win32 Fiber threads"
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|
|
|
|
|
if [ -n `echo $app_type | grep "sdl"` ] && [ -z "$thread_support" ] \
|
|
|
|
&& [ "$ARG_THREAD_SUPPORT" != "0" ]; then
|
|
|
|
thread_support="HAVE_SDL_THREADS"
|
|
|
|
if [ "$ARG_THREAD_SUPPORT" = "1" ]; then
|
|
|
|
echo "Selected SDL threads"
|
|
|
|
else
|
|
|
|
echo "WARNING: Falling back to SDL threads"
|
|
|
|
fi
|
|
|
|
fi
|
2005-02-18 13:47:17 +00:00
|
|
|
}
|
|
|
|
|
2008-02-27 21:37:48 +00:00
|
|
|
#
|
|
|
|
# functions for setting up cross-compiler names and options
|
|
|
|
# also set endianess and what the exact recommended gcc version is
|
|
|
|
# the gcc version should most likely match what versions we build with
|
|
|
|
# rockboxdev.sh
|
|
|
|
#
|
2005-01-04 15:00:06 +00:00
|
|
|
|
2004-09-22 08:58:50 +00:00
|
|
|
coldfirecc () {
|
2005-02-18 13:47:17 +00:00
|
|
|
prefixtools m68k-elf-
|
2011-01-12 22:28:43 +00:00
|
|
|
GCCOPTS="$CCOPTS -mcpu=5249 -malign-int -mstrict-align"
|
2004-10-07 07:08:57 +00:00
|
|
|
GCCOPTIMIZE="-fomit-frame-pointer"
|
2005-04-26 22:41:48 +00:00
|
|
|
endian="big"
|
2020-03-27 19:31:30 +00:00
|
|
|
gccchoice="4.9.4"
|
2004-09-22 08:58:50 +00:00
|
|
|
}
|
|
|
|
|
2005-11-08 00:52:39 +00:00
|
|
|
arm7tdmicc () {
|
2009-11-19 22:47:14 +00:00
|
|
|
findarmgcc
|
2006-08-12 22:46:34 +00:00
|
|
|
GCCOPTS="$CCOPTS -mcpu=arm7tdmi"
|
2005-11-08 00:52:39 +00:00
|
|
|
GCCOPTIMIZE="-fomit-frame-pointer"
|
|
|
|
endian="little"
|
|
|
|
}
|
|
|
|
|
2006-02-24 15:42:52 +00:00
|
|
|
arm9tdmicc () {
|
2009-11-19 22:47:14 +00:00
|
|
|
findarmgcc
|
2009-02-10 09:27:20 +00:00
|
|
|
GCCOPTS="$CCOPTS -mcpu=arm9tdmi"
|
2006-02-24 15:42:52 +00:00
|
|
|
GCCOPTIMIZE="-fomit-frame-pointer"
|
|
|
|
endian="little"
|
|
|
|
}
|
|
|
|
|
2008-06-27 23:24:34 +00:00
|
|
|
arm940tbecc () {
|
2009-11-19 22:47:14 +00:00
|
|
|
findarmgcc
|
2009-11-20 02:51:23 +00:00
|
|
|
GCCOPTS="$CCOPTS -mbig-endian -mcpu=arm940t"
|
2008-06-27 23:24:34 +00:00
|
|
|
GCCOPTIMIZE="-fomit-frame-pointer"
|
|
|
|
endian="big"
|
|
|
|
}
|
|
|
|
|
2009-07-12 22:16:51 +00:00
|
|
|
arm940tcc () {
|
2009-11-19 22:47:14 +00:00
|
|
|
findarmgcc
|
2009-11-20 02:51:23 +00:00
|
|
|
GCCOPTS="$CCOPTS -mcpu=arm940t"
|
2009-07-12 22:16:51 +00:00
|
|
|
GCCOPTIMIZE="-fomit-frame-pointer"
|
|
|
|
endian="little"
|
|
|
|
}
|
|
|
|
|
2007-10-28 11:08:10 +00:00
|
|
|
arm946cc () {
|
2009-11-19 22:47:14 +00:00
|
|
|
findarmgcc
|
2009-11-20 02:51:23 +00:00
|
|
|
GCCOPTS="$CCOPTS -mcpu=arm9e"
|
2007-10-28 11:08:10 +00:00
|
|
|
GCCOPTIMIZE="-fomit-frame-pointer"
|
|
|
|
endian="little"
|
2008-02-18 19:08:29 +00:00
|
|
|
}
|
|
|
|
|
2007-11-13 04:09:25 +00:00
|
|
|
arm926ejscc () {
|
2009-11-19 22:47:14 +00:00
|
|
|
findarmgcc
|
2009-11-20 02:51:23 +00:00
|
|
|
GCCOPTS="$CCOPTS -mcpu=arm926ej-s"
|
2007-11-13 04:09:25 +00:00
|
|
|
GCCOPTIMIZE="-fomit-frame-pointer"
|
|
|
|
endian="little"
|
|
|
|
}
|
|
|
|
|
2008-02-10 17:40:06 +00:00
|
|
|
arm1136jfscc () {
|
2009-11-19 22:47:14 +00:00
|
|
|
findarmgcc
|
2020-09-26 21:19:07 +00:00
|
|
|
GCCOPTS="$CCOPTS -mcpu=arm1136jf-s -mfloat-abi=softfp"
|
2008-02-10 17:40:06 +00:00
|
|
|
GCCOPTIMIZE="-fomit-frame-pointer"
|
|
|
|
endian="little"
|
|
|
|
}
|
|
|
|
|
2009-07-13 21:09:39 +00:00
|
|
|
arm1176jzscc () {
|
2009-11-19 22:47:14 +00:00
|
|
|
findarmgcc
|
2009-11-20 02:51:23 +00:00
|
|
|
GCCOPTS="$CCOPTS -mcpu=arm1176jz-s"
|
2009-07-13 21:09:39 +00:00
|
|
|
GCCOPTIMIZE="-fomit-frame-pointer"
|
|
|
|
endian="little"
|
|
|
|
}
|
|
|
|
|
2011-05-30 21:10:37 +00:00
|
|
|
arm7ejscc () {
|
|
|
|
findarmgcc
|
|
|
|
GCCOPTS="$CCOPTS -march=armv5te"
|
|
|
|
GCCOPTIMIZE="-fomit-frame-pointer"
|
|
|
|
endian="little"
|
|
|
|
}
|
|
|
|
|
2008-07-14 15:03:10 +00:00
|
|
|
mipselcc () {
|
2008-07-30 08:28:35 +00:00
|
|
|
prefixtools mipsel-elf-
|
2010-08-24 13:41:45 +00:00
|
|
|
# mips is predefined, but we want it for paths. use __mips instead
|
|
|
|
GCCOPTS="$CCOPTS -march=mips32 -mtune=r4600 -mno-mips16 -mno-long-calls -Umips"
|
2009-05-30 16:13:42 +00:00
|
|
|
GCCOPTS="$GCCOPTS -ffunction-sections -msoft-float -G 0 -Wno-parentheses"
|
2008-07-14 15:03:10 +00:00
|
|
|
GCCOPTIMIZE="-fomit-frame-pointer"
|
|
|
|
endian="little"
|
2017-11-19 13:42:19 +00:00
|
|
|
gccchoice="4.9.4"
|
2008-07-14 15:03:10 +00:00
|
|
|
}
|
|
|
|
|
2021-02-27 22:08:58 +00:00
|
|
|
mipsr2elcc () {
|
|
|
|
prefixtools mipsel-elf-
|
|
|
|
# mips is predefined, but we want it for paths. use __mips instead
|
|
|
|
GCCOPTS="$CCOPTS -march=mips32r2 -mno-mips16 -mno-long-calls -Umips"
|
|
|
|
GCCOPTS="$GCCOPTS -ffunction-sections -msoft-float -G 0 -Wno-parentheses"
|
|
|
|
GCCOPTIMIZE="-fomit-frame-pointer"
|
|
|
|
endian="little"
|
|
|
|
gccchoice="4.9.4"
|
|
|
|
}
|
|
|
|
|
2011-02-08 20:05:25 +00:00
|
|
|
maemocc () {
|
|
|
|
# Scratchbox sets up "gcc" based on the active target
|
|
|
|
prefixtools ""
|
|
|
|
|
|
|
|
GCCOPTS=`echo $CCOPTS | sed -e s/-ffreestanding// -e s/-nostdlib// -e s/-Wundef//`
|
|
|
|
GCCOPTS="$GCCOPTS -fno-builtin -g -I\$(SIMDIR)"
|
|
|
|
GCCOPTIMIZE=''
|
|
|
|
LDOPTS="-lm -ldl $LDOPTS"
|
|
|
|
GLOBAL_LDOPTS="$GLOBAL_LDOPTS -Wl,-z,defs"
|
2021-07-08 22:14:27 +00:00
|
|
|
SHARED_LDFLAGS="-shared"
|
2011-06-07 11:56:23 +00:00
|
|
|
SHARED_CFLAGS=''
|
2011-02-08 20:05:25 +00:00
|
|
|
endian="little"
|
2011-02-19 00:50:12 +00:00
|
|
|
thread_support="HAVE_SIGALTSTACK_THREADS"
|
2011-02-08 20:05:25 +00:00
|
|
|
|
|
|
|
is_n900=0
|
|
|
|
# Determine maemo version
|
|
|
|
if pkg-config --atleast-version=5 maemo-version; then
|
2011-02-11 19:51:29 +00:00
|
|
|
if [ "$1" == "4" ]; then
|
|
|
|
echo "ERROR: Maemo 4 SDK required."
|
|
|
|
exit 1
|
|
|
|
fi
|
2011-02-08 20:05:25 +00:00
|
|
|
extradefines="$extradefines -DMAEMO5"
|
|
|
|
echo "Found N900 maemo version"
|
|
|
|
is_n900=1
|
|
|
|
elif pkg-config --atleast-version=4 maemo-version; then
|
2011-02-11 19:51:29 +00:00
|
|
|
if [ "$1" == "5" ]; then
|
|
|
|
echo "ERROR: Maemo 5 SDK required."
|
|
|
|
exit 1
|
|
|
|
fi
|
2011-02-08 20:05:25 +00:00
|
|
|
extradefines="$extradefines -DMAEMO4"
|
|
|
|
echo "Found N8xx maemo version"
|
|
|
|
else
|
|
|
|
echo "Unable to determine maemo version. Is the maemo-version-dev package installed?"
|
|
|
|
exit 1
|
|
|
|
fi
|
|
|
|
|
|
|
|
# SDL
|
2011-02-13 11:57:32 +00:00
|
|
|
if [ $is_n900 -eq 1 ]; then
|
|
|
|
GCCOPTS="$GCCOPTS `pkg-config --cflags sdl`"
|
|
|
|
LDOPTS="$LDOPTS `pkg-config --libs sdl`"
|
|
|
|
else
|
|
|
|
GCCOPTS="$GCCOPTS `sdl-config --cflags`"
|
|
|
|
LDOPTS="$LDOPTS `sdl-config --libs`"
|
|
|
|
fi
|
2011-02-08 20:05:25 +00:00
|
|
|
|
|
|
|
# glib and libosso support
|
|
|
|
GCCOPTS="$GCCOPTS `pkg-config --cflags libosso glib-2.0 gthread-2.0`"
|
|
|
|
LDOPTS="$LDOPTS `pkg-config --libs libosso glib-2.0 gthread-2.0`"
|
|
|
|
|
|
|
|
# libhal support: Battery monitoring
|
|
|
|
GCCOPTS="$GCCOPTS `pkg-config --cflags hal`"
|
|
|
|
LDOPTS="$LDOPTS `pkg-config --libs hal`"
|
|
|
|
|
|
|
|
GCCOPTS="$GCCOPTS -O2 -fno-strict-aliasing"
|
|
|
|
if [ $is_n900 -eq 1 ]; then
|
|
|
|
# gstreamer support: Audio output.
|
|
|
|
GCCOPTS="$GCCOPTS `pkg-config --cflags gstreamer-base-0.10 gstreamer-plugins-base-0.10 gstreamer-app-0.10`"
|
|
|
|
LDOPTS="$LDOPTS `pkg-config --libs gstreamer-base-0.10 gstreamer-plugins-base-0.10 gstreamer-app-0.10`"
|
|
|
|
|
|
|
|
# N900 specific: libplayback support
|
|
|
|
GCCOPTS="$GCCOPTS `pkg-config --cflags libplayback-1`"
|
|
|
|
LDOPTS="$LDOPTS `pkg-config --libs libplayback-1`"
|
|
|
|
|
|
|
|
# N900 specific: Enable ARMv7 NEON support
|
2011-02-27 19:58:38 +00:00
|
|
|
if sb-conf show -A |grep -q -i arm; then
|
|
|
|
echo "Detected ARM target"
|
2011-02-08 20:05:25 +00:00
|
|
|
GCCOPTS="$GCCOPTS -mcpu=cortex-a8 -mtune=cortex-a8 -mfpu=neon -mfloat-abi=softfp"
|
|
|
|
extradefines="$extradefines -DMAEMO_ARM_BUILD"
|
2011-02-27 19:58:38 +00:00
|
|
|
else
|
|
|
|
echo "Detected x86 target"
|
2011-02-08 20:05:25 +00:00
|
|
|
fi
|
|
|
|
else
|
|
|
|
# N8xx specific: Enable armv5te instructions
|
2011-02-27 19:58:38 +00:00
|
|
|
if sb-conf show -A |grep -q -i arm; then
|
|
|
|
echo "Detected ARM target"
|
2011-02-08 20:05:25 +00:00
|
|
|
GCCOPTS="$GCCOPTS -mcpu=arm1136jf-s -mfloat-abi=softfp -mfpu=vfp"
|
|
|
|
extradefines="$extradefines -DMAEMO_ARM_BUILD"
|
2011-02-27 19:58:38 +00:00
|
|
|
else
|
|
|
|
echo "Detected x86 target"
|
2011-02-08 20:05:25 +00:00
|
|
|
fi
|
|
|
|
fi
|
|
|
|
}
|
|
|
|
|
2011-02-27 23:42:37 +00:00
|
|
|
pandoracc () {
|
|
|
|
# Note: The new "Ivanovic" pandora toolchain is not able to compile rockbox.
|
|
|
|
# You have to use the sebt3 toolchain:
|
|
|
|
# http://www.gp32x.com/board/index.php?/topic/58490-yactfeau/
|
|
|
|
|
|
|
|
PNDSDK="/usr/local/angstrom/arm"
|
|
|
|
if [ ! -x $PNDSDK/bin/arm-angstrom-linux-gnueabi-gcc ]; then
|
|
|
|
echo "Pandora SDK gcc not found in $PNDSDK/bin/arm-angstrom-linux-gnueabi-gcc"
|
|
|
|
exit
|
|
|
|
fi
|
|
|
|
|
|
|
|
PATH=$PNDSDK/bin:$PATH:$PNDSDK/arm-angstrom-linux-gnueabi/usr/bin
|
|
|
|
PKG_CONFIG_PATH=$PNDSDK/arm-angstrom-linux-gnueabi/usr/lib/pkgconfig
|
|
|
|
LDOPTS="-L$PNDSDK/arm-angstrom-linux-gnueabi/usr/lib -Wl,-rpath,$PNDSDK/arm-angstrom-linux-gnueabi/usr/lib $LDOPTS"
|
|
|
|
PKG_CONFIG="pkg-config"
|
|
|
|
|
|
|
|
GCCOPTS=`echo $CCOPTS | sed -e s/-ffreestanding// -e s/-nostdlib// -e s/-Wundef//`
|
|
|
|
GCCOPTS="$GCCOPTS -fno-builtin -g -I\$(SIMDIR)"
|
|
|
|
GCCOPTIMIZE=''
|
|
|
|
LDOPTS="-lm -ldl $LDOPTS"
|
|
|
|
GLOBAL_LDOPTS="$GLOBAL_LDOPTS -Wl,-z,defs"
|
2021-07-08 22:14:27 +00:00
|
|
|
SHARED_LDFLAGS="-shared"
|
2011-06-07 11:56:23 +00:00
|
|
|
SHARED_CFLAGS=''
|
2011-02-27 23:42:37 +00:00
|
|
|
endian="little"
|
|
|
|
thread_support="HAVE_SIGALTSTACK_THREADS"
|
|
|
|
|
|
|
|
# Include path
|
2011-12-10 19:23:51 +00:00
|
|
|
GCCOPTS="$GCCOPTS -I$PNDSDK/arm-angstrom-linux-gnueabi/usr/include"
|
2011-02-27 23:42:37 +00:00
|
|
|
|
|
|
|
# Set up compiler
|
|
|
|
gccchoice="4.3.3"
|
|
|
|
prefixtools "$PNDSDK/bin/arm-angstrom-linux-gnueabi-"
|
|
|
|
|
|
|
|
# Detect SDL
|
2011-03-13 12:46:59 +00:00
|
|
|
GCCOPTS="$GCCOPTS `$PNDSDK/bin/sdl-config --cflags`"
|
|
|
|
LDOPTS="$LDOPTS `$PNDSDK/bin/sdl-config --libs`"
|
2011-02-27 23:42:37 +00:00
|
|
|
|
|
|
|
# Compiler options
|
|
|
|
GCCOPTS="$GCCOPTS -O2 -fno-strict-aliasing"
|
|
|
|
GCCOPTS="$GCCOPTS -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mfloat-abi=softfp"
|
|
|
|
GCCOPTS="$GCCOPTS -ffast-math -fsingle-precision-constant"
|
|
|
|
}
|
|
|
|
|
2017-02-23 10:33:19 +00:00
|
|
|
arm1176jzlinuxcc () {
|
Initial commit of the Samsung YP-R0 port.
This port is a hybrid native/RaaA port. It runs on a embedded linux system,
but is the only application. It therefore can implement lots of stuff that
native targets also implement, while leveraging the underlying linux kernel.
The port is quite advanced. User interface, audio playback, plugins work
mostly fine. Missing is e.g. power mangement and USB (see SamsungYPR0 wiki page).
Included in utils/ypr0tools are scripts and programs required to generate
a patched firmware. The patched firmware has the rootfs modified to load
Rockbox. It includes a early/safe USB mode.
This port needs a new toolchain, one that includes glibc headers and libraries.
rockboxdev.sh can generate it, but e.g. codesourcey and distro packages may
also work.
Most of the initial effort is done by Lorenzo Miori and others (on ABI),
including reverse engineering and patching of the original firmware,
initial drivers, and more. Big thanks to you.
Flyspray: FS#12348
Author: Lorenzo Miori, myself
Merry christmas to ypr0 owners! :)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31415 a1c6a512-1295-4272-9138-f99709370657
2011-12-24 11:56:46 +00:00
|
|
|
GCCOPTS=`echo $CCOPTS | sed -e s/-ffreestanding// -e s/-nostdlib//`
|
2017-02-23 10:33:19 +00:00
|
|
|
# Although the ARM1176JZ-S supports unaligned accesses, those seems to disabled
|
|
|
|
# by the kernel. Since GCC emits unaligned accesses by default on ARMv6, we
|
|
|
|
# need to disable that
|
|
|
|
GCCOPTS="$GCCOPTS -mcpu=arm1176jz-s -mno-unaligned-access -mfloat-abi=softfp"
|
Initial commit of the Samsung YP-R0 port.
This port is a hybrid native/RaaA port. It runs on a embedded linux system,
but is the only application. It therefore can implement lots of stuff that
native targets also implement, while leveraging the underlying linux kernel.
The port is quite advanced. User interface, audio playback, plugins work
mostly fine. Missing is e.g. power mangement and USB (see SamsungYPR0 wiki page).
Included in utils/ypr0tools are scripts and programs required to generate
a patched firmware. The patched firmware has the rootfs modified to load
Rockbox. It includes a early/safe USB mode.
This port needs a new toolchain, one that includes glibc headers and libraries.
rockboxdev.sh can generate it, but e.g. codesourcey and distro packages may
also work.
Most of the initial effort is done by Lorenzo Miori and others (on ABI),
including reverse engineering and patching of the original firmware,
initial drivers, and more. Big thanks to you.
Flyspray: FS#12348
Author: Lorenzo Miori, myself
Merry christmas to ypr0 owners! :)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31415 a1c6a512-1295-4272-9138-f99709370657
2011-12-24 11:56:46 +00:00
|
|
|
GCCOPTIMIZE=''
|
|
|
|
LDOPTS="-lasound -lpthread -lm -ldl -lrt $LDOPTS"
|
2017-02-23 10:33:19 +00:00
|
|
|
GLOBAL_LDOPTS="$GLOBAL_LDOPTS -Wl,-z,defs" # warn about undefined symbols in shared libraries
|
2021-07-08 22:14:27 +00:00
|
|
|
SHARED_LDFLAGS="-shared"
|
Initial commit of the Samsung YP-R0 port.
This port is a hybrid native/RaaA port. It runs on a embedded linux system,
but is the only application. It therefore can implement lots of stuff that
native targets also implement, while leveraging the underlying linux kernel.
The port is quite advanced. User interface, audio playback, plugins work
mostly fine. Missing is e.g. power mangement and USB (see SamsungYPR0 wiki page).
Included in utils/ypr0tools are scripts and programs required to generate
a patched firmware. The patched firmware has the rootfs modified to load
Rockbox. It includes a early/safe USB mode.
This port needs a new toolchain, one that includes glibc headers and libraries.
rockboxdev.sh can generate it, but e.g. codesourcey and distro packages may
also work.
Most of the initial effort is done by Lorenzo Miori and others (on ABI),
including reverse engineering and patching of the original firmware,
initial drivers, and more. Big thanks to you.
Flyspray: FS#12348
Author: Lorenzo Miori, myself
Merry christmas to ypr0 owners! :)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31415 a1c6a512-1295-4272-9138-f99709370657
2011-12-24 11:56:46 +00:00
|
|
|
SHARED_CFLAGS=''
|
|
|
|
endian="little"
|
|
|
|
app_type="ypr0"
|
|
|
|
|
|
|
|
# Include path
|
|
|
|
GCCOPTS="$GCCOPTS -D_GNU_SOURCE=1 -U_FORTIFY_SOURCE -D_REENTRANT"
|
|
|
|
|
|
|
|
# Set up compiler
|
2017-02-23 10:33:19 +00:00
|
|
|
gccchoice="4.9.4"
|
|
|
|
prefixtools "arm-rockbox-linux-gnueabi-"
|
|
|
|
}
|
|
|
|
|
|
|
|
ypr0cc () {
|
|
|
|
arm1176jzlinuxcc
|
|
|
|
app_type="ypr0"
|
|
|
|
}
|
|
|
|
|
|
|
|
sonynwzcc () {
|
|
|
|
arm1176jzlinuxcc
|
|
|
|
app_type="sonynwz"
|
Initial commit of the Samsung YP-R0 port.
This port is a hybrid native/RaaA port. It runs on a embedded linux system,
but is the only application. It therefore can implement lots of stuff that
native targets also implement, while leveraging the underlying linux kernel.
The port is quite advanced. User interface, audio playback, plugins work
mostly fine. Missing is e.g. power mangement and USB (see SamsungYPR0 wiki page).
Included in utils/ypr0tools are scripts and programs required to generate
a patched firmware. The patched firmware has the rootfs modified to load
Rockbox. It includes a early/safe USB mode.
This port needs a new toolchain, one that includes glibc headers and libraries.
rockboxdev.sh can generate it, but e.g. codesourcey and distro packages may
also work.
Most of the initial effort is done by Lorenzo Miori and others (on ABI),
including reverse engineering and patching of the original firmware,
initial drivers, and more. Big thanks to you.
Flyspray: FS#12348
Author: Lorenzo Miori, myself
Merry christmas to ypr0 owners! :)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31415 a1c6a512-1295-4272-9138-f99709370657
2011-12-24 11:56:46 +00:00
|
|
|
}
|
|
|
|
|
2010-08-02 20:34:47 +00:00
|
|
|
androidcc () {
|
2011-02-11 19:51:29 +00:00
|
|
|
if [ -z "$ANDROID_SDK_PATH" ]; then
|
|
|
|
echo "ERROR: You need the Android SDK installed and have the ANDROID_SDK_PATH"
|
|
|
|
echo "environment variable point to the root directory of the Android SDK."
|
|
|
|
exit
|
|
|
|
fi
|
|
|
|
if [ -z "$ANDROID_NDK_PATH" ]; then
|
2020-04-13 03:17:45 +00:00
|
|
|
echo "ERROR: You need the Android NDK installed (r10e or higher) and have the ANDROID_NDK_PATH"
|
2011-02-11 19:51:29 +00:00
|
|
|
echo "environment variable point to the root directory of the Android NDK."
|
|
|
|
exit
|
|
|
|
fi
|
2020-04-13 03:17:45 +00:00
|
|
|
make_toolchain="${ANDROID_NDK_PATH}/build/tools/make-standalone-toolchain.sh"
|
|
|
|
|
|
|
|
# the prebuilt android NDK only supports x86_64 architecture anyway, so we can take shortcuts
|
|
|
|
buildhost=$(uname | tr "[:upper:]" "[:lower:]")-x86_64
|
2010-08-02 20:34:47 +00:00
|
|
|
GCCOPTS=`echo $CCOPTS | sed -e s/-ffreestanding// -e s/-nostdlib// -e s/-Wundef//`
|
2014-08-30 11:15:53 +00:00
|
|
|
LDOPTS="$LDOPTS -ldl -llog"
|
|
|
|
if [ "$modelname" != "ibassodx50" ] && [ "$modelname" != "ibassodx90" ]; then
|
|
|
|
LDOPTS="$LDOPTS -Wl,-soname,librockbox.so -shared"
|
|
|
|
fi
|
2021-07-08 22:14:27 +00:00
|
|
|
SHARED_LDFLAGS="-shared"
|
2014-08-30 11:15:53 +00:00
|
|
|
SHARED_CFLAGS=''
|
|
|
|
GLOBAL_LDOPTS="-Wl,-z,defs -Wl,-z,noexecstack"
|
2020-04-13 03:17:45 +00:00
|
|
|
thread_support="HAVE_SIGALTSTACK_THREADS"
|
|
|
|
ANDROID_ARCH=$2 # for android.make too
|
|
|
|
ANDROID_PLATFORM_VERSION=$1
|
2020-04-14 20:55:06 +00:00
|
|
|
GCCOPTS="$GCCOPTS $3"
|
2020-04-13 03:17:45 +00:00
|
|
|
gccchoice="4.9"
|
2012-11-06 08:25:36 +00:00
|
|
|
# arch dependant stuff
|
|
|
|
case $ANDROID_ARCH in
|
|
|
|
armeabi)
|
|
|
|
endian="little"
|
|
|
|
gcctarget="arm-linux-androideabi-"
|
2020-04-13 03:17:45 +00:00
|
|
|
echo "${make_toolchain} --toolchain=arm-linux-androideabi-${gccchoice} --platform=android-$ANDROID_PLATFORM_VERSION --install-dir=${pwd}/android-toolchain"
|
|
|
|
${make_toolchain} --toolchain=arm-linux-androideabi-${gccchoice} --platform=android-$ANDROID_PLATFORM_VERSION --install-dir=${pwd}/android-toolchain
|
|
|
|
if [ ${?} != 0 ]; then
|
|
|
|
exit
|
|
|
|
fi
|
2020-04-14 20:55:06 +00:00
|
|
|
# Android 4.4 (API 19) doesn't support anything older than armv7.
|
|
|
|
GCCOPTS="$GCCOPTS -fomit-frame-pointer -fuse-ld=bfd"
|
|
|
|
;;
|
|
|
|
aarch64)
|
|
|
|
endian="little"
|
|
|
|
gcctarget="arm-linux-androideabi-"
|
|
|
|
echo "${make_toolchain} --toolchain=aarch64-linux-android-${gccchoice} --platform=android-$ANDROID_PLATFORM_VERSION --install-dir=${pwd}/android-toolchain"
|
|
|
|
${make_toolchain} --toolchain=aarch64-linux-android-${gccchoice} --platform=android-$ANDROID_PLATFORM_VERSION --install-dir=${pwd}/android-toolchain
|
|
|
|
if [ ${?} != 0 ]; then
|
|
|
|
exit
|
|
|
|
fi
|
|
|
|
GCCOPTS="$GCCOPTS -fomit-frame-pointer -fuse-ld=bfd" # what default cpu arch/tune to use?
|
2012-11-06 08:25:36 +00:00
|
|
|
;;
|
|
|
|
mips)
|
|
|
|
endian="little"
|
|
|
|
gcctarget="mipsel-linux-android-"
|
2020-04-13 03:17:45 +00:00
|
|
|
echo "${make_toolchain} --toolchain=mipsel-linux-android-${gccchoice} --platform=android-$ANDROID_PLATFORM_VERSION --install-dir=${pwd}/android-toolchain"
|
|
|
|
${make_toolchain} --toolchain=mipsel-linux-android-${gccchoice} --platform=android-$ANDROID_PLATFORM_VERSION --install-dir=${pwd}/android-toolchain
|
|
|
|
if [ ${?} != 0 ]; then
|
|
|
|
exit
|
|
|
|
fi
|
|
|
|
GCCOPTS="$GCCOPTS -march=mips32 -mtune=r4600 -mno-mips16 -mno-long-calls -fomit-frame-pointer -fPIC"
|
2012-11-06 08:25:36 +00:00
|
|
|
;;
|
2012-11-06 10:39:49 +00:00
|
|
|
x86)
|
2014-03-09 17:08:06 +00:00
|
|
|
endian="little"
|
2012-11-06 10:39:49 +00:00
|
|
|
gcctarget="i686-linux-android-"
|
2020-04-13 03:17:45 +00:00
|
|
|
echo "${make_toolchain} --toolchain=x86-${gccchoice} --platform=android-android-$ANDROID_PLATFORM_VERSION --install-dir=${pwd}/android-toolchain"
|
|
|
|
${make_toolchain} --toolchain=x86-${gccchoice} --platform=android-android-$ANDROID_PLATFORM_VERSION --install-dir=${pwd}/android-toolchain
|
|
|
|
if [ ${?} != 0 ]; then
|
|
|
|
exit
|
|
|
|
fi
|
|
|
|
GCCOPTS="$GCCOPTS -Wa,--noexecstack -ffunction-sections -fomit-frame-pointer"
|
2012-11-06 10:39:49 +00:00
|
|
|
;;
|
2012-11-06 08:25:36 +00:00
|
|
|
*)
|
|
|
|
echo "ERROR: androidcc(): Unknown target architecture"
|
|
|
|
exit
|
|
|
|
;;
|
|
|
|
esac
|
2020-04-13 03:17:45 +00:00
|
|
|
|
|
|
|
LDOPTS="$LDOPTS -fuse-ld=bfd --sysroot=${pwd}/android-toolchain/sysroot"
|
|
|
|
GCCOPTS="$GCCOPTS --sysroot=${pwd}/android-toolchain/sysroot"
|
|
|
|
echo "Using endian ${endian}"
|
|
|
|
echo "Using gccchoice ${gccchoice}"
|
|
|
|
echo "Using gcctarget ${gcctarget}"
|
|
|
|
PATH=$PATH:${pwd}/android-toolchain/bin
|
2012-06-11 20:06:34 +00:00
|
|
|
prefixtools $gcctarget
|
2010-08-02 20:34:47 +00:00
|
|
|
}
|
|
|
|
|
iBasso DX50/DX90: Major code cleanup and reorganization.
Reorganization
- Separated iBasso devices from PLATFORM_ANDROID. These are now standlone
hosted targets. Most device specific code is in the
firmware/target/hosted/ibasso directory.
- No dependency on Android SDK, only the Android NDK is needed.
32 bit Android NDK and Android API Level 16.
- Separate implementation for each device where feasible.
Code cleanup
- Rewrite of existing code, from simple reformat to complete reimplementation.
- New backlight interface, seperating backlight from touchscreen.
- Rewrite of device button handler, removing unneeded code and fixing memory
leaks.
- New Debug messages interface logging to Android adb logcat (DEBUGF, panicf,
logf).
- Rewrite of lcd device handler, removing unneeded code and fixing memory leaks.
- Rewrite of audiohw device handler/pcm interface, removing unneeded code and
fixing memory leaks, enabling 44.1/48kHz pthreaded playback.
- Rewrite of power and powermng, proper shutdown, using batterylog results
(see http://gerrit.rockbox.org/r/#/c/1047/).
- Rewrite of configure (Android NDK) and device specific config.
- Rewrite of the Android NDK specific Makefile.
Misc
- All plugins/games/demos activated.
- Update tinyalsa to latest from https://github.com/tinyalsa/tinyalsa.
Includes
- http://gerrit.rockbox.org/r/#/c/993/
- http://gerrit.rockbox.org/r/#/c/1010/
- http://gerrit.rockbox.org/r/#/c/1035/
Does not include http://gerrit.rockbox.org/r/#/c/1007/ due to new backlight
interface and new option for hold switch, touchscreen, physical button
interaction.
Rockbox needs the iBasso DX50/DX90 loader for startup, see
http://gerrit.rockbox.org/r/#/c/1099/
The loader expects Rockbox to be installed in /mnt/sdcard/.rockbox/. If
/mnt/sdcard/ is accessed as USB mass storage device, Rockbox will exit
gracefully and the loader will restart Rockbox on USB disconnect.
Tested on iBasso DX50.
Compiled (not tested) for iBasso DX90.
Compiled (not tested) for PLATFORM_ANDROID.
Change-Id: I5f5e22e68f5b4cf29c28e2b40b2c265f2beb7ab7
2015-02-02 20:44:29 +00:00
|
|
|
androidndkcc()
|
|
|
|
{
|
|
|
|
if ! [ -d "$ANDROID_NDK_PATH" ]; then
|
2020-04-13 03:17:45 +00:00
|
|
|
echo "ERROR: You need the Android NDK installed (r10e or higher) and have the ANDROID_NDK_PATH"
|
iBasso DX50/DX90: Major code cleanup and reorganization.
Reorganization
- Separated iBasso devices from PLATFORM_ANDROID. These are now standlone
hosted targets. Most device specific code is in the
firmware/target/hosted/ibasso directory.
- No dependency on Android SDK, only the Android NDK is needed.
32 bit Android NDK and Android API Level 16.
- Separate implementation for each device where feasible.
Code cleanup
- Rewrite of existing code, from simple reformat to complete reimplementation.
- New backlight interface, seperating backlight from touchscreen.
- Rewrite of device button handler, removing unneeded code and fixing memory
leaks.
- New Debug messages interface logging to Android adb logcat (DEBUGF, panicf,
logf).
- Rewrite of lcd device handler, removing unneeded code and fixing memory leaks.
- Rewrite of audiohw device handler/pcm interface, removing unneeded code and
fixing memory leaks, enabling 44.1/48kHz pthreaded playback.
- Rewrite of power and powermng, proper shutdown, using batterylog results
(see http://gerrit.rockbox.org/r/#/c/1047/).
- Rewrite of configure (Android NDK) and device specific config.
- Rewrite of the Android NDK specific Makefile.
Misc
- All plugins/games/demos activated.
- Update tinyalsa to latest from https://github.com/tinyalsa/tinyalsa.
Includes
- http://gerrit.rockbox.org/r/#/c/993/
- http://gerrit.rockbox.org/r/#/c/1010/
- http://gerrit.rockbox.org/r/#/c/1035/
Does not include http://gerrit.rockbox.org/r/#/c/1007/ due to new backlight
interface and new option for hold switch, touchscreen, physical button
interaction.
Rockbox needs the iBasso DX50/DX90 loader for startup, see
http://gerrit.rockbox.org/r/#/c/1099/
The loader expects Rockbox to be installed in /mnt/sdcard/.rockbox/. If
/mnt/sdcard/ is accessed as USB mass storage device, Rockbox will exit
gracefully and the loader will restart Rockbox on USB disconnect.
Tested on iBasso DX50.
Compiled (not tested) for iBasso DX90.
Compiled (not tested) for PLATFORM_ANDROID.
Change-Id: I5f5e22e68f5b4cf29c28e2b40b2c265f2beb7ab7
2015-02-02 20:44:29 +00:00
|
|
|
echo "environment variable point to the root directory of the Android NDK."
|
|
|
|
exit
|
|
|
|
fi
|
|
|
|
|
|
|
|
make_toolchain="${ANDROID_NDK_PATH}/build/tools/make-standalone-toolchain.sh"
|
|
|
|
|
|
|
|
if ! [ -e "${make_toolchain}" ]; then
|
|
|
|
echo "ERROR: ${make_toolchain} could not be found."
|
|
|
|
exit
|
|
|
|
fi
|
|
|
|
|
2020-04-13 03:17:45 +00:00
|
|
|
# the prebuilt android NDK only supports x86_64 architecture anyway, so we can take shortcuts
|
|
|
|
buildhost=$(uname -s | tr "[:upper:]" "[:lower:]")-x86_64
|
iBasso DX50/DX90: Major code cleanup and reorganization.
Reorganization
- Separated iBasso devices from PLATFORM_ANDROID. These are now standlone
hosted targets. Most device specific code is in the
firmware/target/hosted/ibasso directory.
- No dependency on Android SDK, only the Android NDK is needed.
32 bit Android NDK and Android API Level 16.
- Separate implementation for each device where feasible.
Code cleanup
- Rewrite of existing code, from simple reformat to complete reimplementation.
- New backlight interface, seperating backlight from touchscreen.
- Rewrite of device button handler, removing unneeded code and fixing memory
leaks.
- New Debug messages interface logging to Android adb logcat (DEBUGF, panicf,
logf).
- Rewrite of lcd device handler, removing unneeded code and fixing memory leaks.
- Rewrite of audiohw device handler/pcm interface, removing unneeded code and
fixing memory leaks, enabling 44.1/48kHz pthreaded playback.
- Rewrite of power and powermng, proper shutdown, using batterylog results
(see http://gerrit.rockbox.org/r/#/c/1047/).
- Rewrite of configure (Android NDK) and device specific config.
- Rewrite of the Android NDK specific Makefile.
Misc
- All plugins/games/demos activated.
- Update tinyalsa to latest from https://github.com/tinyalsa/tinyalsa.
Includes
- http://gerrit.rockbox.org/r/#/c/993/
- http://gerrit.rockbox.org/r/#/c/1010/
- http://gerrit.rockbox.org/r/#/c/1035/
Does not include http://gerrit.rockbox.org/r/#/c/1007/ due to new backlight
interface and new option for hold switch, touchscreen, physical button
interaction.
Rockbox needs the iBasso DX50/DX90 loader for startup, see
http://gerrit.rockbox.org/r/#/c/1099/
The loader expects Rockbox to be installed in /mnt/sdcard/.rockbox/. If
/mnt/sdcard/ is accessed as USB mass storage device, Rockbox will exit
gracefully and the loader will restart Rockbox on USB disconnect.
Tested on iBasso DX50.
Compiled (not tested) for iBasso DX90.
Compiled (not tested) for PLATFORM_ANDROID.
Change-Id: I5f5e22e68f5b4cf29c28e2b40b2c265f2beb7ab7
2015-02-02 20:44:29 +00:00
|
|
|
|
|
|
|
GCCOPTS=`echo $CCOPTS | sed -e s/-ffreestanding// -e s/-nostdlib// -e s/-Wundef//`
|
|
|
|
LDOPTS="$LDOPTS -ldl -llog"
|
2021-07-08 22:14:27 +00:00
|
|
|
SHARED_LDFLAGS="-shared"
|
iBasso DX50/DX90: Major code cleanup and reorganization.
Reorganization
- Separated iBasso devices from PLATFORM_ANDROID. These are now standlone
hosted targets. Most device specific code is in the
firmware/target/hosted/ibasso directory.
- No dependency on Android SDK, only the Android NDK is needed.
32 bit Android NDK and Android API Level 16.
- Separate implementation for each device where feasible.
Code cleanup
- Rewrite of existing code, from simple reformat to complete reimplementation.
- New backlight interface, seperating backlight from touchscreen.
- Rewrite of device button handler, removing unneeded code and fixing memory
leaks.
- New Debug messages interface logging to Android adb logcat (DEBUGF, panicf,
logf).
- Rewrite of lcd device handler, removing unneeded code and fixing memory leaks.
- Rewrite of audiohw device handler/pcm interface, removing unneeded code and
fixing memory leaks, enabling 44.1/48kHz pthreaded playback.
- Rewrite of power and powermng, proper shutdown, using batterylog results
(see http://gerrit.rockbox.org/r/#/c/1047/).
- Rewrite of configure (Android NDK) and device specific config.
- Rewrite of the Android NDK specific Makefile.
Misc
- All plugins/games/demos activated.
- Update tinyalsa to latest from https://github.com/tinyalsa/tinyalsa.
Includes
- http://gerrit.rockbox.org/r/#/c/993/
- http://gerrit.rockbox.org/r/#/c/1010/
- http://gerrit.rockbox.org/r/#/c/1035/
Does not include http://gerrit.rockbox.org/r/#/c/1007/ due to new backlight
interface and new option for hold switch, touchscreen, physical button
interaction.
Rockbox needs the iBasso DX50/DX90 loader for startup, see
http://gerrit.rockbox.org/r/#/c/1099/
The loader expects Rockbox to be installed in /mnt/sdcard/.rockbox/. If
/mnt/sdcard/ is accessed as USB mass storage device, Rockbox will exit
gracefully and the loader will restart Rockbox on USB disconnect.
Tested on iBasso DX50.
Compiled (not tested) for iBasso DX90.
Compiled (not tested) for PLATFORM_ANDROID.
Change-Id: I5f5e22e68f5b4cf29c28e2b40b2c265f2beb7ab7
2015-02-02 20:44:29 +00:00
|
|
|
SHARED_CFLAGS=''
|
|
|
|
GLOBAL_LDOPTS="-Wl,-z,defs -Wl,-z,noexecstack"
|
|
|
|
|
2020-04-13 03:17:45 +00:00
|
|
|
ANDROID_PLATFORM_VERSION=$1
|
2020-04-14 20:55:06 +00:00
|
|
|
GCCOPTS="$GCCOPTS $3"
|
2020-04-13 03:17:45 +00:00
|
|
|
|
iBasso DX50/DX90: Major code cleanup and reorganization.
Reorganization
- Separated iBasso devices from PLATFORM_ANDROID. These are now standlone
hosted targets. Most device specific code is in the
firmware/target/hosted/ibasso directory.
- No dependency on Android SDK, only the Android NDK is needed.
32 bit Android NDK and Android API Level 16.
- Separate implementation for each device where feasible.
Code cleanup
- Rewrite of existing code, from simple reformat to complete reimplementation.
- New backlight interface, seperating backlight from touchscreen.
- Rewrite of device button handler, removing unneeded code and fixing memory
leaks.
- New Debug messages interface logging to Android adb logcat (DEBUGF, panicf,
logf).
- Rewrite of lcd device handler, removing unneeded code and fixing memory leaks.
- Rewrite of audiohw device handler/pcm interface, removing unneeded code and
fixing memory leaks, enabling 44.1/48kHz pthreaded playback.
- Rewrite of power and powermng, proper shutdown, using batterylog results
(see http://gerrit.rockbox.org/r/#/c/1047/).
- Rewrite of configure (Android NDK) and device specific config.
- Rewrite of the Android NDK specific Makefile.
Misc
- All plugins/games/demos activated.
- Update tinyalsa to latest from https://github.com/tinyalsa/tinyalsa.
Includes
- http://gerrit.rockbox.org/r/#/c/993/
- http://gerrit.rockbox.org/r/#/c/1010/
- http://gerrit.rockbox.org/r/#/c/1035/
Does not include http://gerrit.rockbox.org/r/#/c/1007/ due to new backlight
interface and new option for hold switch, touchscreen, physical button
interaction.
Rockbox needs the iBasso DX50/DX90 loader for startup, see
http://gerrit.rockbox.org/r/#/c/1099/
The loader expects Rockbox to be installed in /mnt/sdcard/.rockbox/. If
/mnt/sdcard/ is accessed as USB mass storage device, Rockbox will exit
gracefully and the loader will restart Rockbox on USB disconnect.
Tested on iBasso DX50.
Compiled (not tested) for iBasso DX90.
Compiled (not tested) for PLATFORM_ANDROID.
Change-Id: I5f5e22e68f5b4cf29c28e2b40b2c265f2beb7ab7
2015-02-02 20:44:29 +00:00
|
|
|
# arch dependant stuff
|
2020-04-13 03:17:45 +00:00
|
|
|
case $2 in
|
iBasso DX50/DX90: Major code cleanup and reorganization.
Reorganization
- Separated iBasso devices from PLATFORM_ANDROID. These are now standlone
hosted targets. Most device specific code is in the
firmware/target/hosted/ibasso directory.
- No dependency on Android SDK, only the Android NDK is needed.
32 bit Android NDK and Android API Level 16.
- Separate implementation for each device where feasible.
Code cleanup
- Rewrite of existing code, from simple reformat to complete reimplementation.
- New backlight interface, seperating backlight from touchscreen.
- Rewrite of device button handler, removing unneeded code and fixing memory
leaks.
- New Debug messages interface logging to Android adb logcat (DEBUGF, panicf,
logf).
- Rewrite of lcd device handler, removing unneeded code and fixing memory leaks.
- Rewrite of audiohw device handler/pcm interface, removing unneeded code and
fixing memory leaks, enabling 44.1/48kHz pthreaded playback.
- Rewrite of power and powermng, proper shutdown, using batterylog results
(see http://gerrit.rockbox.org/r/#/c/1047/).
- Rewrite of configure (Android NDK) and device specific config.
- Rewrite of the Android NDK specific Makefile.
Misc
- All plugins/games/demos activated.
- Update tinyalsa to latest from https://github.com/tinyalsa/tinyalsa.
Includes
- http://gerrit.rockbox.org/r/#/c/993/
- http://gerrit.rockbox.org/r/#/c/1010/
- http://gerrit.rockbox.org/r/#/c/1035/
Does not include http://gerrit.rockbox.org/r/#/c/1007/ due to new backlight
interface and new option for hold switch, touchscreen, physical button
interaction.
Rockbox needs the iBasso DX50/DX90 loader for startup, see
http://gerrit.rockbox.org/r/#/c/1099/
The loader expects Rockbox to be installed in /mnt/sdcard/.rockbox/. If
/mnt/sdcard/ is accessed as USB mass storage device, Rockbox will exit
gracefully and the loader will restart Rockbox on USB disconnect.
Tested on iBasso DX50.
Compiled (not tested) for iBasso DX90.
Compiled (not tested) for PLATFORM_ANDROID.
Change-Id: I5f5e22e68f5b4cf29c28e2b40b2c265f2beb7ab7
2015-02-02 20:44:29 +00:00
|
|
|
armeabi)
|
|
|
|
endian="little"
|
2020-04-13 03:17:45 +00:00
|
|
|
gccchoice="4.9"
|
iBasso DX50/DX90: Major code cleanup and reorganization.
Reorganization
- Separated iBasso devices from PLATFORM_ANDROID. These are now standlone
hosted targets. Most device specific code is in the
firmware/target/hosted/ibasso directory.
- No dependency on Android SDK, only the Android NDK is needed.
32 bit Android NDK and Android API Level 16.
- Separate implementation for each device where feasible.
Code cleanup
- Rewrite of existing code, from simple reformat to complete reimplementation.
- New backlight interface, seperating backlight from touchscreen.
- Rewrite of device button handler, removing unneeded code and fixing memory
leaks.
- New Debug messages interface logging to Android adb logcat (DEBUGF, panicf,
logf).
- Rewrite of lcd device handler, removing unneeded code and fixing memory leaks.
- Rewrite of audiohw device handler/pcm interface, removing unneeded code and
fixing memory leaks, enabling 44.1/48kHz pthreaded playback.
- Rewrite of power and powermng, proper shutdown, using batterylog results
(see http://gerrit.rockbox.org/r/#/c/1047/).
- Rewrite of configure (Android NDK) and device specific config.
- Rewrite of the Android NDK specific Makefile.
Misc
- All plugins/games/demos activated.
- Update tinyalsa to latest from https://github.com/tinyalsa/tinyalsa.
Includes
- http://gerrit.rockbox.org/r/#/c/993/
- http://gerrit.rockbox.org/r/#/c/1010/
- http://gerrit.rockbox.org/r/#/c/1035/
Does not include http://gerrit.rockbox.org/r/#/c/1007/ due to new backlight
interface and new option for hold switch, touchscreen, physical button
interaction.
Rockbox needs the iBasso DX50/DX90 loader for startup, see
http://gerrit.rockbox.org/r/#/c/1099/
The loader expects Rockbox to be installed in /mnt/sdcard/.rockbox/. If
/mnt/sdcard/ is accessed as USB mass storage device, Rockbox will exit
gracefully and the loader will restart Rockbox on USB disconnect.
Tested on iBasso DX50.
Compiled (not tested) for iBasso DX90.
Compiled (not tested) for PLATFORM_ANDROID.
Change-Id: I5f5e22e68f5b4cf29c28e2b40b2c265f2beb7ab7
2015-02-02 20:44:29 +00:00
|
|
|
gcctarget="arm-linux-androideabi-"
|
2020-04-13 03:17:45 +00:00
|
|
|
echo "${make_toolchain} --toolchain=arm-linux-androideabi-4.9 --platform=android-$ANDROID_PLATFORM_VERSION --install-dir=${pwd}/android-toolchain"
|
|
|
|
${make_toolchain} --toolchain=arm-linux-androideabi-4.9 --platform=android-$ANDROID_PLATFORM_VERSION --install-dir=${pwd}/android-toolchain
|
iBasso DX50/DX90: Major code cleanup and reorganization.
Reorganization
- Separated iBasso devices from PLATFORM_ANDROID. These are now standlone
hosted targets. Most device specific code is in the
firmware/target/hosted/ibasso directory.
- No dependency on Android SDK, only the Android NDK is needed.
32 bit Android NDK and Android API Level 16.
- Separate implementation for each device where feasible.
Code cleanup
- Rewrite of existing code, from simple reformat to complete reimplementation.
- New backlight interface, seperating backlight from touchscreen.
- Rewrite of device button handler, removing unneeded code and fixing memory
leaks.
- New Debug messages interface logging to Android adb logcat (DEBUGF, panicf,
logf).
- Rewrite of lcd device handler, removing unneeded code and fixing memory leaks.
- Rewrite of audiohw device handler/pcm interface, removing unneeded code and
fixing memory leaks, enabling 44.1/48kHz pthreaded playback.
- Rewrite of power and powermng, proper shutdown, using batterylog results
(see http://gerrit.rockbox.org/r/#/c/1047/).
- Rewrite of configure (Android NDK) and device specific config.
- Rewrite of the Android NDK specific Makefile.
Misc
- All plugins/games/demos activated.
- Update tinyalsa to latest from https://github.com/tinyalsa/tinyalsa.
Includes
- http://gerrit.rockbox.org/r/#/c/993/
- http://gerrit.rockbox.org/r/#/c/1010/
- http://gerrit.rockbox.org/r/#/c/1035/
Does not include http://gerrit.rockbox.org/r/#/c/1007/ due to new backlight
interface and new option for hold switch, touchscreen, physical button
interaction.
Rockbox needs the iBasso DX50/DX90 loader for startup, see
http://gerrit.rockbox.org/r/#/c/1099/
The loader expects Rockbox to be installed in /mnt/sdcard/.rockbox/. If
/mnt/sdcard/ is accessed as USB mass storage device, Rockbox will exit
gracefully and the loader will restart Rockbox on USB disconnect.
Tested on iBasso DX50.
Compiled (not tested) for iBasso DX90.
Compiled (not tested) for PLATFORM_ANDROID.
Change-Id: I5f5e22e68f5b4cf29c28e2b40b2c265f2beb7ab7
2015-02-02 20:44:29 +00:00
|
|
|
if [ ${?} != 0 ]; then
|
|
|
|
exit
|
|
|
|
fi
|
2020-04-14 20:55:06 +00:00
|
|
|
GCCOPTS="$GCCOPTS -fomit-frame-pointer"
|
iBasso DX50/DX90: Major code cleanup and reorganization.
Reorganization
- Separated iBasso devices from PLATFORM_ANDROID. These are now standlone
hosted targets. Most device specific code is in the
firmware/target/hosted/ibasso directory.
- No dependency on Android SDK, only the Android NDK is needed.
32 bit Android NDK and Android API Level 16.
- Separate implementation for each device where feasible.
Code cleanup
- Rewrite of existing code, from simple reformat to complete reimplementation.
- New backlight interface, seperating backlight from touchscreen.
- Rewrite of device button handler, removing unneeded code and fixing memory
leaks.
- New Debug messages interface logging to Android adb logcat (DEBUGF, panicf,
logf).
- Rewrite of lcd device handler, removing unneeded code and fixing memory leaks.
- Rewrite of audiohw device handler/pcm interface, removing unneeded code and
fixing memory leaks, enabling 44.1/48kHz pthreaded playback.
- Rewrite of power and powermng, proper shutdown, using batterylog results
(see http://gerrit.rockbox.org/r/#/c/1047/).
- Rewrite of configure (Android NDK) and device specific config.
- Rewrite of the Android NDK specific Makefile.
Misc
- All plugins/games/demos activated.
- Update tinyalsa to latest from https://github.com/tinyalsa/tinyalsa.
Includes
- http://gerrit.rockbox.org/r/#/c/993/
- http://gerrit.rockbox.org/r/#/c/1010/
- http://gerrit.rockbox.org/r/#/c/1035/
Does not include http://gerrit.rockbox.org/r/#/c/1007/ due to new backlight
interface and new option for hold switch, touchscreen, physical button
interaction.
Rockbox needs the iBasso DX50/DX90 loader for startup, see
http://gerrit.rockbox.org/r/#/c/1099/
The loader expects Rockbox to be installed in /mnt/sdcard/.rockbox/. If
/mnt/sdcard/ is accessed as USB mass storage device, Rockbox will exit
gracefully and the loader will restart Rockbox on USB disconnect.
Tested on iBasso DX50.
Compiled (not tested) for iBasso DX90.
Compiled (not tested) for PLATFORM_ANDROID.
Change-Id: I5f5e22e68f5b4cf29c28e2b40b2c265f2beb7ab7
2015-02-02 20:44:29 +00:00
|
|
|
;;
|
|
|
|
*)
|
|
|
|
echo "ERROR: androidndkcc(): Unknown target architecture"
|
|
|
|
exit
|
|
|
|
;;
|
|
|
|
esac
|
|
|
|
|
2020-04-13 03:17:45 +00:00
|
|
|
# -fuse-ld=bfd is needed because toolchain defaults to 'gold'
|
|
|
|
# which often crashes when linking.
|
|
|
|
LDOPTS="$LDOPTS -fuse-ld=bfd --sysroot=${pwd}/android-toolchain/sysroot"
|
|
|
|
GCCOPTS="$GCCOPTS -fuse-ld=bfd --sysroot=${pwd}/android-toolchain/sysroot"
|
|
|
|
|
iBasso DX50/DX90: Major code cleanup and reorganization.
Reorganization
- Separated iBasso devices from PLATFORM_ANDROID. These are now standlone
hosted targets. Most device specific code is in the
firmware/target/hosted/ibasso directory.
- No dependency on Android SDK, only the Android NDK is needed.
32 bit Android NDK and Android API Level 16.
- Separate implementation for each device where feasible.
Code cleanup
- Rewrite of existing code, from simple reformat to complete reimplementation.
- New backlight interface, seperating backlight from touchscreen.
- Rewrite of device button handler, removing unneeded code and fixing memory
leaks.
- New Debug messages interface logging to Android adb logcat (DEBUGF, panicf,
logf).
- Rewrite of lcd device handler, removing unneeded code and fixing memory leaks.
- Rewrite of audiohw device handler/pcm interface, removing unneeded code and
fixing memory leaks, enabling 44.1/48kHz pthreaded playback.
- Rewrite of power and powermng, proper shutdown, using batterylog results
(see http://gerrit.rockbox.org/r/#/c/1047/).
- Rewrite of configure (Android NDK) and device specific config.
- Rewrite of the Android NDK specific Makefile.
Misc
- All plugins/games/demos activated.
- Update tinyalsa to latest from https://github.com/tinyalsa/tinyalsa.
Includes
- http://gerrit.rockbox.org/r/#/c/993/
- http://gerrit.rockbox.org/r/#/c/1010/
- http://gerrit.rockbox.org/r/#/c/1035/
Does not include http://gerrit.rockbox.org/r/#/c/1007/ due to new backlight
interface and new option for hold switch, touchscreen, physical button
interaction.
Rockbox needs the iBasso DX50/DX90 loader for startup, see
http://gerrit.rockbox.org/r/#/c/1099/
The loader expects Rockbox to be installed in /mnt/sdcard/.rockbox/. If
/mnt/sdcard/ is accessed as USB mass storage device, Rockbox will exit
gracefully and the loader will restart Rockbox on USB disconnect.
Tested on iBasso DX50.
Compiled (not tested) for iBasso DX90.
Compiled (not tested) for PLATFORM_ANDROID.
Change-Id: I5f5e22e68f5b4cf29c28e2b40b2c265f2beb7ab7
2015-02-02 20:44:29 +00:00
|
|
|
echo "Using endian ${endian}"
|
|
|
|
echo "Using gccchoice ${gccchoice}"
|
|
|
|
echo "Using gcctarget ${gcctarget}"
|
|
|
|
|
|
|
|
PATH=$PATH:${pwd}/android-toolchain/bin
|
|
|
|
prefixtools $gcctarget
|
|
|
|
}
|
|
|
|
|
2017-04-27 09:36:40 +00:00
|
|
|
mipsellinuxcc () {
|
|
|
|
GCCOPTS=`echo $CCOPTS | sed -e s/-ffreestanding// -e s/-nostdlib//`
|
2020-09-26 21:19:07 +00:00
|
|
|
GCCOPTS="$GCCOPTS -march=mips32r2 -mhard-float -mno-mips16 -mno-long-calls -Umips -fPIC"
|
2017-04-27 09:36:40 +00:00
|
|
|
GCCOPTIMIZE=''
|
|
|
|
LDOPTS="-lasound -lpthread -lm -ldl -lrt $LDOPTS"
|
|
|
|
GLOBAL_LDOPTS="$GLOBAL_LDOPTS -Wl,-z,defs"
|
2021-07-08 22:14:27 +00:00
|
|
|
SHARED_LDFLAGS="-shared"
|
2017-04-27 09:36:40 +00:00
|
|
|
SHARED_CFLAGS='-fPIC -fvisibility=hidden'
|
|
|
|
endian="little"
|
|
|
|
thread_support="HAVE_SIGALTSTACK_THREADS"
|
|
|
|
|
|
|
|
# Include path
|
|
|
|
GCCOPTS="$GCCOPTS -D_GNU_SOURCE=1 -U_FORTIFY_SOURCE -D_REENTRANT"
|
|
|
|
|
|
|
|
# Set up compiler
|
|
|
|
gccchoice="4.9.4"
|
|
|
|
prefixtools "mipsel-rockbox-linux-gnu-"
|
|
|
|
}
|
|
|
|
|
2007-03-03 00:36:54 +00:00
|
|
|
whichadvanced () {
|
2009-08-09 19:02:22 +00:00
|
|
|
atype=`echo "$1" | cut -c 2-`
|
2005-05-30 13:00:43 +00:00
|
|
|
##################################################################
|
|
|
|
# Prompt for specific developer options
|
|
|
|
#
|
2009-08-09 19:02:22 +00:00
|
|
|
if [ "$atype" ]; then
|
|
|
|
interact=
|
|
|
|
else
|
|
|
|
interact=1
|
|
|
|
echo ""
|
2010-06-22 18:34:03 +00:00
|
|
|
printf "Enter your developer options (press only enter when done)\n\
|
2020-11-18 13:30:01 +00:00
|
|
|
(D)EBUG, (L)ogf, Boot(c)hart, (S)imulator, (P)rofiling, (V)oice, (U)SB Serial, (W)in32 crosscompile,\n\
|
2021-08-14 11:37:19 +00:00
|
|
|
Win(6)4 crosscompile, (T)est plugins, (O)mit plugins, S(m)all C lib, Logf to Ser(i)al port:"
|
2009-12-07 12:19:08 +00:00
|
|
|
if [ "$modelname" = "iaudiom5" ]; then
|
2009-08-09 19:02:22 +00:00
|
|
|
printf ", (F)M radio MOD"
|
|
|
|
fi
|
2009-12-07 12:19:08 +00:00
|
|
|
if [ "$modelname" = "iriverh120" ]; then
|
2009-08-09 19:02:22 +00:00
|
|
|
printf ", (R)TC MOD"
|
|
|
|
fi
|
|
|
|
echo ""
|
2009-06-12 18:53:44 +00:00
|
|
|
fi
|
2007-03-03 00:36:54 +00:00
|
|
|
|
2005-05-30 13:00:43 +00:00
|
|
|
cont=1
|
|
|
|
while [ $cont = "1" ]; do
|
|
|
|
|
2009-08-09 19:02:22 +00:00
|
|
|
if [ "$interact" ]; then
|
|
|
|
option=`input`
|
|
|
|
else
|
|
|
|
option=`echo "$atype" | cut -c 1`
|
|
|
|
fi
|
2005-05-30 13:00:43 +00:00
|
|
|
|
|
|
|
case $option in
|
|
|
|
[Dd])
|
2006-01-18 20:54:13 +00:00
|
|
|
if [ "yes" = "$profile" ]; then
|
|
|
|
echo "Debug is incompatible with profiling"
|
|
|
|
else
|
2009-08-09 19:02:22 +00:00
|
|
|
echo "DEBUG build enabled"
|
2006-01-18 20:54:13 +00:00
|
|
|
use_debug="yes"
|
|
|
|
fi
|
2005-05-30 13:00:43 +00:00
|
|
|
;;
|
|
|
|
[Ll])
|
|
|
|
echo "logf() support enabled"
|
2006-01-18 20:54:13 +00:00
|
|
|
logf="yes"
|
2005-05-30 13:00:43 +00:00
|
|
|
;;
|
2010-06-22 18:34:03 +00:00
|
|
|
[Mm])
|
|
|
|
echo "Using Rockbox' small C library"
|
|
|
|
extradefines="$extradefines -DHAVE_ROCKBOX_C_LIBRARY"
|
|
|
|
;;
|
2010-04-05 16:09:47 +00:00
|
|
|
[Tt])
|
|
|
|
echo "Including test plugins"
|
|
|
|
extradefines="$extradefines -DHAVE_TEST_PLUGINS"
|
|
|
|
;;
|
2021-08-14 11:37:19 +00:00
|
|
|
[Oo])
|
|
|
|
echo "Disabling building of plugins"
|
|
|
|
plugins="no"
|
|
|
|
;;
|
2010-04-02 14:19:22 +00:00
|
|
|
[Cc])
|
2011-09-09 10:28:36 +00:00
|
|
|
echo "bootchart enabled (logf also enabled)"
|
2010-04-01 16:27:21 +00:00
|
|
|
bootchart="yes"
|
|
|
|
logf="yes"
|
|
|
|
;;
|
2011-09-09 10:28:36 +00:00
|
|
|
[Ii])
|
|
|
|
echo "Logf to serial port enabled (logf also enabled)"
|
|
|
|
logf="yes"
|
|
|
|
logf_serial="yes"
|
|
|
|
;;
|
2005-05-30 13:00:43 +00:00
|
|
|
[Ss])
|
|
|
|
echo "Simulator build enabled"
|
|
|
|
simulator="yes"
|
|
|
|
;;
|
2006-01-18 20:54:13 +00:00
|
|
|
[Pp])
|
|
|
|
if [ "yes" = "$use_debug" ]; then
|
|
|
|
echo "Profiling is incompatible with debug"
|
|
|
|
else
|
|
|
|
echo "Profiling support is enabled"
|
|
|
|
profile="yes"
|
|
|
|
fi
|
|
|
|
;;
|
2007-08-08 22:01:06 +00:00
|
|
|
[Vv])
|
|
|
|
echo "Voice build selected"
|
|
|
|
voice="yes"
|
|
|
|
;;
|
2009-06-12 18:53:44 +00:00
|
|
|
[Ff])
|
2009-12-07 12:19:08 +00:00
|
|
|
if [ "$modelname" = "iaudiom5" ]; then
|
2009-06-12 18:53:44 +00:00
|
|
|
have_fmradio_in="#define HAVE_FMRADIO_IN"
|
|
|
|
echo "FM radio functions enabled"
|
|
|
|
fi
|
|
|
|
;;
|
2007-03-03 00:36:54 +00:00
|
|
|
[Rr])
|
2009-12-07 12:19:08 +00:00
|
|
|
if [ "$modelname" = "iriverh120" ]; then
|
2007-03-03 00:36:54 +00:00
|
|
|
config_rtc="#define CONFIG_RTC RTC_DS1339_DS3231"
|
|
|
|
have_rtc_alarm="#define HAVE_RTC_ALARM"
|
|
|
|
echo "RTC functions enabled (DS1339/DS3231)"
|
|
|
|
fi
|
|
|
|
;;
|
2020-11-18 13:30:01 +00:00
|
|
|
[Uu])
|
|
|
|
echo "USB Serial support enabled"
|
|
|
|
use_usb_serial="#define USB_ENABLE_SERIAL"
|
|
|
|
logf="yes"
|
|
|
|
;;
|
2009-10-12 18:49:29 +00:00
|
|
|
[Ww])
|
2017-01-15 11:53:13 +00:00
|
|
|
echo "Enabling Windows cross-compiling (32-bit)"
|
|
|
|
win32crosscompile="yes"
|
|
|
|
win64=""
|
|
|
|
;;
|
|
|
|
[6])
|
|
|
|
echo "Enabling Windows cross-compiling (64-bit)"
|
2010-07-04 15:02:11 +00:00
|
|
|
win32crosscompile="yes"
|
2017-01-15 11:53:13 +00:00
|
|
|
win64="yes"
|
2009-10-12 18:49:29 +00:00
|
|
|
;;
|
2010-07-31 14:52:56 +00:00
|
|
|
"") # Match enter press when finished with advanced options
|
|
|
|
cont=0
|
|
|
|
;;
|
2005-05-30 13:00:43 +00:00
|
|
|
*)
|
2010-07-31 14:52:56 +00:00
|
|
|
echo "[ERROR] Option $option unsupported"
|
2005-05-30 13:00:43 +00:00
|
|
|
;;
|
2007-01-13 02:24:15 +00:00
|
|
|
esac
|
2009-12-25 18:33:47 +00:00
|
|
|
if [ "$interact" ]; then
|
|
|
|
btype="$btype$option"
|
|
|
|
else
|
2009-08-09 19:02:22 +00:00
|
|
|
atype=`echo "$atype" | cut -c 2-`
|
|
|
|
[ "$atype" ] || cont=0
|
|
|
|
fi
|
2005-05-30 13:00:43 +00:00
|
|
|
done
|
2007-03-03 00:36:54 +00:00
|
|
|
echo "done"
|
2005-05-30 13:00:43 +00:00
|
|
|
|
2007-08-08 22:01:06 +00:00
|
|
|
if [ "yes" = "$voice" ]; then
|
2007-08-13 12:21:16 +00:00
|
|
|
# Ask about languages to build
|
|
|
|
picklang
|
|
|
|
voicelanguage=`whichlang`
|
|
|
|
echo "Voice language set to $voicelanguage"
|
|
|
|
|
|
|
|
# Configure encoder and TTS engine for each language
|
|
|
|
for thislang in `echo $voicelanguage | sed 's/,/ /g'`; do
|
|
|
|
voiceconfig "$thislang"
|
|
|
|
done
|
2007-08-08 22:01:06 +00:00
|
|
|
fi
|
2006-01-18 20:54:13 +00:00
|
|
|
if [ "yes" = "$use_debug" ]; then
|
|
|
|
debug="-DDEBUG"
|
|
|
|
GCCOPTS="$GCCOPTS -g -DDEBUG"
|
|
|
|
fi
|
|
|
|
if [ "yes" = "$logf" ]; then
|
|
|
|
use_logf="#define ROCKBOX_HAS_LOGF 1"
|
|
|
|
fi
|
2011-09-09 10:28:36 +00:00
|
|
|
if [ "yes" = "$logf_serial" ]; then
|
|
|
|
use_logf_serial="#define LOGF_SERIAL 1"
|
|
|
|
fi
|
2010-04-01 16:27:21 +00:00
|
|
|
if [ "yes" = "$bootchart" ]; then
|
|
|
|
use_bootchart="#define DO_BOOTCHART 1"
|
|
|
|
fi
|
2005-05-30 13:00:43 +00:00
|
|
|
if [ "yes" = "$simulator" ]; then
|
2005-08-30 21:21:06 +00:00
|
|
|
debug="-DDEBUG"
|
2013-06-13 16:42:29 +00:00
|
|
|
extradefines="$extradefines -DSIMULATOR -DHAVE_TEST_PLUGINS"
|
2009-04-21 16:13:00 +00:00
|
|
|
flash=""
|
2005-05-30 13:00:43 +00:00
|
|
|
fi
|
2006-01-18 20:54:13 +00:00
|
|
|
if [ "yes" = "$profile" ]; then
|
|
|
|
extradefines="$extradefines -DRB_PROFILE"
|
|
|
|
PROFILE_OPTS="-finstrument-functions"
|
|
|
|
fi
|
2005-05-30 13:00:43 +00:00
|
|
|
}
|
|
|
|
|
2007-08-13 12:21:16 +00:00
|
|
|
# Configure voice settings
|
2006-11-03 21:47:52 +00:00
|
|
|
voiceconfig () {
|
2007-08-13 12:21:16 +00:00
|
|
|
thislang=$1
|
2009-08-09 19:02:22 +00:00
|
|
|
if [ ! "$ARG_TTS" ]; then
|
|
|
|
echo "Building $thislang voice for $modelname. Select options"
|
|
|
|
echo ""
|
|
|
|
fi
|
2006-11-03 21:47:52 +00:00
|
|
|
|
2008-10-08 23:18:23 +00:00
|
|
|
if [ -n "`findtool flite`" ]; then
|
2006-11-03 21:47:52 +00:00
|
|
|
FLITE="F(l)ite "
|
2007-08-25 22:00:13 +00:00
|
|
|
FLITE_OPTS=""
|
2006-11-03 21:47:52 +00:00
|
|
|
DEFAULT_TTS="flite"
|
|
|
|
DEFAULT_TTS_OPTS=$FLITE_OPTS
|
2012-01-08 13:59:15 +00:00
|
|
|
DEFAULT_CHOICE="l"
|
2006-11-03 21:47:52 +00:00
|
|
|
fi
|
2008-10-08 23:18:23 +00:00
|
|
|
if [ -n "`findtool espeak`" ]; then
|
2006-11-03 21:47:52 +00:00
|
|
|
ESPEAK="(e)Speak "
|
2007-08-25 22:00:13 +00:00
|
|
|
ESPEAK_OPTS=""
|
2006-11-03 21:47:52 +00:00
|
|
|
DEFAULT_TTS="espeak"
|
|
|
|
DEFAULT_TTS_OPTS=$ESPEAK_OPTS
|
|
|
|
DEFAULT_CHOICE="e"
|
|
|
|
fi
|
2020-07-10 23:49:35 +00:00
|
|
|
if [ -n "`findtool espeak-ng`" ]; then
|
|
|
|
ESPEAK="(e)Speak-ng "
|
|
|
|
ESPEAK_OPTS=""
|
|
|
|
DEFAULT_TTS="espeak-ng"
|
|
|
|
DEFAULT_TTS_OPTS=$ESPEAK_OPTS
|
|
|
|
DEFAULT_CHOICE="e"
|
|
|
|
fi
|
2008-10-08 23:18:23 +00:00
|
|
|
if [ -n "`findtool festival`" ]; then
|
2006-11-03 21:47:52 +00:00
|
|
|
FESTIVAL="(F)estival "
|
2020-07-08 23:05:09 +00:00
|
|
|
FESTIVAL_OPTS=""
|
2006-11-03 21:47:52 +00:00
|
|
|
DEFAULT_TTS="festival"
|
|
|
|
DEFAULT_TTS_OPTS=$FESTIVAL_OPTS
|
2012-01-08 13:59:15 +00:00
|
|
|
DEFAULT_CHOICE="f"
|
2006-11-03 21:47:52 +00:00
|
|
|
fi
|
2020-04-16 19:03:27 +00:00
|
|
|
if [ -n "`findtool mimic`" ]; then
|
|
|
|
MIMIC="(M)imic "
|
|
|
|
MIMIC_OPTS=""
|
|
|
|
DEFAULT_TTS="mimic"
|
|
|
|
DEFAULT_TTS_OPTS=$MIMIC_OPTS
|
|
|
|
DEFAULT_CHOICE="M"
|
|
|
|
fi
|
2008-10-08 23:18:23 +00:00
|
|
|
if [ -n "`findtool swift`" ]; then
|
2007-09-01 20:03:20 +00:00
|
|
|
SWIFT="S(w)ift "
|
|
|
|
SWIFT_OPTS=""
|
|
|
|
DEFAULT_TTS="swift"
|
|
|
|
DEFAULT_TTS_OPTS=$SWIFT_OPTS
|
|
|
|
DEFAULT_CHOICE="w"
|
|
|
|
fi
|
2007-08-09 12:07:42 +00:00
|
|
|
# Allow SAPI if Windows is in use
|
2008-10-08 23:18:23 +00:00
|
|
|
if [ -n "`findtool winver`" ]; then
|
2007-09-02 22:32:34 +00:00
|
|
|
SAPI="(S)API "
|
|
|
|
SAPI_OPTS=""
|
|
|
|
DEFAULT_TTS="sapi"
|
|
|
|
DEFAULT_TTS_OPTS=$SAPI_OPTS
|
2020-07-08 23:05:09 +00:00
|
|
|
DEFAULT_CHOICE="S"
|
|
|
|
fi
|
|
|
|
if [ -n "`findtool gtts-cli`" ]; then
|
|
|
|
GTTS="(g)tts "
|
|
|
|
GTTS_OPTS=""
|
|
|
|
DEFAULT_TTS="gtts"
|
|
|
|
DEFAULT_TTS_OPTS=$GTTS_OPTS
|
|
|
|
DEFAULT_CHOICE="g"
|
|
|
|
fi
|
|
|
|
if [ -n "`findtool rbspeak`" ]; then
|
|
|
|
RBSPEAK="(O)ther "
|
|
|
|
RBSPEAK_OPTS=""
|
|
|
|
DEFAULT_TTS="rbspeak"
|
|
|
|
DEFAULT_TTS_OPTS=$RBSPEAK_OPTS
|
|
|
|
DEFAULT_CHOICE="O"
|
2007-08-09 12:07:42 +00:00
|
|
|
fi
|
2006-11-03 21:47:52 +00:00
|
|
|
|
2021-07-09 15:08:30 +00:00
|
|
|
if [ "$FESTIVAL" = "$FLITE" ] && [ "$FLITE" = "$ESPEAK" ] && [ "$ESPEAK" = "$SAPI" ] && [ "$SAPI" = "$MIMIC" ] && [ "$MIMIC" = "$SWIFT" ] && [ "$SWIFT" = "$GTTS" ] && [ "$GTTS" = "$RBSPEAK" ] ; then
|
2020-07-11 14:05:40 +00:00
|
|
|
echo "You need Festival, eSpeak, Mimic, Flite, gtts, or rbspeak in your path, or SAPI available to build voice files"
|
2008-12-11 17:24:04 +00:00
|
|
|
exit 3
|
2006-11-03 21:47:52 +00:00
|
|
|
fi
|
|
|
|
|
2009-08-09 19:02:22 +00:00
|
|
|
if [ "$ARG_TTS" ]; then
|
|
|
|
option=$ARG_TTS
|
|
|
|
else
|
2020-07-08 23:05:09 +00:00
|
|
|
echo "TTS engine to use: ${FLITE}${FESTIVAL}${ESPEAK}${MIMIC}${SAPI}${SWIFT}${GTTS}${RBSPEAK}(${DEFAULT_CHOICE})?"
|
2009-08-09 19:02:22 +00:00
|
|
|
option=`input`
|
2012-01-08 13:59:15 +00:00
|
|
|
if [ -z "$option" ]; then option=${DEFAULT_CHOICE}; fi
|
|
|
|
advopts="$advopts --tts=$option"
|
2009-08-09 19:02:22 +00:00
|
|
|
fi
|
2006-11-03 21:47:52 +00:00
|
|
|
case "$option" in
|
2020-07-11 14:05:40 +00:00
|
|
|
[Ll]|flite)
|
2006-11-03 21:47:52 +00:00
|
|
|
TTS_ENGINE="flite"
|
|
|
|
TTS_OPTS=$FLITE_OPTS
|
|
|
|
;;
|
2020-07-11 14:05:40 +00:00
|
|
|
[Ee]|espeak)
|
2006-11-03 21:47:52 +00:00
|
|
|
TTS_ENGINE="espeak"
|
|
|
|
TTS_OPTS=$ESPEAK_OPTS
|
|
|
|
;;
|
2020-07-11 14:05:40 +00:00
|
|
|
[Ff]|festival)
|
2006-11-03 21:47:52 +00:00
|
|
|
TTS_ENGINE="festival"
|
|
|
|
TTS_OPTS=$FESTIVAL_OPTS
|
|
|
|
;;
|
2020-07-11 14:05:40 +00:00
|
|
|
[Mm]|mimic)
|
2020-04-16 19:03:27 +00:00
|
|
|
TTS_ENGINE="mimic"
|
|
|
|
TTS_OPTS=$MIMIC_OPTS
|
|
|
|
;;
|
2020-07-11 14:05:40 +00:00
|
|
|
[Ss]|sapi)
|
2007-09-02 22:32:34 +00:00
|
|
|
TTS_ENGINE="sapi"
|
|
|
|
TTS_OPTS=$SAPI_OPTS
|
2007-08-09 12:07:42 +00:00
|
|
|
;;
|
2020-07-11 14:05:40 +00:00
|
|
|
[Ww]|swift)
|
2007-09-01 20:03:20 +00:00
|
|
|
TTS_ENGINE="swift"
|
|
|
|
TTS_OPTS=$SWIFT_OPTS
|
|
|
|
;;
|
2020-07-11 14:05:40 +00:00
|
|
|
[Gg]|gtts)
|
2020-07-08 23:05:09 +00:00
|
|
|
TTS_ENGINE="gtts"
|
|
|
|
TTS_OPTS=$GTTS_OPTS
|
|
|
|
;;
|
2020-07-11 14:05:40 +00:00
|
|
|
[Oo]|rbspeak)
|
2018-12-23 01:26:09 +00:00
|
|
|
TTS_ENGINE="rbspeak"
|
|
|
|
TTS_OPTS=$RBSPEAK_OPTS
|
|
|
|
;;
|
2006-11-03 21:47:52 +00:00
|
|
|
*)
|
|
|
|
TTS_ENGINE=$DEFAULT_TTS
|
|
|
|
TTS_OPTS=$DEFAULT_TTS_OPTS
|
|
|
|
esac
|
|
|
|
echo "Using $TTS_ENGINE for TTS"
|
2007-01-13 02:24:15 +00:00
|
|
|
|
2009-03-02 21:36:48 +00:00
|
|
|
# Select which voice to use for Festival
|
|
|
|
if [ "$TTS_ENGINE" = "festival" ]; then
|
2009-08-09 19:02:22 +00:00
|
|
|
voicelist=`echo "(voice.list)"|festival -i 2>/dev/null |tr "\n" " "|sed -e 's/.*festival> (\(.*\)) festival>/\1/'|sort`
|
|
|
|
for voice in $voicelist; do
|
|
|
|
TTS_FESTIVAL_VOICE="$voice" # Default choice
|
|
|
|
break
|
2009-03-02 21:36:48 +00:00
|
|
|
done
|
2009-08-09 19:02:22 +00:00
|
|
|
if [ "$ARG_VOICE" ]; then
|
|
|
|
CHOICE=$ARG_VOICE
|
|
|
|
else
|
|
|
|
i=1
|
|
|
|
for voice in $voicelist; do
|
|
|
|
printf "%3d. %s\n" "$i" "$voice"
|
|
|
|
i=`expr $i + 1`
|
|
|
|
done
|
|
|
|
printf "Please select which Festival voice to use (default is $TTS_FESTIVAL_VOICE): "
|
|
|
|
CHOICE=`input`
|
|
|
|
fi
|
2009-03-02 21:36:48 +00:00
|
|
|
i=1
|
2009-08-09 19:02:22 +00:00
|
|
|
for voice in $voicelist; do
|
2009-03-02 21:36:48 +00:00
|
|
|
if [ "$i" = "$CHOICE" -o "$voice" = "$CHOICE" ]; then
|
|
|
|
TTS_FESTIVAL_VOICE="$voice"
|
|
|
|
fi
|
|
|
|
i=`expr $i + 1`
|
|
|
|
done
|
2009-08-09 19:02:22 +00:00
|
|
|
advopts="$advopts --voice=$CHOICE"
|
2009-03-02 21:36:48 +00:00
|
|
|
echo "Festival voice set to $TTS_FESTIVAL_VOICE"
|
|
|
|
echo "(voice_$TTS_FESTIVAL_VOICE)" > festival-prolog.scm
|
2020-04-16 19:03:27 +00:00
|
|
|
elif [ "$TTS_ENGINE" = "mimic" ]; then
|
|
|
|
voicelist=`mimic -lv | cut -d':' -f2`
|
|
|
|
for voice in $voicelist; do
|
|
|
|
TTS_MIMIC_VOICE="$voice" # Default choice
|
|
|
|
break
|
|
|
|
done
|
|
|
|
if [ "$ARG_VOICE" ]; then
|
|
|
|
CHOICE=$ARG_VOICE
|
|
|
|
else
|
|
|
|
i=1
|
|
|
|
for voice in $voicelist; do
|
|
|
|
printf "%3d. %s\n" "$i" "$voice"
|
|
|
|
i=`expr $i + 1`
|
|
|
|
done
|
|
|
|
printf "Please select which Mimic voice to use (default is $TTS_MIMIC_VOICE): "
|
|
|
|
CHOICE=`input`
|
|
|
|
fi
|
|
|
|
i=1
|
|
|
|
for voice in $voicelist; do
|
|
|
|
if [ "$i" = "$CHOICE" -o "$voice" = "$CHOICE" ]; then
|
|
|
|
TTS_MIMIC_VOICE="$voice"
|
|
|
|
fi
|
|
|
|
i=`expr $i + 1`
|
|
|
|
done
|
|
|
|
advopts="$advopts --voice=$CHOICE"
|
|
|
|
echo "Mimic voice set to $TTS_MIMIC_VOICE"
|
|
|
|
TTS_OPTS="$TTS_OPTS -voice $TTS_MIMIC_VOICE"
|
2020-07-11 00:40:36 +00:00
|
|
|
elif [ "$TTS_ENGINE" = "espeak" ] ; then
|
|
|
|
if [ -n "`findtool espeak-ng`" ] ; then
|
|
|
|
TTS_ENGINE="espeak-ng"
|
|
|
|
fi
|
2009-03-02 21:36:48 +00:00
|
|
|
fi
|
|
|
|
|
2009-12-08 10:24:59 +00:00
|
|
|
# Read custom tts options from command line
|
2009-08-09 19:02:22 +00:00
|
|
|
if [ "$ARG_TTSOPTS" ]; then
|
2009-12-25 18:35:15 +00:00
|
|
|
TTS_OPTS="$ARG_TTSOPTS"
|
2009-12-08 10:24:59 +00:00
|
|
|
echo "$TTS_ENGINE options set to $TTS_OPTS"
|
2007-08-13 12:21:16 +00:00
|
|
|
fi
|
2006-11-03 21:47:52 +00:00
|
|
|
|
2020-07-17 04:01:32 +00:00
|
|
|
ENCODER="rbspeexenc"
|
|
|
|
ENC_OPTS="-q 7 -c 10"
|
2018-11-05 12:01:55 +00:00
|
|
|
|
2006-11-03 21:47:52 +00:00
|
|
|
echo "Using $ENCODER for encoding voice clips"
|
2007-08-13 12:21:16 +00:00
|
|
|
|
2009-12-08 10:24:59 +00:00
|
|
|
# Read custom encoder options from command line
|
2009-08-09 19:02:22 +00:00
|
|
|
if [ "$ARG_ENCOPTS" ]; then
|
2009-12-08 10:24:59 +00:00
|
|
|
ENC_OPTS="$ARG_ENCOPTS"
|
|
|
|
echo "$ENCODER options set to $ENC_OPTS"
|
2007-08-13 12:21:16 +00:00
|
|
|
fi
|
|
|
|
|
2007-08-09 12:07:42 +00:00
|
|
|
TEMPDIR="${pwd}"
|
2008-10-08 23:18:23 +00:00
|
|
|
if [ -n "`findtool cygpath`" ]; then
|
2007-08-09 12:07:42 +00:00
|
|
|
TEMPDIR=`cygpath . -a -w`
|
|
|
|
fi
|
2006-11-03 21:47:52 +00:00
|
|
|
}
|
|
|
|
|
2007-01-13 02:24:15 +00:00
|
|
|
picklang() {
|
|
|
|
# figure out which languages that are around
|
|
|
|
for file in $rootdir/apps/lang/*.lang; do
|
2009-08-09 19:02:22 +00:00
|
|
|
clean=`basename $file .lang`
|
2007-01-13 02:24:15 +00:00
|
|
|
langs="$langs $clean"
|
|
|
|
done
|
|
|
|
|
2009-08-09 19:02:22 +00:00
|
|
|
if [ "$ARG_LANG" ]; then
|
|
|
|
pick=$ARG_LANG
|
|
|
|
else
|
|
|
|
echo "Select a number for the language to use (default is english)"
|
|
|
|
# FIXME The multiple-language feature is currently broken
|
|
|
|
# echo "You may enter a comma-separated list of languages to build"
|
2007-01-13 02:24:15 +00:00
|
|
|
|
2009-08-09 19:02:22 +00:00
|
|
|
num=1
|
|
|
|
for one in $langs; do
|
|
|
|
echo "$num. $one"
|
|
|
|
num=`expr $num + 1`
|
|
|
|
done
|
|
|
|
pick=`input`
|
2012-01-08 13:59:15 +00:00
|
|
|
advopts="$advopts --language=$pick"
|
2009-08-09 19:02:22 +00:00
|
|
|
fi
|
2007-01-13 02:24:15 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
whichlang() {
|
2007-08-13 12:21:16 +00:00
|
|
|
output=""
|
|
|
|
# Allow the user to pass a comma-separated list of langauges
|
|
|
|
for thispick in `echo $pick | sed 's/,/ /g'`; do
|
|
|
|
num=1
|
|
|
|
for one in $langs; do
|
|
|
|
# Accept both the language number and name
|
|
|
|
if [ "$num" = "$thispick" ] || [ "$thispick" = "$one" ]; then
|
|
|
|
if [ "$output" = "" ]; then
|
|
|
|
output=$one
|
|
|
|
else
|
|
|
|
output=$output,$one
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|
num=`expr $num + 1`
|
|
|
|
done
|
2007-01-13 02:24:15 +00:00
|
|
|
done
|
2009-08-09 19:02:22 +00:00
|
|
|
if [ -z "$output" ]; then
|
|
|
|
# pick a default
|
|
|
|
output="english"
|
|
|
|
fi
|
2007-08-13 12:21:16 +00:00
|
|
|
echo $output
|
2006-11-03 21:47:52 +00:00
|
|
|
}
|
|
|
|
|
2009-08-09 19:02:22 +00:00
|
|
|
help() {
|
2002-10-17 09:08:05 +00:00
|
|
|
echo "Rockbox configure script."
|
|
|
|
echo "Invoke this in a directory to generate a Makefile to build Rockbox"
|
|
|
|
echo "Do *NOT* run this within the tools directory!"
|
2005-06-01 11:42:51 +00:00
|
|
|
echo ""
|
2009-08-09 19:02:22 +00:00
|
|
|
cat <<EOF
|
2008-04-02 21:28:15 +00:00
|
|
|
Usage: configure [OPTION]...
|
|
|
|
Options:
|
|
|
|
--target=TARGET Sets the target, TARGET can be either the target ID or
|
2008-07-17 02:58:53 +00:00
|
|
|
corresponding string. Run without this option to see all
|
2008-04-02 21:28:15 +00:00
|
|
|
available targets.
|
|
|
|
|
|
|
|
--ram=RAM Sets the RAM for certain targets. Even though any number
|
|
|
|
is accepted, not every number is correct. The default
|
|
|
|
value will be applied, if you entered a wrong number
|
|
|
|
(which depends on the target). Watch the output. Run
|
|
|
|
without this option if you are not sure which the right
|
|
|
|
number is.
|
|
|
|
|
2009-08-09 19:02:22 +00:00
|
|
|
--type=TYPE Sets the build type. Shortcuts are also valid.
|
|
|
|
Run without this option to see all available types.
|
|
|
|
Multiple values are allowed and managed in the input
|
|
|
|
order. So --type=b stands for Bootloader build, while
|
|
|
|
--type=ab stands for "Backlight MOD" build.
|
|
|
|
|
2011-06-29 23:10:41 +00:00
|
|
|
--lcdwidth=X Sets the width of the LCD. Used only for application
|
|
|
|
targets.
|
|
|
|
|
|
|
|
--lcdheight=Y Sets the height of the LCD. Used only for application
|
|
|
|
targets.
|
|
|
|
|
2009-08-09 19:02:22 +00:00
|
|
|
--language=LANG Set the language used for voice generation (used only if
|
|
|
|
TYPE is AV).
|
|
|
|
|
|
|
|
--tts=ENGINE Set the TTS engine used for voice generation (used only
|
|
|
|
if TYPE is AV).
|
|
|
|
|
|
|
|
--voice=VOICE Set voice to use with selected TTS (used only if TYPE is
|
|
|
|
AV).
|
|
|
|
|
|
|
|
--ttsopts=OPTS Set TTS engine manual options (used only if TYPE is AV).
|
|
|
|
|
|
|
|
--encopts=OPTS Set encoder manual options (used only if ATYPE is AV).
|
2008-11-24 22:16:07 +00:00
|
|
|
|
|
|
|
--rbdir=dir Use alternative rockbox directory (default: ${rbdir}).
|
|
|
|
This is useful for having multiple alternate builds on
|
|
|
|
your device that you can load with ROLO. However as the
|
|
|
|
bootloader looks for .rockbox you won't be able to boot
|
|
|
|
into this build.
|
|
|
|
|
2008-04-02 21:28:15 +00:00
|
|
|
--ccache Enable ccache use (done by default these days)
|
|
|
|
--no-ccache Disable ccache use
|
2009-11-19 22:47:14 +00:00
|
|
|
|
2010-06-11 11:19:00 +00:00
|
|
|
--thumb Build with -mthumb (for ARM builds)
|
2010-06-11 11:50:19 +00:00
|
|
|
--no-thumb The opposite of --thumb (don't use thumb even for targets
|
|
|
|
where this is the default
|
2011-02-18 22:46:01 +00:00
|
|
|
--sdl-threads Force use of SDL threads. They have inferior performance,
|
2021-04-08 01:48:58 +00:00
|
|
|
but are better debuggable with GDB and valgrind
|
2011-02-18 22:46:01 +00:00
|
|
|
--no-sdl-threads Disallow use of SDL threads. This prevents the default
|
|
|
|
behavior of falling back to them if no native thread
|
|
|
|
support was found.
|
2021-04-08 01:48:58 +00:00
|
|
|
--with-address-sanitizer
|
|
|
|
Enasbles the AddressSanitizer feature. Forces SDL threads.
|
2019-06-18 03:04:42 +00:00
|
|
|
--32-bit Force a 32-bit simulator (use with --sdl-threads for duke3d)
|
2010-07-06 15:06:06 +00:00
|
|
|
--prefix Target installation directory
|
2016-02-02 22:54:48 +00:00
|
|
|
--compiler-prefix Override compiler prefix (inherently dangerous)
|
2008-04-02 21:28:15 +00:00
|
|
|
--help Shows this message (must not be used with other options)
|
|
|
|
|
|
|
|
EOF
|
|
|
|
|
2002-10-17 09:08:05 +00:00
|
|
|
exit
|
2009-08-09 19:02:22 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
ARG_CCACHE=
|
|
|
|
ARG_ENCOPTS=
|
|
|
|
ARG_LANG=
|
|
|
|
ARG_RAM=
|
|
|
|
ARG_RBDIR=
|
|
|
|
ARG_TARGET=
|
|
|
|
ARG_TTS=
|
|
|
|
ARG_TTSOPTS=
|
|
|
|
ARG_TYPE=
|
|
|
|
ARG_VOICE=
|
2010-06-11 11:50:19 +00:00
|
|
|
ARG_ARM_THUMB=
|
2010-11-14 15:29:11 +00:00
|
|
|
ARG_PREFIX="$PREFIX"
|
2011-02-18 22:46:01 +00:00
|
|
|
ARG_THREAD_SUPPORT=
|
2019-06-18 03:04:42 +00:00
|
|
|
ARG_32BIT=
|
2021-04-08 01:48:58 +00:00
|
|
|
ARG_ADDR_SAN=
|
2022-04-17 15:33:39 +00:00
|
|
|
ARG_UBSAN=
|
2018-11-05 12:01:55 +00:00
|
|
|
err=
|
2009-08-09 19:02:22 +00:00
|
|
|
for arg in "$@"; do
|
|
|
|
case "$arg" in
|
|
|
|
--ccache) ARG_CCACHE=1;;
|
2009-11-19 22:47:14 +00:00
|
|
|
--no-ccache) ARG_CCACHE=0;;
|
2009-08-09 19:02:22 +00:00
|
|
|
--encopts=*) ARG_ENCOPTS=`echo "$arg" | cut -d = -f 2`;;
|
|
|
|
--language=*) ARG_LANG=`echo "$arg" | cut -d = -f 2`;;
|
2010-09-24 12:03:15 +00:00
|
|
|
--lcdwidth=*) ARG_LCDWIDTH=`echo "$arg" | cut -d = -f 2`;;
|
|
|
|
--lcdheight=*) ARG_LCDHEIGHT=`echo "$arg" | cut -d = -f 2`;;
|
2009-08-09 19:02:22 +00:00
|
|
|
--ram=*) ARG_RAM=`echo "$arg" | cut -d = -f 2`;;
|
|
|
|
--rbdir=*) ARG_RBDIR=`echo "$arg" | cut -d = -f 2`;;
|
|
|
|
--target=*) ARG_TARGET=`echo "$arg" | cut -d = -f 2`;;
|
|
|
|
--tts=*) ARG_TTS=`echo "$arg" | cut -d = -f 2`;;
|
|
|
|
--ttsopts=*) ARG_TTSOPTS=`echo "$arg" | cut -d = -f 2`;;
|
|
|
|
--type=*) ARG_TYPE=`echo "$arg" | cut -d = -f 2`;;
|
|
|
|
--voice=*) ARG_VOICE=`echo "$arg" | cut -d = -f 2`;;
|
2010-06-11 11:19:00 +00:00
|
|
|
--thumb) ARG_ARM_THUMB=1;;
|
2010-06-11 11:50:19 +00:00
|
|
|
--no-thumb) ARG_ARM_THUMB=0;;
|
2019-06-18 03:04:42 +00:00
|
|
|
--32-bit) ARG_32BIT=1;;
|
2011-02-18 22:46:01 +00:00
|
|
|
--sdl-threads)ARG_THREAD_SUPPORT=1;;
|
|
|
|
--no-sdl-threads)
|
|
|
|
ARG_THREAD_SUPPORT=0;;
|
2021-04-08 01:48:58 +00:00
|
|
|
--with-address-sanitizer) ARG_ADDR_SAN=1;;
|
2022-04-17 15:33:39 +00:00
|
|
|
--with-ubsan) ARG_UBSAN=1;;
|
2010-11-14 15:29:11 +00:00
|
|
|
--prefix=*) ARG_PREFIX=`echo "$arg" | cut -d = -f 2`;;
|
2016-02-02 22:54:48 +00:00
|
|
|
--compiler-prefix=*) ARG_COMPILER_PREFIX=`echo "$arg" | cut -d = -f 2`;;
|
2009-08-09 19:02:22 +00:00
|
|
|
--help) help;;
|
|
|
|
*) err=1; echo "[ERROR] Option '$arg' unsupported";;
|
|
|
|
esac
|
|
|
|
done
|
|
|
|
[ "$err" ] && exit 1
|
|
|
|
|
|
|
|
advopts=
|
|
|
|
|
|
|
|
if [ "$TMPDIR" != "" ]; then
|
|
|
|
tmpdir=$TMPDIR
|
|
|
|
else
|
|
|
|
tmpdir=/tmp
|
2002-10-17 09:08:05 +00:00
|
|
|
fi
|
2009-08-09 19:02:22 +00:00
|
|
|
echo Using temporary directory $tmpdir
|
2002-10-17 09:08:05 +00:00
|
|
|
|
|
|
|
if test -r "configure"; then
|
2015-02-15 19:12:48 +00:00
|
|
|
# this is a check for a configure script in the current directory, if there
|
2002-10-17 09:08:05 +00:00
|
|
|
# is one, try to figure out if it is this one!
|
|
|
|
|
|
|
|
if { grep "^# Jukebox" configure >/dev/null 2>&1 ; } then
|
|
|
|
echo "WEEEEEEEEP. Don't run this configure script within the tools directory."
|
|
|
|
echo "It will only cause you pain and grief. Instead do this:"
|
|
|
|
echo ""
|
|
|
|
echo " cd .."
|
|
|
|
echo " mkdir build-dir"
|
|
|
|
echo " cd build-dir"
|
|
|
|
echo " ../tools/configure"
|
|
|
|
echo ""
|
|
|
|
echo "Much happiness will arise from this. Enjoy"
|
2008-12-11 17:24:04 +00:00
|
|
|
exit 5
|
2002-10-17 09:08:05 +00:00
|
|
|
fi
|
|
|
|
fi
|
|
|
|
|
2015-02-15 19:12:48 +00:00
|
|
|
if test -r "tools/configure"; then
|
|
|
|
# this is a check for a configure script in the tools/ directory, if there
|
|
|
|
# is one, try to figure out if it is this one!
|
|
|
|
|
|
|
|
if { grep "^# Jukebox" tools/configure >/dev/null 2>&1 ; } then
|
|
|
|
echo "WEEEEEEEEP. Don't run this configure script in the root of the tree."
|
|
|
|
echo "It will only cause you pain and grief. Instead do this:"
|
|
|
|
echo ""
|
|
|
|
echo " mkdir build-dir"
|
|
|
|
echo " cd build-dir"
|
|
|
|
echo " ../tools/configure"
|
|
|
|
echo ""
|
|
|
|
echo "Much happiness will arise from this. Enjoy"
|
|
|
|
exit 5
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|
|
2002-05-31 07:22:38 +00:00
|
|
|
# get our current directory
|
|
|
|
pwd=`pwd`;
|
2002-05-23 09:11:35 +00:00
|
|
|
|
2007-04-20 11:02:16 +00:00
|
|
|
if { echo $pwd | grep " "; } then
|
|
|
|
echo "You're running this script in a path that contains space. The build"
|
|
|
|
echo "system is unfortunately not clever enough to deal with this. Please"
|
|
|
|
echo "run the script from a different path, rename the path or fix the build"
|
|
|
|
echo "system!"
|
2008-12-11 17:24:04 +00:00
|
|
|
exit 6
|
2007-04-20 11:02:16 +00:00
|
|
|
fi
|
|
|
|
|
2004-09-22 08:58:50 +00:00
|
|
|
if [ -z "$rootdir" ]; then
|
|
|
|
##################################################################
|
|
|
|
# Figure out where the source code root is!
|
|
|
|
#
|
2006-11-18 22:43:55 +00:00
|
|
|
rootdir=`dirname $0`/../
|
2004-09-22 08:58:50 +00:00
|
|
|
|
|
|
|
#####################################################################
|
|
|
|
# Convert the possibly relative directory name to an absolute version
|
|
|
|
#
|
|
|
|
now=`pwd`
|
|
|
|
cd $rootdir
|
|
|
|
rootdir=`pwd`
|
|
|
|
|
|
|
|
# cd back to the build dir
|
|
|
|
cd $now
|
|
|
|
fi
|
|
|
|
|
2005-05-07 23:16:08 +00:00
|
|
|
apps="apps"
|
2011-08-13 20:29:15 +00:00
|
|
|
appsdir='$(ROOTDIR)/apps'
|
|
|
|
toolsdir='$(ROOTDIR)/tools'
|
2006-02-06 07:25:25 +00:00
|
|
|
|
2005-01-29 00:00:47 +00:00
|
|
|
|
2002-05-23 09:11:35 +00:00
|
|
|
##################################################################
|
|
|
|
# Figure out target platform
|
|
|
|
#
|
|
|
|
|
2009-08-09 19:02:22 +00:00
|
|
|
if [ "$ARG_TARGET" ]; then
|
|
|
|
buildfor=$ARG_TARGET
|
2008-04-02 21:28:15 +00:00
|
|
|
else
|
2005-05-24 09:19:44 +00:00
|
|
|
echo "Enter target platform:"
|
2006-08-30 21:53:26 +00:00
|
|
|
cat <<EOF
|
2020-09-29 13:25:00 +00:00
|
|
|
==Cowon/iAudio== ==iriver== ==Apple iPod==
|
|
|
|
30) X5/X5V/X5L 10) H120/H140 20) Color/Photo
|
|
|
|
31) M5/M5L 11) H320/H340 21) Nano 1G
|
2021-04-23 15:09:49 +00:00
|
|
|
12) iHP-100/110/115 22) Video
|
2021-04-23 15:31:58 +00:00
|
|
|
33) D2 23) 3G
|
2020-09-29 13:25:00 +00:00
|
|
|
34) M3/M3L 14) H10 20Gb 24) 4G Grayscale
|
2020-07-15 23:40:55 +00:00
|
|
|
15) H10 5/6Gb 25) Mini 1G
|
2020-09-29 13:25:00 +00:00
|
|
|
==Creative== 26) Mini 2G
|
|
|
|
89) Zen X-Fi Style ==Toshiba== 27) 1G, 2G
|
|
|
|
90) Zen Vision:M 30GB 40) Gigabeat F/X 28) Nano 2G
|
|
|
|
91) Zen Vision:M 60GB 41) Gigabeat S 29) Classic/6G
|
|
|
|
92) Zen Vision
|
|
|
|
93) Zen X-Fi2 ==Olympus= ==SanDisk==
|
|
|
|
94) Zen X-Fi3 70) M:Robe 500 50) Sansa e200
|
|
|
|
96) Zen X-Fi 71) M:Robe 100 51) Sansa e200R
|
|
|
|
97) Zen Mozaic 52) Sansa c200
|
2021-04-23 15:09:49 +00:00
|
|
|
98) Zen ==Philips==
|
|
|
|
100) GoGear SA9200
|
2020-09-29 13:25:00 +00:00
|
|
|
==Onda== 101) GoGear HDD1630/ 55) Sansa Clip
|
|
|
|
120) VX747 HDD1830 56) Sansa e200v2
|
|
|
|
121) VX767 102) GoGear HDD6330 57) Sansa m200v4
|
|
|
|
122) VX747+ 58) Sansa Fuze
|
|
|
|
123) VX777 ==Meizu== 59) Sansa c200v2
|
|
|
|
110) M6SL 60) Sansa Clipv2
|
|
|
|
==Samsung== 111) M6SP 61) Sansa View
|
|
|
|
140) YH-820 112) M3 62) Sansa Clip+
|
|
|
|
141) YH-920 63) Sansa Fuze v2
|
2021-08-14 20:28:30 +00:00
|
|
|
142) YH-925 64) Sansa Fuze+
|
|
|
|
143) YP-S3 65) Sansa Clip Zip
|
|
|
|
==Packard Bell== 66) Sansa Connect
|
2021-04-23 15:09:49 +00:00
|
|
|
==Application== 160) Vibe 500
|
|
|
|
200) SDL
|
2020-09-29 13:25:00 +00:00
|
|
|
201) Android ==MPIO==
|
|
|
|
202) Nokia N8xx 170) HD200 ==Lyre project==
|
|
|
|
203) Nokia N900 171) HD300 130) Lyre proto 1
|
|
|
|
204) Pandora 131) Mini2440
|
|
|
|
205) Samsung YP-R0 ==ROCKCHIP==
|
|
|
|
206) Android MIPS 180) rk27xx generic ==HiFiMAN==
|
|
|
|
207) Android x86 190) HM-60x
|
|
|
|
208) Samsung YP-R1 ==HiFi E.T.== 191) HM-801
|
|
|
|
210) MA9
|
|
|
|
==iBasso== 211) MA9C ==Sony==
|
|
|
|
232) DX50 212) MA8 219) NWZ-E350 series
|
|
|
|
233) DX90 213) MA8C 220) NWZ-E370/E380 series
|
|
|
|
221) NWZ-E360 series
|
|
|
|
==xDuoo== ==IHIFI== 222) NWZ-E450 series
|
|
|
|
241) X3 230) 760 223) NWZ-E460 series
|
|
|
|
242) X3II 231) 960 224) NWZ-E470 series
|
|
|
|
243) X20 250) 770C 225) NWZ-E580 series
|
|
|
|
251) 770 226) NWZ-A10 series
|
|
|
|
==AgpTek== 252) 800 227) NW-A20 series
|
|
|
|
240) Rocker 228) NWZ-A860 series
|
2020-10-03 22:17:11 +00:00
|
|
|
==FiiO== 229) NWZ-S750 series
|
2021-02-27 22:07:37 +00:00
|
|
|
==AIGO== 244) M3K Linux
|
2021-05-23 16:30:58 +00:00
|
|
|
245) Eros Q / K 246) M3K baremetal ==Shanling==
|
2021-06-26 17:07:11 +00:00
|
|
|
247) Eros Q / K native 260) Q1
|
2006-08-30 21:53:26 +00:00
|
|
|
EOF
|
2006-08-28 08:46:16 +00:00
|
|
|
|
|
|
|
buildfor=`input`;
|
2002-05-23 09:11:35 +00:00
|
|
|
|
2008-04-02 21:28:15 +00:00
|
|
|
fi
|
2005-12-02 08:56:20 +00:00
|
|
|
# Set of tools built for all target platforms:
|
2007-04-01 13:09:22 +00:00
|
|
|
toolset="rdf2binary convbdf codepages"
|
2005-12-02 08:56:20 +00:00
|
|
|
|
|
|
|
# Toolsets for some target families:
|
2007-04-01 13:09:22 +00:00
|
|
|
iriverbitmaptools="$toolset scramble descramble mkboot bmp2rb"
|
|
|
|
iaudiobitmaptools="$toolset scramble descramble mkboot bmp2rb"
|
2008-01-12 18:11:46 +00:00
|
|
|
ipodbitmaptools="$toolset scramble bmp2rb"
|
2007-04-01 13:09:22 +00:00
|
|
|
gigabeatbitmaptools="$toolset scramble descramble bmp2rb"
|
2009-10-28 21:11:43 +00:00
|
|
|
tccbitmaptools="$toolset scramble bmp2rb"
|
2008-10-12 19:34:47 +00:00
|
|
|
# generic is used by IFP, Meizu and Onda
|
2007-04-01 13:09:22 +00:00
|
|
|
genericbitmaptools="$toolset bmp2rb"
|
2008-10-12 19:34:47 +00:00
|
|
|
# scramble is used by all other targets
|
|
|
|
scramblebitmaptools="$genericbitmaptools scramble"
|
2021-05-11 12:28:43 +00:00
|
|
|
# used by X1000 targets
|
|
|
|
x1000tools="$genericbitmaptools scramble mkspl-x1000 uclpack"
|
2002-05-23 09:11:35 +00:00
|
|
|
|
2006-08-28 08:46:16 +00:00
|
|
|
# ---- For each target ----
|
|
|
|
#
|
|
|
|
# *Variables*
|
2008-01-23 10:59:17 +00:00
|
|
|
# target_id: a unique number identifying this target, IS NOT the menu number.
|
|
|
|
# Just use the currently highest number+1 when you add a new
|
|
|
|
# target.
|
|
|
|
# modelname: short model name used all over to identify this target
|
2007-05-19 14:35:11 +00:00
|
|
|
# memory: number of megabytes of RAM this target has. If the amount can
|
|
|
|
# be selected by the size prompt, let memory be unset here
|
2006-08-28 08:46:16 +00:00
|
|
|
# target: -Ddefine passed to the build commands to make the correct
|
|
|
|
# config-*.h file get included etc
|
|
|
|
# tool: the tool that takes a plain binary and converts that into a
|
|
|
|
# working "firmware" file for your target
|
|
|
|
# output: the final output file name
|
2006-08-31 12:31:16 +00:00
|
|
|
# boottool: the tool that takes a plain binary and generates a bootloader
|
|
|
|
# file for your target (or blank to use $tool)
|
2007-01-13 02:24:15 +00:00
|
|
|
# bootoutput:the final output file name for the bootloader (or blank to use
|
2006-08-31 12:31:16 +00:00
|
|
|
# $output)
|
2006-08-28 08:46:16 +00:00
|
|
|
# appextra: passed to the APPEXTRA variable in the Makefiles.
|
|
|
|
# TODO: add proper explanation
|
2008-01-23 10:59:17 +00:00
|
|
|
# flash: name of output for flashing, for targets where there's a special
|
|
|
|
# file output for this.
|
2006-08-28 08:46:16 +00:00
|
|
|
# plugins: set to 'yes' to build the plugins. Early development builds can
|
|
|
|
# set this to no in the early stages to have an easier life for a
|
|
|
|
# while
|
|
|
|
# toolset: lists what particular tools in the tools/ directory that this
|
|
|
|
# target needs to have built prior to building Rockbox
|
|
|
|
#
|
|
|
|
# *Functions*
|
|
|
|
# *cc: sets up gcc and compiler options for your target builds. Note
|
|
|
|
# that if you select a simulator build, the compiler selection is
|
|
|
|
# overridden later in the script.
|
|
|
|
|
|
|
|
case $buildfor in
|
|
|
|
|
2009-12-07 12:19:08 +00:00
|
|
|
10|iriverh120)
|
2006-08-28 08:46:16 +00:00
|
|
|
target_id=9
|
2009-12-07 12:19:08 +00:00
|
|
|
modelname="iriverh120"
|
2011-12-15 17:50:33 +00:00
|
|
|
target="IRIVER_H120"
|
2004-09-16 21:19:21 +00:00
|
|
|
memory=32 # always
|
2004-09-22 08:58:50 +00:00
|
|
|
coldfirecc
|
2005-01-28 12:27:39 +00:00
|
|
|
tool="$rootdir/tools/scramble -add=h120"
|
2006-01-22 21:30:32 +00:00
|
|
|
bmp2rb_mono="$rootdir/tools/bmp2rb -f 0"
|
|
|
|
bmp2rb_native="$rootdir/tools/bmp2rb -f 2"
|
|
|
|
bmp2rb_remotemono="$rootdir/tools/bmp2rb -f 0"
|
|
|
|
bmp2rb_remotenative="$rootdir/tools/bmp2rb -f 0"
|
2004-09-22 08:58:50 +00:00
|
|
|
output="rockbox.iriver"
|
2009-10-24 22:56:00 +00:00
|
|
|
bootoutput="bootloader.iriver"
|
2010-05-17 15:03:59 +00:00
|
|
|
appextra="recorder:gui:radio"
|
2007-01-08 18:21:12 +00:00
|
|
|
flash="$pwd/rombox.iriver"
|
2005-02-04 12:52:15 +00:00
|
|
|
plugins="yes"
|
2005-12-02 08:56:20 +00:00
|
|
|
# toolset is the tools within the tools directory that we build for
|
|
|
|
# this particular target.
|
|
|
|
toolset=$iriverbitmaptools
|
2006-10-29 10:26:41 +00:00
|
|
|
t_cpu="coldfire"
|
|
|
|
t_manufacturer="iriver"
|
|
|
|
t_model="h100"
|
2002-05-23 09:11:35 +00:00
|
|
|
;;
|
|
|
|
|
2009-12-07 12:19:08 +00:00
|
|
|
11|iriverh300)
|
2006-08-28 08:46:16 +00:00
|
|
|
target_id=10
|
2009-12-07 12:19:08 +00:00
|
|
|
modelname="iriverh300"
|
2011-12-15 17:50:33 +00:00
|
|
|
target="IRIVER_H300"
|
2005-06-15 11:27:37 +00:00
|
|
|
memory=32 # always
|
|
|
|
coldfirecc
|
2005-07-01 09:46:23 +00:00
|
|
|
tool="$rootdir/tools/scramble -add=h300"
|
2006-01-22 21:30:32 +00:00
|
|
|
bmp2rb_mono="$rootdir/tools/bmp2rb -f 0"
|
|
|
|
bmp2rb_native="$rootdir/tools/bmp2rb -f 4"
|
|
|
|
bmp2rb_remotemono="$rootdir/tools/bmp2rb -f 0"
|
|
|
|
bmp2rb_remotenative="$rootdir/tools/bmp2rb -f 0"
|
2005-06-15 11:27:37 +00:00
|
|
|
output="rockbox.iriver"
|
2020-10-26 01:37:14 +00:00
|
|
|
bootoutput="bootloader.iriver"
|
2010-05-17 15:03:59 +00:00
|
|
|
appextra="recorder:gui:radio"
|
2020-10-26 01:37:14 +00:00
|
|
|
flash="$pwd/rombox.iriver"
|
2004-09-22 21:40:45 +00:00
|
|
|
plugins="yes"
|
2005-12-02 08:56:20 +00:00
|
|
|
# toolset is the tools within the tools directory that we build for
|
|
|
|
# this particular target.
|
|
|
|
toolset=$iriverbitmaptools
|
2006-10-29 10:26:41 +00:00
|
|
|
t_cpu="coldfire"
|
|
|
|
t_manufacturer="iriver"
|
|
|
|
t_model="h300"
|
2004-09-22 09:29:58 +00:00
|
|
|
;;
|
|
|
|
|
2009-12-07 12:19:08 +00:00
|
|
|
12|iriverh100)
|
2006-08-28 08:46:16 +00:00
|
|
|
target_id=11
|
2009-12-07 12:19:08 +00:00
|
|
|
modelname="iriverh100"
|
2011-12-15 17:50:33 +00:00
|
|
|
target="IRIVER_H100"
|
2005-07-08 06:31:13 +00:00
|
|
|
memory=16 # always
|
|
|
|
coldfirecc
|
|
|
|
tool="$rootdir/tools/scramble -add=h100"
|
2006-01-22 21:30:32 +00:00
|
|
|
bmp2rb_mono="$rootdir/tools/bmp2rb -f 0"
|
|
|
|
bmp2rb_native="$rootdir/tools/bmp2rb -f 2"
|
|
|
|
bmp2rb_remotemono="$rootdir/tools/bmp2rb -f 0"
|
|
|
|
bmp2rb_remotenative="$rootdir/tools/bmp2rb -f 0"
|
2005-07-08 06:31:13 +00:00
|
|
|
output="rockbox.iriver"
|
2009-10-24 22:56:00 +00:00
|
|
|
bootoutput="bootloader.iriver"
|
2010-05-17 15:03:59 +00:00
|
|
|
appextra="recorder:gui:radio"
|
2008-02-09 15:06:09 +00:00
|
|
|
flash="$pwd/rombox.iriver"
|
2005-07-08 06:31:13 +00:00
|
|
|
plugins="yes"
|
2005-12-02 08:56:20 +00:00
|
|
|
# toolset is the tools within the tools directory that we build for
|
|
|
|
# this particular target.
|
|
|
|
toolset=$iriverbitmaptools
|
2006-10-29 10:26:41 +00:00
|
|
|
t_cpu="coldfire"
|
|
|
|
t_manufacturer="iriver"
|
|
|
|
t_model="h100"
|
2005-07-08 06:31:13 +00:00
|
|
|
;;
|
|
|
|
|
2009-12-07 12:19:08 +00:00
|
|
|
14|iriverh10)
|
2007-07-26 22:42:31 +00:00
|
|
|
target_id=22
|
2009-12-07 12:19:08 +00:00
|
|
|
modelname="iriverh10"
|
2011-12-15 17:50:33 +00:00
|
|
|
target="IRIVER_H10"
|
2007-07-26 22:42:31 +00:00
|
|
|
memory=32 # always
|
|
|
|
arm7tdmicc
|
|
|
|
tool="$rootdir/tools/scramble -mi4v3 -model=h10 -type=RBOS"
|
2006-01-22 21:30:32 +00:00
|
|
|
bmp2rb_mono="$rootdir/tools/bmp2rb -f 0"
|
2007-10-12 00:28:57 +00:00
|
|
|
bmp2rb_native="$rootdir/tools/bmp2rb -f 5"
|
2007-07-26 22:42:31 +00:00
|
|
|
output="rockbox.mi4"
|
2010-05-17 15:03:59 +00:00
|
|
|
appextra="recorder:gui:radio"
|
2005-07-15 21:24:10 +00:00
|
|
|
plugins="yes"
|
2007-07-26 22:42:31 +00:00
|
|
|
boottool="$rootdir/tools/scramble -mi4v3 -model=h10 -type=RBBL"
|
|
|
|
bootoutput="H10_20GC.mi4"
|
2005-12-02 08:56:20 +00:00
|
|
|
# toolset is the tools within the tools directory that we build for
|
|
|
|
# this particular target.
|
2008-10-12 19:34:47 +00:00
|
|
|
toolset=$scramblebitmaptools
|
2006-03-07 12:45:45 +00:00
|
|
|
# architecture, manufacturer and model for the target-tree build
|
2007-07-26 22:42:31 +00:00
|
|
|
t_cpu="arm"
|
2012-01-03 04:23:08 +00:00
|
|
|
t_soc="pp"
|
2007-07-26 22:42:31 +00:00
|
|
|
t_manufacturer="iriver"
|
|
|
|
t_model="h10"
|
2005-07-15 21:24:10 +00:00
|
|
|
;;
|
|
|
|
|
2009-12-07 12:19:08 +00:00
|
|
|
15|iriverh10_5gb)
|
2007-07-26 22:42:31 +00:00
|
|
|
target_id=24
|
2009-12-07 12:19:08 +00:00
|
|
|
modelname="iriverh10_5gb"
|
2011-12-15 17:50:33 +00:00
|
|
|
target="IRIVER_H10_5GB"
|
2007-07-26 22:42:31 +00:00
|
|
|
memory=32 # always
|
|
|
|
arm7tdmicc
|
|
|
|
tool="$rootdir/tools/scramble -mi4v2 -model=h105 -type=RBOS"
|
2007-03-04 14:09:21 +00:00
|
|
|
bmp2rb_mono="$rootdir/tools/bmp2rb -f 0"
|
2007-07-26 22:42:31 +00:00
|
|
|
bmp2rb_native="$rootdir/tools/bmp2rb -f 5"
|
|
|
|
output="rockbox.mi4"
|
2010-05-17 15:03:59 +00:00
|
|
|
appextra="recorder:gui:radio"
|
2007-03-04 14:09:21 +00:00
|
|
|
plugins="yes"
|
2007-07-26 22:42:31 +00:00
|
|
|
boottool="$rootdir/tools/scramble -mi4v2 -model=h105 -type=RBBL"
|
|
|
|
bootoutput="H10.mi4"
|
2007-03-04 14:09:21 +00:00
|
|
|
# toolset is the tools within the tools directory that we build for
|
|
|
|
# this particular target.
|
2008-10-12 19:34:47 +00:00
|
|
|
toolset=$scramblebitmaptools
|
2007-03-04 14:09:21 +00:00
|
|
|
# architecture, manufacturer and model for the target-tree build
|
2007-07-26 22:42:31 +00:00
|
|
|
t_cpu="arm"
|
2012-01-03 04:23:08 +00:00
|
|
|
t_soc="pp"
|
2007-07-26 22:42:31 +00:00
|
|
|
t_manufacturer="iriver"
|
|
|
|
t_model="h10"
|
2007-03-04 14:09:21 +00:00
|
|
|
;;
|
|
|
|
|
2006-08-30 21:53:26 +00:00
|
|
|
20|ipodcolor)
|
2006-08-28 08:46:16 +00:00
|
|
|
target_id=13
|
2008-01-23 10:59:17 +00:00
|
|
|
modelname="ipodcolor"
|
2011-12-15 17:50:33 +00:00
|
|
|
target="IPOD_COLOR"
|
2005-11-08 00:52:39 +00:00
|
|
|
memory=32 # always
|
|
|
|
arm7tdmicc
|
|
|
|
tool="$rootdir/tools/scramble -add=ipco"
|
2006-01-22 21:30:32 +00:00
|
|
|
bmp2rb_mono="$rootdir/tools/bmp2rb -f 0"
|
|
|
|
bmp2rb_native="$rootdir/tools/bmp2rb -f 5"
|
2005-11-08 00:52:39 +00:00
|
|
|
output="rockbox.ipod"
|
2010-05-17 15:03:59 +00:00
|
|
|
appextra="recorder:gui:radio"
|
2005-11-08 00:52:39 +00:00
|
|
|
plugins="yes"
|
2008-01-23 10:59:17 +00:00
|
|
|
bootoutput="bootloader-$modelname.ipod"
|
2005-12-02 08:56:20 +00:00
|
|
|
# toolset is the tools within the tools directory that we build for
|
|
|
|
# this particular target.
|
|
|
|
toolset=$ipodbitmaptools
|
2006-10-05 10:58:51 +00:00
|
|
|
# architecture, manufacturer and model for the target-tree build
|
|
|
|
t_cpu="arm"
|
2012-01-03 04:23:08 +00:00
|
|
|
t_soc="pp"
|
2006-10-05 10:58:51 +00:00
|
|
|
t_manufacturer="ipod"
|
|
|
|
t_model="color"
|
2005-11-08 00:52:39 +00:00
|
|
|
;;
|
|
|
|
|
2009-12-07 12:19:08 +00:00
|
|
|
21|ipodnano1g)
|
2006-08-28 08:46:16 +00:00
|
|
|
target_id=14
|
2009-12-07 12:19:08 +00:00
|
|
|
modelname="ipodnano1g"
|
2011-12-15 17:50:33 +00:00
|
|
|
target="IPOD_NANO"
|
2005-11-08 00:52:39 +00:00
|
|
|
memory=32 # always
|
|
|
|
arm7tdmicc
|
|
|
|
tool="$rootdir/tools/scramble -add=nano"
|
2006-01-22 21:30:32 +00:00
|
|
|
bmp2rb_mono="$rootdir/tools/bmp2rb -f 0"
|
|
|
|
bmp2rb_native="$rootdir/tools/bmp2rb -f 5"
|
2005-11-08 00:52:39 +00:00
|
|
|
output="rockbox.ipod"
|
2010-05-17 15:03:59 +00:00
|
|
|
appextra="recorder:gui:radio"
|
2005-11-08 00:52:39 +00:00
|
|
|
plugins="yes"
|
2008-01-23 10:59:17 +00:00
|
|
|
bootoutput="bootloader-$modelname.ipod"
|
2005-12-02 08:56:20 +00:00
|
|
|
# toolset is the tools within the tools directory that we build for
|
|
|
|
# this particular target.
|
|
|
|
toolset=$ipodbitmaptools
|
2006-10-05 10:58:51 +00:00
|
|
|
# architecture, manufacturer and model for the target-tree build
|
|
|
|
t_cpu="arm"
|
2012-01-03 04:23:08 +00:00
|
|
|
t_soc="pp"
|
2006-10-05 10:58:51 +00:00
|
|
|
t_manufacturer="ipod"
|
|
|
|
t_model="nano"
|
2005-11-08 00:52:39 +00:00
|
|
|
;;
|
|
|
|
|
2006-08-30 21:53:26 +00:00
|
|
|
22|ipodvideo)
|
2006-08-28 08:46:16 +00:00
|
|
|
target_id=15
|
2008-01-23 10:59:17 +00:00
|
|
|
modelname="ipodvideo"
|
2011-12-15 17:50:33 +00:00
|
|
|
target="IPOD_VIDEO"
|
2010-08-31 19:06:04 +00:00
|
|
|
memory=64 # always. This is reduced at runtime if needed
|
2005-12-18 13:04:00 +00:00
|
|
|
arm7tdmicc
|
|
|
|
tool="$rootdir/tools/scramble -add=ipvd"
|
2006-01-22 21:30:32 +00:00
|
|
|
bmp2rb_mono="$rootdir/tools/bmp2rb -f 0"
|
|
|
|
bmp2rb_native="$rootdir/tools/bmp2rb -f 4"
|
2005-12-18 13:04:00 +00:00
|
|
|
output="rockbox.ipod"
|
2010-05-17 15:03:59 +00:00
|
|
|
appextra="recorder:gui:radio"
|
2005-12-18 13:04:00 +00:00
|
|
|
plugins="yes"
|
2008-01-23 10:59:17 +00:00
|
|
|
bootoutput="bootloader-$modelname.ipod"
|
2005-12-18 13:04:00 +00:00
|
|
|
# toolset is the tools within the tools directory that we build for
|
|
|
|
# this particular target.
|
|
|
|
toolset=$ipodbitmaptools
|
2006-10-05 10:58:51 +00:00
|
|
|
# architecture, manufacturer and model for the target-tree build
|
|
|
|
t_cpu="arm"
|
2012-01-03 04:23:08 +00:00
|
|
|
t_soc="pp"
|
2006-10-05 10:58:51 +00:00
|
|
|
t_manufacturer="ipod"
|
|
|
|
t_model="video"
|
2005-12-18 13:04:00 +00:00
|
|
|
;;
|
|
|
|
|
2006-08-30 21:53:26 +00:00
|
|
|
23|ipod3g)
|
2006-08-28 08:46:16 +00:00
|
|
|
target_id=16
|
2008-01-23 10:59:17 +00:00
|
|
|
modelname="ipod3g"
|
2011-12-15 17:50:33 +00:00
|
|
|
target="IPOD_3G"
|
2006-02-05 18:30:50 +00:00
|
|
|
memory=32 # always
|
|
|
|
arm7tdmicc
|
|
|
|
tool="$rootdir/tools/scramble -add=ip3g"
|
|
|
|
bmp2rb_mono="$rootdir/tools/bmp2rb -f 0"
|
2006-02-16 20:03:07 +00:00
|
|
|
bmp2rb_native="$rootdir/tools/bmp2rb -f 6"
|
2006-02-05 18:30:50 +00:00
|
|
|
output="rockbox.ipod"
|
2010-05-17 15:03:59 +00:00
|
|
|
appextra="recorder:gui:radio"
|
2006-02-05 18:30:50 +00:00
|
|
|
plugins="yes"
|
2008-01-23 10:59:17 +00:00
|
|
|
bootoutput="bootloader-$modelname.ipod"
|
2006-02-05 18:30:50 +00:00
|
|
|
# toolset is the tools within the tools directory that we build for
|
|
|
|
# this particular target.
|
|
|
|
toolset=$ipodbitmaptools
|
2006-10-05 10:58:51 +00:00
|
|
|
# architecture, manufacturer and model for the target-tree build
|
|
|
|
t_cpu="arm"
|
2012-01-03 04:23:08 +00:00
|
|
|
t_soc="pp"
|
2006-10-05 10:58:51 +00:00
|
|
|
t_manufacturer="ipod"
|
|
|
|
t_model="3g"
|
2006-02-05 18:30:50 +00:00
|
|
|
;;
|
2007-01-13 02:24:15 +00:00
|
|
|
|
2006-08-30 21:53:26 +00:00
|
|
|
24|ipod4g)
|
2006-08-28 08:46:16 +00:00
|
|
|
target_id=17
|
2008-01-23 10:59:17 +00:00
|
|
|
modelname="ipod4g"
|
2011-12-15 17:50:33 +00:00
|
|
|
target="IPOD_4G"
|
2006-02-05 18:30:50 +00:00
|
|
|
memory=32 # always
|
|
|
|
arm7tdmicc
|
|
|
|
tool="$rootdir/tools/scramble -add=ip4g"
|
|
|
|
bmp2rb_mono="$rootdir/tools/bmp2rb -f 0"
|
2006-02-16 20:03:07 +00:00
|
|
|
bmp2rb_native="$rootdir/tools/bmp2rb -f 6"
|
2006-02-05 18:30:50 +00:00
|
|
|
output="rockbox.ipod"
|
2010-05-17 15:03:59 +00:00
|
|
|
appextra="recorder:gui:radio"
|
2006-02-05 18:30:50 +00:00
|
|
|
plugins="yes"
|
2008-01-23 10:59:17 +00:00
|
|
|
bootoutput="bootloader-$modelname.ipod"
|
2006-02-05 18:30:50 +00:00
|
|
|
# toolset is the tools within the tools directory that we build for
|
|
|
|
# this particular target.
|
|
|
|
toolset=$ipodbitmaptools
|
2006-10-05 10:58:51 +00:00
|
|
|
# architecture, manufacturer and model for the target-tree build
|
|
|
|
t_cpu="arm"
|
2012-01-03 04:23:08 +00:00
|
|
|
t_soc="pp"
|
2006-10-05 10:58:51 +00:00
|
|
|
t_manufacturer="ipod"
|
|
|
|
t_model="4g"
|
2006-02-05 18:30:50 +00:00
|
|
|
;;
|
2007-01-13 02:24:15 +00:00
|
|
|
|
2009-12-07 12:19:08 +00:00
|
|
|
25|ipodmini1g)
|
2006-08-28 08:46:16 +00:00
|
|
|
target_id=18
|
2009-12-07 12:19:08 +00:00
|
|
|
modelname="ipodmini1g"
|
2011-12-15 17:50:33 +00:00
|
|
|
target="IPOD_MINI"
|
2006-02-21 15:01:25 +00:00
|
|
|
memory=32 # always
|
|
|
|
arm7tdmicc
|
|
|
|
tool="$rootdir/tools/scramble -add=mini"
|
|
|
|
bmp2rb_mono="$rootdir/tools/bmp2rb -f 0"
|
|
|
|
bmp2rb_native="$rootdir/tools/bmp2rb -f 6"
|
|
|
|
output="rockbox.ipod"
|
2010-05-17 15:03:59 +00:00
|
|
|
appextra="recorder:gui:radio"
|
2006-02-21 15:01:25 +00:00
|
|
|
plugins="yes"
|
2008-01-23 10:59:17 +00:00
|
|
|
bootoutput="bootloader-$modelname.ipod"
|
2006-02-21 15:01:25 +00:00
|
|
|
# toolset is the tools within the tools directory that we build for
|
|
|
|
# this particular target.
|
|
|
|
toolset=$ipodbitmaptools
|
2006-10-05 10:58:51 +00:00
|
|
|
# architecture, manufacturer and model for the target-tree build
|
|
|
|
t_cpu="arm"
|
2012-01-03 04:23:08 +00:00
|
|
|
t_soc="pp"
|
2006-10-05 10:58:51 +00:00
|
|
|
t_manufacturer="ipod"
|
|
|
|
t_model="mini"
|
2006-02-21 15:01:25 +00:00
|
|
|
;;
|
2007-01-13 02:24:15 +00:00
|
|
|
|
2007-07-26 22:42:31 +00:00
|
|
|
26|ipodmini2g)
|
|
|
|
target_id=21
|
2008-01-23 10:59:17 +00:00
|
|
|
modelname="ipodmini2g"
|
2011-12-15 17:50:33 +00:00
|
|
|
target="IPOD_MINI2G"
|
2007-07-26 22:42:31 +00:00
|
|
|
memory=32 # always
|
|
|
|
arm7tdmicc
|
|
|
|
tool="$rootdir/tools/scramble -add=mn2g"
|
2006-01-22 21:30:32 +00:00
|
|
|
bmp2rb_mono="$rootdir/tools/bmp2rb -f 0"
|
2007-07-26 22:42:31 +00:00
|
|
|
bmp2rb_native="$rootdir/tools/bmp2rb -f 6"
|
|
|
|
output="rockbox.ipod"
|
2010-05-17 15:03:59 +00:00
|
|
|
appextra="recorder:gui:radio"
|
2006-01-12 00:35:50 +00:00
|
|
|
plugins="yes"
|
2008-01-23 10:59:17 +00:00
|
|
|
bootoutput="bootloader-$modelname.ipod"
|
2006-01-24 22:33:49 +00:00
|
|
|
# toolset is the tools within the tools directory that we build for
|
|
|
|
# this particular target.
|
2007-07-26 22:42:31 +00:00
|
|
|
toolset=$ipodbitmaptools
|
2006-08-12 08:01:54 +00:00
|
|
|
# architecture, manufacturer and model for the target-tree build
|
|
|
|
t_cpu="arm"
|
2012-01-03 04:23:08 +00:00
|
|
|
t_soc="pp"
|
2007-07-26 22:42:31 +00:00
|
|
|
t_manufacturer="ipod"
|
|
|
|
t_model="mini2g"
|
2006-02-24 15:42:52 +00:00
|
|
|
;;
|
|
|
|
|
2007-07-26 22:42:31 +00:00
|
|
|
27|ipod1g2g)
|
|
|
|
target_id=29
|
2008-01-23 10:59:17 +00:00
|
|
|
modelname="ipod1g2g"
|
2011-12-15 17:50:33 +00:00
|
|
|
target="IPOD_1G2G"
|
2006-03-30 17:29:21 +00:00
|
|
|
memory=32 # always
|
|
|
|
arm7tdmicc
|
2007-07-26 22:42:31 +00:00
|
|
|
tool="$rootdir/tools/scramble -add=1g2g"
|
2006-03-30 17:29:21 +00:00
|
|
|
bmp2rb_mono="$rootdir/tools/bmp2rb -f 0"
|
|
|
|
bmp2rb_native="$rootdir/tools/bmp2rb -f 6"
|
|
|
|
output="rockbox.ipod"
|
2010-05-17 15:03:59 +00:00
|
|
|
appextra="recorder:gui:radio"
|
2006-03-30 17:29:21 +00:00
|
|
|
plugins="yes"
|
2008-01-23 10:59:17 +00:00
|
|
|
bootoutput="bootloader-$modelname.ipod"
|
2006-03-30 17:29:21 +00:00
|
|
|
# toolset is the tools within the tools directory that we build for
|
|
|
|
# this particular target.
|
|
|
|
toolset=$ipodbitmaptools
|
2006-10-05 10:58:51 +00:00
|
|
|
# architecture, manufacturer and model for the target-tree build
|
|
|
|
t_cpu="arm"
|
2012-01-03 04:23:08 +00:00
|
|
|
t_soc="pp"
|
2006-10-05 10:58:51 +00:00
|
|
|
t_manufacturer="ipod"
|
2007-07-26 22:42:31 +00:00
|
|
|
t_model="1g2g"
|
2006-03-30 17:29:21 +00:00
|
|
|
;;
|
|
|
|
|
2009-07-12 22:16:51 +00:00
|
|
|
28|ipodnano2g)
|
|
|
|
target_id=62
|
|
|
|
modelname="ipodnano2g"
|
2011-12-15 17:50:33 +00:00
|
|
|
target="IPOD_NANO2G"
|
2009-07-12 22:16:51 +00:00
|
|
|
memory=32 # always
|
|
|
|
arm940tcc
|
|
|
|
tool="$rootdir/tools/scramble -add=nn2g"
|
|
|
|
bmp2rb_mono="$rootdir/tools/bmp2rb -f 0"
|
2009-07-16 00:38:50 +00:00
|
|
|
bmp2rb_native="$rootdir/tools/bmp2rb -f 4"
|
2009-07-12 22:16:51 +00:00
|
|
|
output="rockbox.ipod"
|
2010-05-17 15:03:59 +00:00
|
|
|
appextra="recorder:gui:radio"
|
2009-07-12 22:16:51 +00:00
|
|
|
plugins="yes"
|
2009-10-11 01:37:12 +00:00
|
|
|
bootoutput="bootloader-$modelname.ipod"
|
2009-07-12 22:16:51 +00:00
|
|
|
# toolset is the tools within the tools directory that we build for
|
|
|
|
# this particular target.
|
|
|
|
toolset=$ipodbitmaptools
|
|
|
|
# architecture, manufacturer and model for the target-tree build
|
|
|
|
t_cpu="arm"
|
|
|
|
t_manufacturer="s5l8700"
|
|
|
|
t_model="ipodnano2g"
|
|
|
|
;;
|
|
|
|
|
2011-01-02 23:16:27 +00:00
|
|
|
29|ipod6g)
|
|
|
|
target_id=71
|
|
|
|
modelname="ipod6g"
|
2011-12-15 17:50:33 +00:00
|
|
|
target="IPOD_6G"
|
2011-01-02 23:16:27 +00:00
|
|
|
memory=64 # always
|
|
|
|
arm926ejscc
|
|
|
|
tool="$rootdir/tools/scramble -add=ip6g"
|
|
|
|
bmp2rb_mono="$rootdir/tools/bmp2rb -f 0"
|
|
|
|
bmp2rb_native="$rootdir/tools/bmp2rb -f 4"
|
|
|
|
output="rockbox.ipod"
|
|
|
|
appextra="recorder:gui:radio"
|
|
|
|
plugins="yes"
|
|
|
|
bootoutput="bootloader-$modelname.ipod"
|
|
|
|
# toolset is the tools within the tools directory that we build for
|
|
|
|
# this particular target.
|
|
|
|
toolset=$ipodbitmaptools
|
|
|
|
# architecture, manufacturer and model for the target-tree build
|
|
|
|
t_cpu="arm"
|
|
|
|
t_manufacturer="s5l8702"
|
|
|
|
t_model="ipod6g"
|
|
|
|
;;
|
|
|
|
|
2009-12-07 12:19:08 +00:00
|
|
|
30|iaudiox5)
|
2007-07-26 22:42:31 +00:00
|
|
|
target_id=12
|
2009-12-07 12:19:08 +00:00
|
|
|
modelname="iaudiox5"
|
2011-12-15 17:50:33 +00:00
|
|
|
target="IAUDIO_X5"
|
2007-07-26 22:42:31 +00:00
|
|
|
memory=16 # always
|
|
|
|
coldfirecc
|
|
|
|
tool="$rootdir/tools/scramble -add=iax5"
|
2010-06-14 17:49:30 +00:00
|
|
|
boottool="$rootdir/tools/scramble -iaudiox5"
|
2006-08-01 22:22:01 +00:00
|
|
|
bmp2rb_mono="$rootdir/tools/bmp2rb -f 0"
|
2006-09-09 19:02:18 +00:00
|
|
|
bmp2rb_native="$rootdir/tools/bmp2rb -f 4"
|
2007-07-26 22:42:31 +00:00
|
|
|
bmp2rb_remotemono="$rootdir/tools/bmp2rb -f 0"
|
|
|
|
bmp2rb_remotenative="$rootdir/tools/bmp2rb -f 7"
|
|
|
|
output="rockbox.iaudio"
|
2010-06-14 17:49:30 +00:00
|
|
|
bootoutput="x5_fw.bin"
|
2010-05-17 15:03:59 +00:00
|
|
|
appextra="recorder:gui:radio"
|
2006-08-01 22:22:01 +00:00
|
|
|
plugins="yes"
|
|
|
|
# toolset is the tools within the tools directory that we build for
|
|
|
|
# this particular target.
|
2007-07-26 22:42:31 +00:00
|
|
|
toolset="$iaudiobitmaptools"
|
2006-08-01 22:22:01 +00:00
|
|
|
# architecture, manufacturer and model for the target-tree build
|
2007-07-26 22:42:31 +00:00
|
|
|
t_cpu="coldfire"
|
|
|
|
t_manufacturer="iaudio"
|
|
|
|
t_model="x5"
|
2006-08-01 22:22:01 +00:00
|
|
|
;;
|
|
|
|
|
2009-12-07 12:19:08 +00:00
|
|
|
31|iaudiom5)
|
2007-07-26 22:42:31 +00:00
|
|
|
target_id=28
|
2009-12-07 12:19:08 +00:00
|
|
|
modelname="iaudiom5"
|
2011-12-15 17:50:33 +00:00
|
|
|
target="IAUDIO_M5"
|
2007-07-26 22:42:31 +00:00
|
|
|
memory=16 # always
|
|
|
|
coldfirecc
|
|
|
|
tool="$rootdir/tools/scramble -add=iam5"
|
2010-06-14 17:49:30 +00:00
|
|
|
boottool="$rootdir/tools/scramble -iaudiom5"
|
2007-03-16 14:28:00 +00:00
|
|
|
bmp2rb_mono="$rootdir/tools/bmp2rb -f 0"
|
2007-07-26 22:42:31 +00:00
|
|
|
bmp2rb_native="$rootdir/tools/bmp2rb -f 2"
|
|
|
|
bmp2rb_remotemono="$rootdir/tools/bmp2rb -f 0"
|
|
|
|
bmp2rb_remotenative="$rootdir/tools/bmp2rb -f 7"
|
|
|
|
output="rockbox.iaudio"
|
2010-06-14 17:49:30 +00:00
|
|
|
bootoutput="m5_fw.bin"
|
2010-05-17 15:03:59 +00:00
|
|
|
appextra="recorder:gui:radio"
|
2007-03-16 14:28:00 +00:00
|
|
|
plugins="yes"
|
|
|
|
# toolset is the tools within the tools directory that we build for
|
|
|
|
# this particular target.
|
2007-07-26 22:42:31 +00:00
|
|
|
toolset="$iaudiobitmaptools"
|
|
|
|
# architecture, manufacturer and model for the target-tree build
|
|
|
|
t_cpu="coldfire"
|
|
|
|
t_manufacturer="iaudio"
|
|
|
|
t_model="m5"
|
|
|
|
;;
|
|
|
|
|
2008-03-10 00:27:00 +00:00
|
|
|
33|cowond2)
|
|
|
|
target_id=34
|
|
|
|
modelname="cowond2"
|
2011-12-15 17:50:33 +00:00
|
|
|
target="COWON_D2"
|
2008-03-10 00:27:00 +00:00
|
|
|
memory=32
|
|
|
|
arm926ejscc
|
|
|
|
tool="$rootdir/tools/scramble -add=d2"
|
2009-10-29 22:08:47 +00:00
|
|
|
boottool="cp "
|
2008-03-10 00:27:00 +00:00
|
|
|
bmp2rb_mono="$rootdir/tools/bmp2rb -f 0"
|
|
|
|
bmp2rb_native="$rootdir/tools/bmp2rb -f 4"
|
2008-11-17 21:16:07 +00:00
|
|
|
output="rockbox.d2"
|
2009-10-29 22:08:47 +00:00
|
|
|
bootoutput="bootloader-cowond2.bin"
|
2010-05-17 15:03:59 +00:00
|
|
|
appextra="recorder:gui:radio"
|
2008-03-22 22:03:34 +00:00
|
|
|
plugins="yes"
|
2008-03-10 00:27:00 +00:00
|
|
|
toolset="$tccbitmaptools"
|
|
|
|
# architecture, manufacturer and model for the target-tree build
|
|
|
|
t_cpu="arm"
|
|
|
|
t_manufacturer="tcc780x"
|
|
|
|
t_model="cowond2"
|
|
|
|
;;
|
2018-11-05 12:01:55 +00:00
|
|
|
|
2009-12-07 12:19:08 +00:00
|
|
|
34|iaudiom3)
|
2008-03-10 00:27:00 +00:00
|
|
|
target_id=37
|
2009-12-07 12:19:08 +00:00
|
|
|
modelname="iaudiom3"
|
2011-12-15 17:50:33 +00:00
|
|
|
target="IAUDIO_M3"
|
2008-03-10 00:27:00 +00:00
|
|
|
memory=16 # always
|
|
|
|
coldfirecc
|
|
|
|
tool="$rootdir/tools/scramble -add=iam3"
|
2010-06-14 17:49:30 +00:00
|
|
|
boottool="$rootdir/tools/scramble -iaudiom3"
|
2008-03-10 00:27:00 +00:00
|
|
|
bmp2rb_mono="$rootdir/tools/bmp2rb -f 0"
|
|
|
|
bmp2rb_native="$rootdir/tools/bmp2rb -f 7"
|
|
|
|
output="rockbox.iaudio"
|
2010-06-14 17:49:30 +00:00
|
|
|
bootoutput="cowon_m3.bin"
|
2010-05-17 15:03:59 +00:00
|
|
|
appextra="recorder:gui:radio"
|
2008-03-23 01:01:21 +00:00
|
|
|
plugins="yes"
|
2008-03-10 00:27:00 +00:00
|
|
|
# toolset is the tools within the tools directory that we build for
|
|
|
|
# this particular target.
|
|
|
|
toolset="$iaudiobitmaptools"
|
|
|
|
# architecture, manufacturer and model for the target-tree build
|
|
|
|
t_cpu="coldfire"
|
|
|
|
t_manufacturer="iaudio"
|
|
|
|
t_model="m3"
|
|
|
|
;;
|
|
|
|
|
2009-12-07 12:19:08 +00:00
|
|
|
40|gigabeatfx)
|
2007-07-26 22:42:31 +00:00
|
|
|
target_id=20
|
2009-12-07 12:19:08 +00:00
|
|
|
modelname="gigabeatfx"
|
2011-12-15 17:50:33 +00:00
|
|
|
target="GIGABEAT_F"
|
2007-07-26 22:42:31 +00:00
|
|
|
memory=32 # always
|
|
|
|
arm9tdmicc
|
|
|
|
tool="$rootdir/tools/scramble -add=giga"
|
|
|
|
bmp2rb_mono="$rootdir/tools/bmp2rb -f 0"
|
|
|
|
bmp2rb_native="$rootdir/tools/bmp2rb -f 4"
|
|
|
|
output="rockbox.gigabeat"
|
2010-05-17 15:03:59 +00:00
|
|
|
appextra="recorder:gui:radio"
|
2007-07-26 22:42:31 +00:00
|
|
|
plugins="yes"
|
|
|
|
toolset=$gigabeatbitmaptools
|
|
|
|
boottool="$rootdir/tools/scramble -gigabeat"
|
|
|
|
bootoutput="FWIMG01.DAT"
|
2007-03-16 14:28:00 +00:00
|
|
|
# architecture, manufacturer and model for the target-tree build
|
|
|
|
t_cpu="arm"
|
2007-07-26 22:42:31 +00:00
|
|
|
t_manufacturer="s3c2440"
|
|
|
|
t_model="gigabeat-fx"
|
2007-03-16 14:28:00 +00:00
|
|
|
;;
|
|
|
|
|
2007-09-21 15:51:53 +00:00
|
|
|
41|gigabeats)
|
|
|
|
target_id=26
|
2008-01-23 10:59:17 +00:00
|
|
|
modelname="gigabeats"
|
2011-12-15 17:50:33 +00:00
|
|
|
target="GIGABEAT_S"
|
2008-02-08 02:20:05 +00:00
|
|
|
memory=64
|
2008-02-10 17:40:06 +00:00
|
|
|
arm1136jfscc
|
2007-09-21 15:51:53 +00:00
|
|
|
tool="$rootdir/tools/scramble -add=gigs"
|
|
|
|
bmp2rb_mono="$rootdir/tools/bmp2rb -f 0"
|
|
|
|
bmp2rb_native="$rootdir/tools/bmp2rb -f 4"
|
|
|
|
output="rockbox.gigabeat"
|
2010-05-17 15:03:59 +00:00
|
|
|
appextra="recorder:gui:radio"
|
2008-02-17 12:23:02 +00:00
|
|
|
plugins="yes"
|
2009-10-27 21:15:21 +00:00
|
|
|
toolset="$gigabeatbitmaptools"
|
2007-09-21 15:51:53 +00:00
|
|
|
boottool="$rootdir/tools/scramble -gigabeats"
|
|
|
|
bootoutput="nk.bin"
|
|
|
|
# architecture, manufacturer and model for the target-tree build
|
|
|
|
t_cpu="arm"
|
|
|
|
t_manufacturer="imx31"
|
|
|
|
t_model="gigabeat-s"
|
|
|
|
;;
|
|
|
|
|
2007-09-20 04:46:41 +00:00
|
|
|
70|mrobe500)
|
2008-03-10 00:27:00 +00:00
|
|
|
target_id=36
|
2008-01-23 10:59:17 +00:00
|
|
|
modelname="mrobe500"
|
2011-12-15 17:50:33 +00:00
|
|
|
target="MROBE_500"
|
2007-09-20 04:46:41 +00:00
|
|
|
memory=64 # always
|
2007-11-13 04:09:25 +00:00
|
|
|
arm926ejscc
|
2009-02-26 21:24:40 +00:00
|
|
|
tool="$rootdir/tools/scramble -add=m500"
|
2007-09-20 04:46:41 +00:00
|
|
|
bmp2rb_mono="$rootdir/tools/bmp2rb -f 0"
|
2009-10-09 14:04:28 +00:00
|
|
|
bmp2rb_native="$rootdir/tools/bmp2rb -f 8"
|
2009-04-11 07:23:56 +00:00
|
|
|
bmp2rb_remotemono="$rootdir/tools/bmp2rb -f 0"
|
|
|
|
bmp2rb_remotenative="$rootdir/tools/bmp2rb -f 0"
|
2007-09-20 04:46:41 +00:00
|
|
|
output="rockbox.mrobe500"
|
2010-05-17 15:03:59 +00:00
|
|
|
appextra="recorder:gui:radio"
|
2007-10-21 23:12:17 +00:00
|
|
|
plugins="yes"
|
2007-09-20 04:46:41 +00:00
|
|
|
toolset=$gigabeatbitmaptools
|
|
|
|
boottool="cp "
|
|
|
|
bootoutput="rockbox.mrboot"
|
|
|
|
# architecture, manufacturer and model for the target-tree build
|
|
|
|
t_cpu="arm"
|
2007-09-30 08:57:49 +00:00
|
|
|
t_manufacturer="tms320dm320"
|
2007-09-20 04:46:41 +00:00
|
|
|
t_model="mrobe-500"
|
|
|
|
;;
|
|
|
|
|
2008-01-09 20:07:42 +00:00
|
|
|
71|mrobe100)
|
|
|
|
target_id=33
|
2008-01-23 10:59:17 +00:00
|
|
|
modelname="mrobe100"
|
2011-12-15 17:50:33 +00:00
|
|
|
target="MROBE_100"
|
2008-01-09 07:24:43 +00:00
|
|
|
memory=32 # always
|
|
|
|
arm7tdmicc
|
|
|
|
tool="$rootdir/tools/scramble -mi4v2 -model=m100 -type=RBOS"
|
|
|
|
bmp2rb_mono="$rootdir/tools/bmp2rb -f 0"
|
|
|
|
bmp2rb_native="$rootdir/tools/bmp2rb -f 0"
|
2009-07-26 14:26:14 +00:00
|
|
|
bmp2rb_remotemono="$rootdir/tools/bmp2rb -f 0"
|
|
|
|
bmp2rb_remotenative="$rootdir/tools/bmp2rb -f 0"
|
2008-01-09 07:24:43 +00:00
|
|
|
output="rockbox.mi4"
|
2010-05-17 15:03:59 +00:00
|
|
|
appextra="recorder:gui:radio"
|
2008-01-11 21:48:01 +00:00
|
|
|
plugins="yes"
|
2008-01-09 07:24:43 +00:00
|
|
|
boottool="$rootdir/tools/scramble -mi4v2 -model=m100 -type=RBBL"
|
|
|
|
bootoutput="pp5020.mi4"
|
|
|
|
# toolset is the tools within the tools directory that we build for
|
|
|
|
# this particular target.
|
2008-10-12 19:34:47 +00:00
|
|
|
toolset=$scramblebitmaptools
|
2008-01-09 07:24:43 +00:00
|
|
|
# architecture, manufacturer and model for the target-tree build
|
|
|
|
t_cpu="arm"
|
2012-01-03 04:23:08 +00:00
|
|
|
t_soc="pp"
|
2008-01-09 07:24:43 +00:00
|
|
|
t_manufacturer="olympus"
|
|
|
|
t_model="mrobe-100"
|
|
|
|
;;
|
|
|
|
|
2014-01-05 14:20:41 +00:00
|
|
|
89|creativezenxfistyle)
|
|
|
|
target_id=94
|
|
|
|
modelname="creativezenxfistyle"
|
|
|
|
target="CREATIVE_ZENXFISTYLE"
|
|
|
|
memory=64
|
|
|
|
bmp2rb_mono="$rootdir/tools/bmp2rb -f 0"
|
|
|
|
bmp2rb_native="$rootdir/tools/bmp2rb -f 4"
|
|
|
|
tool="$rootdir/tools/scramble -add=zxfs"
|
|
|
|
output="rockbox.creative"
|
|
|
|
bootoutput="bootloader-zenxfistyle.creative"
|
|
|
|
appextra="gui:recorder:radio"
|
2014-07-17 08:40:17 +00:00
|
|
|
plugins="yes"
|
2014-01-05 14:20:41 +00:00
|
|
|
toolset=$scramblebitmaptools
|
|
|
|
t_cpu="arm"
|
|
|
|
t_manufacturer="imx233"
|
|
|
|
t_model="creative-zen"
|
|
|
|
arm926ejscc
|
|
|
|
;;
|
|
|
|
|
2009-12-07 13:40:08 +00:00
|
|
|
90|zenvisionm30gb)
|
2008-02-18 19:08:29 +00:00
|
|
|
target_id=35
|
2009-12-07 13:40:08 +00:00
|
|
|
modelname="zenvisionm30gb"
|
2011-12-15 17:50:33 +00:00
|
|
|
target="CREATIVE_ZVM"
|
2008-04-09 11:53:28 +00:00
|
|
|
memory=64
|
2008-02-18 21:21:22 +00:00
|
|
|
arm926ejscc
|
2008-02-18 19:08:29 +00:00
|
|
|
bmp2rb_mono="$rootdir/tools/bmp2rb -f 0"
|
|
|
|
bmp2rb_native="$rootdir/tools/bmp2rb -f 4"
|
2008-04-24 20:08:28 +00:00
|
|
|
tool="$rootdir/tools/scramble -creative=zvm"
|
2008-05-17 14:20:09 +00:00
|
|
|
USE_ELF="yes"
|
2008-02-18 19:08:29 +00:00
|
|
|
output="rockbox.zvm"
|
2010-05-17 15:03:59 +00:00
|
|
|
appextra="recorder:gui:radio"
|
2008-12-04 21:28:56 +00:00
|
|
|
plugins="yes"
|
2008-04-24 20:08:28 +00:00
|
|
|
toolset=$ipodbitmaptools
|
2008-08-03 19:32:14 +00:00
|
|
|
boottool="$rootdir/tools/scramble -creative=zvm -no-ciff"
|
2008-02-18 19:08:29 +00:00
|
|
|
bootoutput="rockbox.zvmboot"
|
|
|
|
# architecture, manufacturer and model for the target-tree build
|
|
|
|
t_cpu="arm"
|
|
|
|
t_manufacturer="tms320dm320"
|
|
|
|
t_model="creative-zvm"
|
|
|
|
;;
|
2018-11-05 12:01:55 +00:00
|
|
|
|
2009-12-07 13:40:08 +00:00
|
|
|
91|zenvisionm60gb)
|
2008-05-14 13:51:47 +00:00
|
|
|
target_id=40
|
2009-12-07 13:40:08 +00:00
|
|
|
modelname="zenvisionm60gb"
|
2011-12-15 17:50:33 +00:00
|
|
|
target="CREATIVE_ZVM60GB"
|
2008-05-14 13:51:47 +00:00
|
|
|
memory=64
|
|
|
|
arm926ejscc
|
|
|
|
bmp2rb_mono="$rootdir/tools/bmp2rb -f 0"
|
|
|
|
bmp2rb_native="$rootdir/tools/bmp2rb -f 4"
|
2008-08-03 19:32:14 +00:00
|
|
|
tool="$rootdir/tools/scramble -creative=zvm60 -no-ciff"
|
2008-05-17 14:20:09 +00:00
|
|
|
USE_ELF="yes"
|
2008-05-14 13:51:47 +00:00
|
|
|
output="rockbox.zvm60"
|
2010-05-17 15:03:59 +00:00
|
|
|
appextra="recorder:gui:radio"
|
2008-12-04 21:28:56 +00:00
|
|
|
plugins="yes"
|
2008-05-14 13:51:47 +00:00
|
|
|
toolset=$ipodbitmaptools
|
|
|
|
boottool="$rootdir/tools/scramble -creative=zvm60"
|
|
|
|
bootoutput="rockbox.zvm60boot"
|
|
|
|
# architecture, manufacturer and model for the target-tree build
|
|
|
|
t_cpu="arm"
|
|
|
|
t_manufacturer="tms320dm320"
|
|
|
|
t_model="creative-zvm"
|
|
|
|
;;
|
2018-11-05 12:01:55 +00:00
|
|
|
|
2009-12-07 13:40:08 +00:00
|
|
|
92|zenvision)
|
2008-05-12 21:37:11 +00:00
|
|
|
target_id=39
|
2009-12-07 13:40:08 +00:00
|
|
|
modelname="zenvision"
|
2011-12-15 17:50:33 +00:00
|
|
|
target="CREATIVE_ZV"
|
2008-05-12 21:28:13 +00:00
|
|
|
memory=64
|
|
|
|
arm926ejscc
|
|
|
|
bmp2rb_mono="$rootdir/tools/bmp2rb -f 0"
|
|
|
|
bmp2rb_native="$rootdir/tools/bmp2rb -f 4"
|
2008-08-03 19:32:14 +00:00
|
|
|
tool="$rootdir/tools/scramble -creative=zenvision -no-ciff"
|
2008-05-17 14:20:09 +00:00
|
|
|
USE_ELF="yes"
|
2008-05-12 21:28:13 +00:00
|
|
|
output="rockbox.zv"
|
2010-05-17 15:03:59 +00:00
|
|
|
appextra="recorder:gui:radio"
|
2008-05-12 21:28:13 +00:00
|
|
|
plugins=""
|
|
|
|
toolset=$ipodbitmaptools
|
|
|
|
boottool="$rootdir/tools/scramble -creative=zenvision"
|
2008-05-14 21:25:52 +00:00
|
|
|
bootoutput="rockbox.zvboot"
|
2008-05-12 21:28:13 +00:00
|
|
|
# architecture, manufacturer and model for the target-tree build
|
|
|
|
t_cpu="arm"
|
|
|
|
t_manufacturer="tms320dm320"
|
|
|
|
t_model="creative-zvm"
|
|
|
|
;;
|
2007-10-28 11:08:10 +00:00
|
|
|
|
2012-05-19 14:09:46 +00:00
|
|
|
93|creativezenxfi2)
|
|
|
|
target_id=80
|
|
|
|
modelname="creativezenxfi2"
|
|
|
|
target="CREATIVE_ZENXFI2"
|
|
|
|
memory=64
|
|
|
|
bmp2rb_mono="$rootdir/tools/bmp2rb -f 0"
|
|
|
|
bmp2rb_native="$rootdir/tools/bmp2rb -f 4"
|
|
|
|
tool="$rootdir/tools/scramble -add=zxf2"
|
|
|
|
output="rockbox.creative"
|
|
|
|
bootoutput="bootloader-zenxfi2.creative"
|
|
|
|
appextra="gui:recorder:radio"
|
2018-02-22 22:42:29 +00:00
|
|
|
plugins="yes"
|
2012-05-19 14:09:46 +00:00
|
|
|
toolset=$scramblebitmaptools
|
|
|
|
t_cpu="arm"
|
|
|
|
t_manufacturer="imx233"
|
|
|
|
t_model="creative-zenxfi2"
|
|
|
|
arm926ejscc
|
|
|
|
;;
|
|
|
|
|
|
|
|
94|creativezenxfi3)
|
|
|
|
target_id=81
|
|
|
|
modelname="creativezenxfi3"
|
|
|
|
target="CREATIVE_ZENXFI3"
|
|
|
|
memory=64
|
|
|
|
bmp2rb_mono="$rootdir/tools/bmp2rb -f 0"
|
|
|
|
bmp2rb_native="$rootdir/tools/bmp2rb -f 4"
|
|
|
|
tool="$rootdir/tools/scramble -add=zxf3"
|
|
|
|
output="rockbox.creative"
|
|
|
|
bootoutput="bootloader-zenxfi3.creative"
|
|
|
|
appextra="gui:recorder:radio"
|
2014-03-21 21:16:02 +00:00
|
|
|
plugins="yes"
|
2012-05-19 14:09:46 +00:00
|
|
|
toolset=$scramblebitmaptools
|
|
|
|
t_cpu="arm"
|
|
|
|
t_manufacturer="imx233"
|
|
|
|
t_model="creative-zenxfi3"
|
|
|
|
arm926ejscc
|
|
|
|
;;
|
|
|
|
|
2013-11-18 20:07:02 +00:00
|
|
|
95|creativezenv)
|
2013-12-30 10:11:16 +00:00
|
|
|
target_id=92
|
2013-11-18 20:07:02 +00:00
|
|
|
modelname="creativezenv"
|
|
|
|
target="CREATIVE_ZENV"
|
|
|
|
memory=32
|
|
|
|
bmp2rb_mono="$rootdir/tools/bmp2rb -f 0"
|
|
|
|
bmp2rb_native="$rootdir/tools/bmp2rb -f 4"
|
|
|
|
tool="$rootdir/tools/scramble -add=zenv"
|
|
|
|
output="rockbox.creative"
|
|
|
|
bootoutput="bootloader-zenv.creative"
|
|
|
|
appextra="radio:gui:recorder"
|
|
|
|
plugins=""
|
|
|
|
toolset=$scramblebitmaptools
|
|
|
|
t_cpu="arm"
|
|
|
|
t_manufacturer="imx233"
|
|
|
|
t_model="creative-zen"
|
|
|
|
arm926ejscc
|
|
|
|
;;
|
|
|
|
|
2013-10-21 22:30:43 +00:00
|
|
|
96|creativezenxfi)
|
|
|
|
target_id=86
|
|
|
|
modelname="creativezenxfi"
|
|
|
|
target="CREATIVE_ZENXFI"
|
|
|
|
memory=64
|
|
|
|
bmp2rb_mono="$rootdir/tools/bmp2rb -f 0"
|
2014-07-17 08:40:17 +00:00
|
|
|
bmp2rb_native="$rootdir/tools/bmp2rb -f 9"
|
2013-10-21 22:30:43 +00:00
|
|
|
tool="$rootdir/tools/scramble -add=zxfi"
|
|
|
|
output="rockbox.creative"
|
|
|
|
bootoutput="bootloader-zenxfi.creative"
|
|
|
|
appextra="gui:recorder:radio"
|
2014-07-17 08:40:17 +00:00
|
|
|
plugins="yes"
|
2013-10-21 22:30:43 +00:00
|
|
|
toolset=$scramblebitmaptools
|
|
|
|
t_cpu="arm"
|
|
|
|
t_manufacturer="imx233"
|
|
|
|
t_model="creative-zen"
|
|
|
|
arm926ejscc
|
|
|
|
;;
|
|
|
|
|
2013-10-21 22:28:09 +00:00
|
|
|
97|creativezenmozaic)
|
|
|
|
target_id=87
|
|
|
|
modelname="creativezenmozaic"
|
|
|
|
target="CREATIVE_ZENMOZAIC"
|
|
|
|
memory=32
|
|
|
|
bmp2rb_mono="$rootdir/tools/bmp2rb -f 0"
|
|
|
|
bmp2rb_native="$rootdir/tools/bmp2rb -f 4"
|
|
|
|
tool="$rootdir/tools/scramble -add=zmoz"
|
|
|
|
output="rockbox.creative"
|
|
|
|
bootoutput="bootloader-zenmozaic.creative"
|
|
|
|
appextra="gui:recorder:radio"
|
2014-07-17 08:40:17 +00:00
|
|
|
plugins="yes"
|
2013-10-21 22:28:09 +00:00
|
|
|
toolset=$scramblebitmaptools
|
|
|
|
t_cpu="arm"
|
|
|
|
t_manufacturer="imx233"
|
2013-11-18 15:08:53 +00:00
|
|
|
t_model="creative-zen"
|
2013-10-21 22:28:09 +00:00
|
|
|
arm926ejscc
|
|
|
|
;;
|
|
|
|
|
2013-10-21 22:30:43 +00:00
|
|
|
98|creativezen)
|
|
|
|
target_id=90
|
|
|
|
modelname="creativezen"
|
|
|
|
target="CREATIVE_ZEN"
|
|
|
|
memory=32
|
|
|
|
bmp2rb_mono="$rootdir/tools/bmp2rb -f 0"
|
2014-06-22 10:55:41 +00:00
|
|
|
bmp2rb_native="$rootdir/tools/bmp2rb -f 9"
|
2013-10-21 22:30:43 +00:00
|
|
|
tool="$rootdir/tools/scramble -add=zen"
|
|
|
|
output="rockbox.creative"
|
|
|
|
bootoutput="bootloader-zen.creative"
|
|
|
|
appextra="gui:recorder:radio"
|
2014-07-17 08:40:17 +00:00
|
|
|
plugins="yes"
|
2013-10-21 22:30:43 +00:00
|
|
|
toolset=$scramblebitmaptools
|
|
|
|
t_cpu="arm"
|
|
|
|
t_manufacturer="imx233"
|
|
|
|
t_model="creative-zen"
|
|
|
|
arm926ejscc
|
|
|
|
;;
|
|
|
|
|
|
|
|
|
2009-12-07 12:19:08 +00:00
|
|
|
50|sansae200)
|
2006-08-28 08:46:16 +00:00
|
|
|
target_id=23
|
2009-12-07 12:19:08 +00:00
|
|
|
modelname="sansae200"
|
2011-12-15 17:50:33 +00:00
|
|
|
target="SANSA_E200"
|
2006-08-01 22:22:01 +00:00
|
|
|
memory=32 # supposedly
|
|
|
|
arm7tdmicc
|
2007-04-12 21:07:35 +00:00
|
|
|
tool="$rootdir/tools/scramble -mi4v3 -model=e200 -type=RBOS"
|
2006-08-01 22:22:01 +00:00
|
|
|
bmp2rb_mono="$rootdir/tools/bmp2rb -f 0"
|
2006-11-21 22:26:10 +00:00
|
|
|
bmp2rb_native="$rootdir/tools/bmp2rb -f 4"
|
2007-04-12 21:07:35 +00:00
|
|
|
output="rockbox.mi4"
|
2010-05-17 15:03:59 +00:00
|
|
|
appextra="recorder:gui:radio"
|
2006-08-01 22:22:01 +00:00
|
|
|
plugins="yes"
|
2007-03-16 14:28:00 +00:00
|
|
|
boottool="$rootdir/tools/scramble -mi4v3 -model=e200 -type=RBBL"
|
2006-08-31 09:39:54 +00:00
|
|
|
bootoutput="PP5022.mi4"
|
2006-08-01 22:22:01 +00:00
|
|
|
# toolset is the tools within the tools directory that we build for
|
|
|
|
# this particular target.
|
2008-10-12 19:34:47 +00:00
|
|
|
toolset=$scramblebitmaptools
|
2006-08-01 22:22:01 +00:00
|
|
|
# architecture, manufacturer and model for the target-tree build
|
|
|
|
t_cpu="arm"
|
2012-01-03 04:23:08 +00:00
|
|
|
t_soc="pp"
|
2006-08-01 22:22:01 +00:00
|
|
|
t_manufacturer="sandisk"
|
|
|
|
t_model="sansa-e200"
|
|
|
|
;;
|
|
|
|
|
2009-12-07 12:19:08 +00:00
|
|
|
51|sansae200r)
|
2007-02-23 22:57:01 +00:00
|
|
|
# the e200R model is pretty much identical to the e200, it only has a
|
|
|
|
# different option to the scramble tool when building a bootloader and
|
|
|
|
# makes the bootloader output file name in all lower case.
|
|
|
|
target_id=27
|
2009-12-07 12:19:08 +00:00
|
|
|
modelname="sansae200r"
|
2011-12-15 17:50:33 +00:00
|
|
|
target="SANSA_E200"
|
2007-02-23 22:57:01 +00:00
|
|
|
memory=32 # supposedly
|
|
|
|
arm7tdmicc
|
2007-04-12 21:07:35 +00:00
|
|
|
tool="$rootdir/tools/scramble -mi4v3 -model=e20r -type=RBOS"
|
2007-02-23 22:57:01 +00:00
|
|
|
bmp2rb_mono="$rootdir/tools/bmp2rb -f 0"
|
|
|
|
bmp2rb_native="$rootdir/tools/bmp2rb -f 4"
|
2007-04-12 21:07:35 +00:00
|
|
|
output="rockbox.mi4"
|
2010-05-17 15:03:59 +00:00
|
|
|
appextra="recorder:gui:radio"
|
2007-02-23 22:57:01 +00:00
|
|
|
plugins="yes"
|
2007-03-16 14:28:00 +00:00
|
|
|
boottool="$rootdir/tools/scramble -mi4r -model=e20r -type=RBBL"
|
2007-02-23 22:57:01 +00:00
|
|
|
bootoutput="pp5022.mi4"
|
|
|
|
# toolset is the tools within the tools directory that we build for
|
|
|
|
# this particular target.
|
2008-10-12 19:34:47 +00:00
|
|
|
toolset=$scramblebitmaptools
|
2007-02-23 22:57:01 +00:00
|
|
|
# architecture, manufacturer and model for the target-tree build
|
|
|
|
t_cpu="arm"
|
2012-01-03 04:23:08 +00:00
|
|
|
t_soc="pp"
|
2007-02-23 22:57:01 +00:00
|
|
|
t_manufacturer="sandisk"
|
|
|
|
t_model="sansa-e200"
|
|
|
|
;;
|
|
|
|
|
2009-12-07 12:19:08 +00:00
|
|
|
52|sansac200)
|
2007-09-06 03:28:58 +00:00
|
|
|
target_id=30
|
2009-12-07 12:19:08 +00:00
|
|
|
modelname="sansac200"
|
2011-12-15 17:50:33 +00:00
|
|
|
target="SANSA_C200"
|
2007-09-06 03:28:58 +00:00
|
|
|
memory=32 # supposedly
|
|
|
|
arm7tdmicc
|
|
|
|
tool="$rootdir/tools/scramble -mi4v3 -model=c200 -type=RBOS"
|
|
|
|
bmp2rb_mono="$rootdir/tools/bmp2rb -f 0"
|
|
|
|
bmp2rb_native="$rootdir/tools/bmp2rb -f 4"
|
|
|
|
output="rockbox.mi4"
|
2010-05-17 15:03:59 +00:00
|
|
|
appextra="recorder:gui:radio"
|
2007-09-21 16:10:56 +00:00
|
|
|
plugins="yes"
|
2007-09-06 03:28:58 +00:00
|
|
|
boottool="$rootdir/tools/scramble -mi4v3 -model=c200 -type=RBBL"
|
|
|
|
bootoutput="firmware.mi4"
|
|
|
|
# toolset is the tools within the tools directory that we build for
|
|
|
|
# this particular target.
|
2008-10-12 19:34:47 +00:00
|
|
|
toolset=$scramblebitmaptools
|
2007-09-06 03:28:58 +00:00
|
|
|
# architecture, manufacturer and model for the target-tree build
|
|
|
|
t_cpu="arm"
|
2012-01-03 04:23:08 +00:00
|
|
|
t_soc="pp"
|
2007-09-06 03:28:58 +00:00
|
|
|
t_manufacturer="sandisk"
|
|
|
|
t_model="sansa-c200"
|
|
|
|
;;
|
|
|
|
|
2009-12-07 12:19:08 +00:00
|
|
|
55|sansaclip)
|
2008-10-12 16:46:01 +00:00
|
|
|
target_id=50
|
2009-12-07 12:19:08 +00:00
|
|
|
modelname="sansaclip"
|
2011-12-15 17:50:33 +00:00
|
|
|
target="SANSA_CLIP"
|
2008-10-28 11:24:29 +00:00
|
|
|
memory=2
|
2008-10-12 16:46:01 +00:00
|
|
|
bmp2rb_mono="$rootdir/tools/bmp2rb -f 0"
|
|
|
|
bmp2rb_native="$bmp2rb_mono"
|
2008-10-12 19:34:47 +00:00
|
|
|
tool="$rootdir/tools/scramble -add=clip"
|
|
|
|
output="rockbox.sansa"
|
|
|
|
bootoutput="bootloader-clip.sansa"
|
2010-05-17 15:03:59 +00:00
|
|
|
appextra="recorder:gui:radio"
|
2008-11-28 00:37:28 +00:00
|
|
|
plugins="yes"
|
2008-10-12 19:34:47 +00:00
|
|
|
toolset=$scramblebitmaptools
|
2008-10-12 16:46:01 +00:00
|
|
|
t_cpu="arm"
|
|
|
|
t_manufacturer="as3525"
|
2008-10-12 18:07:23 +00:00
|
|
|
t_model="sansa-clip"
|
2020-08-31 17:31:00 +00:00
|
|
|
sysfont="08-Rockfont"
|
2010-06-11 11:50:19 +00:00
|
|
|
if [ "$ARG_ARM_THUMB" != 0 ]; then ARG_ARM_THUMB=1; fi
|
2009-06-08 23:05:33 +00:00
|
|
|
arm9tdmicc
|
2008-10-12 16:46:01 +00:00
|
|
|
;;
|
|
|
|
|
2009-12-07 12:19:08 +00:00
|
|
|
56|sansae200v2)
|
2008-10-19 14:11:01 +00:00
|
|
|
target_id=51
|
2009-12-07 12:19:08 +00:00
|
|
|
modelname="sansae200v2"
|
2011-12-15 17:50:33 +00:00
|
|
|
target="SANSA_E200V2"
|
2008-10-28 11:24:29 +00:00
|
|
|
memory=8
|
2008-10-19 14:11:01 +00:00
|
|
|
bmp2rb_mono="$rootdir/tools/bmp2rb -f 0"
|
2008-10-28 17:49:35 +00:00
|
|
|
bmp2rb_native="$rootdir/tools/bmp2rb -f 4"
|
2008-10-19 14:11:01 +00:00
|
|
|
tool="$rootdir/tools/scramble -add=e2v2"
|
|
|
|
output="rockbox.sansa"
|
|
|
|
bootoutput="bootloader-e200v2.sansa"
|
2010-05-17 15:03:59 +00:00
|
|
|
appextra="recorder:gui:radio"
|
2008-10-28 17:49:35 +00:00
|
|
|
plugins="yes"
|
2008-10-19 14:11:01 +00:00
|
|
|
toolset=$scramblebitmaptools
|
|
|
|
t_cpu="arm"
|
|
|
|
t_manufacturer="as3525"
|
2008-10-28 16:49:59 +00:00
|
|
|
t_model="sansa-e200v2"
|
2009-06-08 23:05:33 +00:00
|
|
|
arm9tdmicc
|
2008-10-19 14:11:01 +00:00
|
|
|
;;
|
|
|
|
|
|
|
|
|
2009-12-07 12:19:08 +00:00
|
|
|
57|sansam200v4)
|
2008-10-19 14:11:01 +00:00
|
|
|
target_id=52
|
2009-12-07 12:19:08 +00:00
|
|
|
modelname="sansam200v4"
|
2011-12-15 17:50:33 +00:00
|
|
|
target="SANSA_M200V4"
|
2008-10-28 11:24:29 +00:00
|
|
|
memory=2
|
2008-10-19 14:11:01 +00:00
|
|
|
bmp2rb_mono="$rootdir/tools/bmp2rb -f 0"
|
|
|
|
bmp2rb_native="$bmp2rb_mono"
|
2008-11-11 00:27:00 +00:00
|
|
|
tool="$rootdir/tools/scramble -add=m2v4"
|
2008-10-19 14:11:01 +00:00
|
|
|
output="rockbox.sansa"
|
2008-11-10 09:27:40 +00:00
|
|
|
bootoutput="bootloader-m200v4.sansa"
|
2010-05-17 15:03:59 +00:00
|
|
|
appextra="recorder:gui:radio"
|
2008-12-12 19:50:49 +00:00
|
|
|
plugins="yes"
|
2008-10-19 14:11:01 +00:00
|
|
|
toolset=$scramblebitmaptools
|
|
|
|
t_cpu="arm"
|
|
|
|
t_manufacturer="as3525"
|
2008-11-10 09:27:40 +00:00
|
|
|
t_model="sansa-m200v4"
|
2020-08-31 17:31:00 +00:00
|
|
|
sysfont="08-Rockfont"
|
2010-06-11 11:50:19 +00:00
|
|
|
if [ "$ARG_ARM_THUMB" != 0 ]; then ARG_ARM_THUMB=1; fi
|
2009-06-08 23:05:33 +00:00
|
|
|
arm9tdmicc
|
2008-10-19 14:11:01 +00:00
|
|
|
;;
|
|
|
|
|
|
|
|
|
2009-12-07 12:19:08 +00:00
|
|
|
58|sansafuze)
|
2008-11-01 10:29:23 +00:00
|
|
|
target_id=53
|
2009-12-07 12:19:08 +00:00
|
|
|
modelname="sansafuze"
|
2011-12-15 17:50:33 +00:00
|
|
|
target="SANSA_FUZE"
|
2008-11-11 14:46:13 +00:00
|
|
|
memory=8
|
2008-11-01 10:29:23 +00:00
|
|
|
bmp2rb_mono="$rootdir/tools/bmp2rb -f 0"
|
|
|
|
bmp2rb_native="$rootdir/tools/bmp2rb -f 4"
|
2008-11-01 10:47:17 +00:00
|
|
|
tool="$rootdir/tools/scramble -add=fuze"
|
2008-11-01 10:29:23 +00:00
|
|
|
output="rockbox.sansa"
|
|
|
|
bootoutput="bootloader-fuze.sansa"
|
2010-05-17 15:03:59 +00:00
|
|
|
appextra="recorder:gui:radio"
|
2009-01-04 23:33:15 +00:00
|
|
|
plugins="yes"
|
2008-11-01 10:29:23 +00:00
|
|
|
toolset=$scramblebitmaptools
|
|
|
|
t_cpu="arm"
|
|
|
|
t_manufacturer="as3525"
|
|
|
|
t_model="sansa-fuze"
|
2009-06-08 23:05:33 +00:00
|
|
|
arm9tdmicc
|
2008-11-01 10:29:23 +00:00
|
|
|
;;
|
|
|
|
|
|
|
|
|
2009-12-07 12:19:08 +00:00
|
|
|
59|sansac200v2)
|
2008-12-24 04:10:18 +00:00
|
|
|
target_id=55
|
2009-12-07 12:19:08 +00:00
|
|
|
modelname="sansac200v2"
|
2011-12-15 17:50:33 +00:00
|
|
|
target="SANSA_C200V2"
|
2008-12-24 04:10:18 +00:00
|
|
|
memory=2 # as per OF diagnosis mode
|
|
|
|
bmp2rb_mono="$rootdir/tools/bmp2rb -f 0"
|
|
|
|
bmp2rb_native="$rootdir/tools/bmp2rb -f 4"
|
|
|
|
tool="$rootdir/tools/scramble -add=c2v2"
|
|
|
|
output="rockbox.sansa"
|
|
|
|
bootoutput="bootloader-c200v2.sansa"
|
2010-05-17 15:03:59 +00:00
|
|
|
appextra="recorder:gui:radio"
|
2008-12-24 04:10:18 +00:00
|
|
|
plugins="yes"
|
|
|
|
# toolset is the tools within the tools directory that we build for
|
|
|
|
# this particular target.
|
|
|
|
toolset=$scramblebitmaptools
|
|
|
|
# architecture, manufacturer and model for the target-tree build
|
|
|
|
t_cpu="arm"
|
|
|
|
t_manufacturer="as3525"
|
|
|
|
t_model="sansa-c200v2"
|
2010-06-11 11:50:19 +00:00
|
|
|
if [ "$ARG_ARM_THUMB" != 0 ]; then ARG_ARM_THUMB=1; fi
|
2009-06-08 23:05:33 +00:00
|
|
|
arm9tdmicc
|
2008-12-24 04:10:18 +00:00
|
|
|
;;
|
|
|
|
|
2009-12-07 12:19:08 +00:00
|
|
|
60|sansaclipv2)
|
2009-05-28 16:22:08 +00:00
|
|
|
target_id=60
|
2009-12-07 12:19:08 +00:00
|
|
|
modelname="sansaclipv2"
|
2011-12-15 17:50:33 +00:00
|
|
|
target="SANSA_CLIPV2"
|
2009-05-28 16:22:08 +00:00
|
|
|
memory=8
|
|
|
|
bmp2rb_mono="$rootdir/tools/bmp2rb -f 0"
|
|
|
|
bmp2rb_native="$bmp2rb_mono"
|
|
|
|
tool="$rootdir/tools/scramble -add=clv2"
|
|
|
|
output="rockbox.sansa"
|
|
|
|
bootoutput="bootloader-clipv2.sansa"
|
2010-05-17 15:03:59 +00:00
|
|
|
appextra="recorder:gui:radio"
|
2009-05-28 16:22:08 +00:00
|
|
|
plugins="yes"
|
|
|
|
toolset=$scramblebitmaptools
|
|
|
|
t_cpu="arm"
|
|
|
|
t_manufacturer="as3525"
|
|
|
|
t_model="sansa-clipv2"
|
2020-08-31 17:31:00 +00:00
|
|
|
sysfont="08-Rockfont"
|
2010-02-23 06:59:53 +00:00
|
|
|
arm926ejscc
|
2009-05-28 16:22:08 +00:00
|
|
|
;;
|
|
|
|
|
2009-12-07 12:19:08 +00:00
|
|
|
61|sansaview)
|
2009-07-13 21:09:39 +00:00
|
|
|
target_id=63
|
2009-12-07 12:19:08 +00:00
|
|
|
modelname="sansaview"
|
2011-12-15 17:50:33 +00:00
|
|
|
target="SANSA_VIEW"
|
2009-07-13 21:09:39 +00:00
|
|
|
memory=32
|
|
|
|
arm1176jzscc
|
|
|
|
bmp2rb_mono="$rootdir/tools/bmp2rb -f 0"
|
|
|
|
bmp2rb_native="$rootdir/tools/bmp2rb -f 4"
|
|
|
|
output="rockbox.mi4"
|
|
|
|
appextra="gui"
|
|
|
|
plugins=""
|
|
|
|
boottool="$rootdir/tools/scramble -mi4v3 -model=view -type=RBBL"
|
|
|
|
bootoutput="firmware.mi4"
|
|
|
|
# toolset is the tools within the tools directory that we build for
|
|
|
|
# this particular target.
|
|
|
|
toolset=$scramblebitmaptools
|
|
|
|
t_cpu="arm"
|
2012-01-03 04:23:08 +00:00
|
|
|
t_soc="pp"
|
2009-07-13 21:09:39 +00:00
|
|
|
t_manufacturer="sandisk"
|
|
|
|
t_model="sansa-view"
|
|
|
|
;;
|
|
|
|
|
2010-01-13 03:05:29 +00:00
|
|
|
62|sansaclipplus)
|
|
|
|
target_id=66
|
|
|
|
modelname="sansaclipplus"
|
2011-12-15 17:50:33 +00:00
|
|
|
target="SANSA_CLIPPLUS"
|
2010-01-13 03:05:29 +00:00
|
|
|
memory=8
|
|
|
|
bmp2rb_mono="$rootdir/tools/bmp2rb -f 0"
|
|
|
|
bmp2rb_native="$bmp2rb_mono"
|
|
|
|
tool="$rootdir/tools/scramble -add=cli+"
|
|
|
|
output="rockbox.sansa"
|
|
|
|
bootoutput="bootloader-clipplus.sansa"
|
2010-05-17 15:03:59 +00:00
|
|
|
appextra="recorder:gui:radio"
|
2010-01-13 03:05:29 +00:00
|
|
|
plugins="yes"
|
|
|
|
toolset=$scramblebitmaptools
|
|
|
|
t_cpu="arm"
|
|
|
|
t_manufacturer="as3525"
|
|
|
|
t_model="sansa-clipplus"
|
2020-08-31 17:31:00 +00:00
|
|
|
sysfont="08-Rockfont"
|
2010-02-23 06:59:53 +00:00
|
|
|
arm926ejscc
|
2010-01-13 03:05:29 +00:00
|
|
|
;;
|
|
|
|
|
2010-02-25 13:26:46 +00:00
|
|
|
63|sansafuzev2)
|
|
|
|
target_id=68
|
|
|
|
modelname="sansafuzev2"
|
2011-12-15 17:50:33 +00:00
|
|
|
target="SANSA_FUZEV2"
|
2010-02-25 13:26:46 +00:00
|
|
|
memory=8 # not sure
|
|
|
|
bmp2rb_mono="$rootdir/tools/bmp2rb -f 0"
|
2010-04-05 07:10:01 +00:00
|
|
|
bmp2rb_native="$rootdir/tools/bmp2rb -f 5"
|
2010-02-25 13:26:46 +00:00
|
|
|
tool="$rootdir/tools/scramble -add=fuz2"
|
|
|
|
output="rockbox.sansa"
|
|
|
|
bootoutput="bootloader-fuzev2.sansa"
|
2010-05-17 15:03:59 +00:00
|
|
|
appextra="recorder:gui:radio"
|
2010-04-01 17:19:48 +00:00
|
|
|
plugins="yes"
|
2010-02-25 13:26:46 +00:00
|
|
|
toolset=$scramblebitmaptools
|
|
|
|
t_cpu="arm"
|
|
|
|
t_manufacturer="as3525"
|
|
|
|
t_model="sansa-fuzev2"
|
2010-02-25 14:49:31 +00:00
|
|
|
arm926ejscc
|
2010-02-25 13:26:46 +00:00
|
|
|
;;
|
|
|
|
|
2012-01-03 04:23:08 +00:00
|
|
|
64|sansafuzeplus)
|
2011-05-01 13:02:46 +00:00
|
|
|
target_id=80
|
|
|
|
modelname="sansafuzeplus"
|
2011-12-15 17:50:33 +00:00
|
|
|
target="SANSA_FUZEPLUS"
|
2011-07-23 11:45:03 +00:00
|
|
|
memory=64
|
2011-05-01 13:02:46 +00:00
|
|
|
bmp2rb_mono="$rootdir/tools/bmp2rb -f 0"
|
|
|
|
bmp2rb_native="$rootdir/tools/bmp2rb -f 4"
|
|
|
|
tool="$rootdir/tools/scramble -add=fuz+"
|
|
|
|
output="rockbox.sansa"
|
2011-11-06 13:27:34 +00:00
|
|
|
bootoutput="bootloader-fuzeplus.sansa"
|
2011-07-23 11:45:03 +00:00
|
|
|
appextra="gui:recorder:radio"
|
2011-10-02 20:33:14 +00:00
|
|
|
plugins="yes"
|
2011-05-01 13:02:46 +00:00
|
|
|
toolset=$scramblebitmaptools
|
|
|
|
t_cpu="arm"
|
|
|
|
t_manufacturer="imx233"
|
|
|
|
t_model="sansa-fuzeplus"
|
|
|
|
arm926ejscc
|
|
|
|
;;
|
|
|
|
|
2011-08-27 16:21:19 +00:00
|
|
|
65|sansaclipzip)
|
|
|
|
target_id=68
|
|
|
|
modelname="sansaclipzip"
|
2011-12-15 17:50:33 +00:00
|
|
|
target="SANSA_CLIPZIP"
|
2011-08-27 16:21:19 +00:00
|
|
|
memory=8 # not sure
|
|
|
|
bmp2rb_mono="$rootdir/tools/bmp2rb -f 0"
|
2011-10-31 20:17:04 +00:00
|
|
|
bmp2rb_native="$rootdir/tools/bmp2rb -f 4"
|
2011-08-27 16:21:19 +00:00
|
|
|
tool="$rootdir/tools/scramble -add=clzp"
|
|
|
|
output="rockbox.sansa"
|
|
|
|
bootoutput="bootloader-clipzip.sansa"
|
|
|
|
appextra="recorder:gui:radio"
|
2011-12-02 20:28:20 +00:00
|
|
|
plugins="yes"
|
2011-08-27 16:21:19 +00:00
|
|
|
toolset=$scramblebitmaptools
|
|
|
|
t_cpu="arm"
|
|
|
|
t_manufacturer="as3525"
|
|
|
|
t_model="sansa-clipzip"
|
|
|
|
arm926ejscc
|
|
|
|
;;
|
|
|
|
|
2011-11-16 14:08:01 +00:00
|
|
|
66|sansaconnect)
|
|
|
|
target_id=81
|
|
|
|
modelname="sansaconnect"
|
2011-12-15 17:50:33 +00:00
|
|
|
target="SANSA_CONNECT"
|
2011-11-16 14:08:01 +00:00
|
|
|
memory=64
|
|
|
|
bmp2rb_mono="$rootdir/tools/bmp2rb -f 0"
|
|
|
|
bmp2rb_native="$rootdir/tools/bmp2rb -f 4"
|
|
|
|
tool="$rootdir/tools/scramble -add=conn"
|
|
|
|
output="rockbox.sansa"
|
|
|
|
bootoutput="bootloader-connect.sansa"
|
|
|
|
appextra="recorder:gui"
|
|
|
|
plugins="yes"
|
|
|
|
toolset=$scramblebitmaptools
|
|
|
|
t_cpu="arm"
|
|
|
|
t_manufacturer="tms320dm320"
|
|
|
|
t_model="sansa-connect"
|
|
|
|
arm926ejscc
|
|
|
|
;;
|
2012-01-03 04:23:08 +00:00
|
|
|
|
2009-12-07 12:19:08 +00:00
|
|
|
100|gogearsa9200)
|
2008-05-21 03:55:17 +00:00
|
|
|
target_id=41
|
2009-12-07 12:19:08 +00:00
|
|
|
modelname="gogearsa9200"
|
2011-12-15 17:50:33 +00:00
|
|
|
target="PHILIPS_SA9200"
|
2008-05-21 03:55:17 +00:00
|
|
|
memory=32 # supposedly
|
|
|
|
arm7tdmicc
|
|
|
|
tool="$rootdir/tools/scramble -mi4v3 -model=9200 -type=RBOS"
|
|
|
|
bmp2rb_mono="$rootdir/tools/bmp2rb -f 0"
|
|
|
|
bmp2rb_native="$rootdir/tools/bmp2rb -f 4"
|
|
|
|
output="rockbox.mi4"
|
2010-05-17 15:03:59 +00:00
|
|
|
appextra="recorder:gui:radio"
|
2011-01-09 21:42:25 +00:00
|
|
|
plugins="yes"
|
2008-05-21 03:55:17 +00:00
|
|
|
boottool="$rootdir/tools/scramble -mi4v3 -model=9200 -type=RBBL"
|
|
|
|
bootoutput="FWImage.ebn"
|
|
|
|
# toolset is the tools within the tools directory that we build for
|
|
|
|
# this particular target.
|
2008-10-12 19:34:47 +00:00
|
|
|
toolset=$scramblebitmaptools
|
2008-05-21 03:55:17 +00:00
|
|
|
# architecture, manufacturer and model for the target-tree build
|
|
|
|
t_cpu="arm"
|
2012-01-03 04:23:08 +00:00
|
|
|
t_soc="pp"
|
2008-05-21 03:55:17 +00:00
|
|
|
t_manufacturer="philips"
|
|
|
|
t_model="sa9200"
|
|
|
|
;;
|
|
|
|
|
2009-12-07 12:19:08 +00:00
|
|
|
101|gogearhdd1630)
|
2008-06-27 18:40:25 +00:00
|
|
|
target_id=43
|
2009-12-07 12:19:08 +00:00
|
|
|
modelname="gogearhdd1630"
|
2011-12-15 17:50:33 +00:00
|
|
|
target="PHILIPS_HDD1630"
|
2008-06-27 18:40:25 +00:00
|
|
|
memory=32 # supposedly
|
|
|
|
arm7tdmicc
|
|
|
|
tool="$rootdir/tools/scramble -mi4v3 -model=1630 -type=RBOS"
|
|
|
|
bmp2rb_mono="$rootdir/tools/bmp2rb -f 0"
|
|
|
|
bmp2rb_native="$rootdir/tools/bmp2rb -f 4"
|
|
|
|
output="rockbox.mi4"
|
2010-05-17 15:03:59 +00:00
|
|
|
appextra="recorder:gui:radio"
|
2009-01-24 22:41:55 +00:00
|
|
|
plugins="yes"
|
2008-06-27 18:40:25 +00:00
|
|
|
boottool="$rootdir/tools/scramble -mi4v3 -model=1630 -type=RBBL"
|
|
|
|
bootoutput="FWImage.ebn"
|
|
|
|
# toolset is the tools within the tools directory that we build for
|
|
|
|
# this particular target.
|
2008-10-12 19:34:47 +00:00
|
|
|
toolset=$scramblebitmaptools
|
2008-06-27 18:40:25 +00:00
|
|
|
# architecture, manufacturer and model for the target-tree build
|
|
|
|
t_cpu="arm"
|
2012-01-03 04:23:08 +00:00
|
|
|
t_soc="pp"
|
2008-06-27 18:40:25 +00:00
|
|
|
t_manufacturer="philips"
|
|
|
|
t_model="hdd1630"
|
|
|
|
;;
|
|
|
|
|
2009-12-25 04:05:01 +00:00
|
|
|
102|gogearhdd6330)
|
|
|
|
target_id=65
|
|
|
|
modelname="gogearhdd6330"
|
2011-12-15 17:50:33 +00:00
|
|
|
target="PHILIPS_HDD6330"
|
2010-11-02 20:28:33 +00:00
|
|
|
memory=64 # always
|
2009-12-25 04:05:01 +00:00
|
|
|
arm7tdmicc
|
|
|
|
tool="$rootdir/tools/scramble -mi4v3 -model=6330 -type=RBOS"
|
|
|
|
bmp2rb_mono="$rootdir/tools/bmp2rb -f 0"
|
2010-12-02 20:35:25 +00:00
|
|
|
bmp2rb_native="$rootdir/tools/bmp2rb -f 5"
|
2009-12-25 04:05:01 +00:00
|
|
|
output="rockbox.mi4"
|
2010-05-17 15:03:59 +00:00
|
|
|
appextra="recorder:gui:radio"
|
2010-11-03 03:36:30 +00:00
|
|
|
plugins="yes"
|
2009-12-25 04:05:01 +00:00
|
|
|
boottool="$rootdir/tools/scramble -mi4v3 -model=6330 -type=RBBL"
|
|
|
|
bootoutput="FWImage.ebn"
|
|
|
|
# toolset is the tools within the tools directory that we build for
|
|
|
|
# this particular target.
|
|
|
|
toolset=$scramblebitmaptools
|
|
|
|
# architecture, manufacturer and model for the target-tree build
|
|
|
|
t_cpu="arm"
|
2012-01-03 04:23:08 +00:00
|
|
|
t_soc="pp"
|
2009-12-25 04:05:01 +00:00
|
|
|
t_manufacturer="philips"
|
|
|
|
t_model="hdd6330"
|
|
|
|
;;
|
|
|
|
|
2008-06-27 23:24:34 +00:00
|
|
|
110|meizum6sl)
|
2008-10-02 17:53:35 +00:00
|
|
|
target_id=49
|
2008-06-27 23:24:34 +00:00
|
|
|
modelname="meizum6sl"
|
2011-12-15 17:50:33 +00:00
|
|
|
target="MEIZU_M6SL"
|
2008-06-27 23:24:34 +00:00
|
|
|
memory=16 # always
|
|
|
|
arm940tbecc
|
|
|
|
tool="cp"
|
|
|
|
bmp2rb_mono="$rootdir/tools/bmp2rb -f 0"
|
|
|
|
bmp2rb_native="$rootdir/tools/bmp2rb -f 4"
|
|
|
|
output="rockbox.meizu"
|
2010-05-17 15:03:59 +00:00
|
|
|
appextra="recorder:gui:radio"
|
2008-06-27 23:24:34 +00:00
|
|
|
plugins="no" #FIXME
|
|
|
|
toolset=$genericbitmaptools
|
|
|
|
boottool="cp"
|
|
|
|
bootoutput="rockboot.ebn"
|
|
|
|
# architecture, manufacturer and model for the target-tree build
|
|
|
|
t_cpu="arm"
|
|
|
|
t_manufacturer="s5l8700"
|
|
|
|
t_model="meizu-m6sl"
|
|
|
|
;;
|
2018-11-05 12:01:55 +00:00
|
|
|
|
2008-09-17 23:22:11 +00:00
|
|
|
111|meizum6sp)
|
|
|
|
target_id=46
|
|
|
|
modelname="meizum6sp"
|
2011-12-15 17:50:33 +00:00
|
|
|
target="MEIZU_M6SP"
|
2008-09-17 23:22:11 +00:00
|
|
|
memory=16 # always
|
|
|
|
arm940tbecc
|
|
|
|
tool="cp"
|
|
|
|
bmp2rb_mono="$rootdir/tools/bmp2rb -f 0"
|
|
|
|
bmp2rb_native="$rootdir/tools/bmp2rb -f 4"
|
|
|
|
output="rockbox.meizu"
|
2010-05-17 15:03:59 +00:00
|
|
|
appextra="recorder:gui:radio"
|
2008-09-17 23:22:11 +00:00
|
|
|
plugins="no" #FIXME
|
|
|
|
toolset=$genericbitmaptools
|
|
|
|
boottool="cp"
|
|
|
|
bootoutput="rockboot.ebn"
|
|
|
|
# architecture, manufacturer and model for the target-tree build
|
|
|
|
t_cpu="arm"
|
|
|
|
t_manufacturer="s5l8700"
|
|
|
|
t_model="meizu-m6sp"
|
|
|
|
;;
|
2018-11-05 12:01:55 +00:00
|
|
|
|
2008-09-17 23:22:11 +00:00
|
|
|
112|meizum3)
|
|
|
|
target_id=47
|
|
|
|
modelname="meizum3"
|
2011-12-15 17:50:33 +00:00
|
|
|
target="MEIZU_M3"
|
2008-09-17 23:22:11 +00:00
|
|
|
memory=16 # always
|
|
|
|
arm940tbecc
|
|
|
|
tool="cp"
|
|
|
|
bmp2rb_mono="$rootdir/tools/bmp2rb -f 0"
|
|
|
|
bmp2rb_native="$rootdir/tools/bmp2rb -f 4"
|
|
|
|
output="rockbox.meizu"
|
2010-05-17 15:03:59 +00:00
|
|
|
appextra="recorder:gui:radio"
|
2008-09-17 23:22:11 +00:00
|
|
|
plugins="no" #FIXME
|
|
|
|
toolset=$genericbitmaptools
|
|
|
|
boottool="cp"
|
|
|
|
bootoutput="rockboot.ebn"
|
|
|
|
# architecture, manufacturer and model for the target-tree build
|
|
|
|
t_cpu="arm"
|
|
|
|
t_manufacturer="s5l8700"
|
|
|
|
t_model="meizu-m3"
|
|
|
|
;;
|
2018-11-05 12:01:55 +00:00
|
|
|
|
2008-07-14 15:03:10 +00:00
|
|
|
120|ondavx747)
|
2009-08-16 21:03:22 +00:00
|
|
|
target_id=45
|
2008-07-14 15:03:10 +00:00
|
|
|
modelname="ondavx747"
|
2011-12-15 17:50:33 +00:00
|
|
|
target="ONDA_VX747"
|
2009-02-09 10:02:38 +00:00
|
|
|
memory=16
|
2008-07-14 15:03:10 +00:00
|
|
|
mipselcc
|
2009-02-09 10:02:38 +00:00
|
|
|
tool="$rootdir/tools/scramble -add=x747"
|
2008-07-14 15:03:10 +00:00
|
|
|
bmp2rb_mono="$rootdir/tools/bmp2rb -f 0"
|
|
|
|
bmp2rb_native="$rootdir/tools/bmp2rb -f 4"
|
|
|
|
output="rockbox.vx747"
|
2010-05-17 15:03:59 +00:00
|
|
|
appextra="recorder:gui:radio"
|
2009-04-07 23:54:25 +00:00
|
|
|
plugins="yes"
|
2008-07-14 15:03:10 +00:00
|
|
|
toolset=$genericbitmaptools
|
2009-07-17 14:30:42 +00:00
|
|
|
boottool="$rootdir/tools/scramble -ccpmp"
|
|
|
|
bootoutput="ccpmp.bin"
|
2008-07-14 15:03:10 +00:00
|
|
|
# architecture, manufacturer and model for the target-tree build
|
|
|
|
t_cpu="mips"
|
|
|
|
t_manufacturer="ingenic_jz47xx"
|
|
|
|
t_model="onda_vx747"
|
|
|
|
;;
|
2018-11-05 12:01:55 +00:00
|
|
|
|
2008-09-05 15:09:40 +00:00
|
|
|
121|ondavx767)
|
2009-08-16 21:03:22 +00:00
|
|
|
target_id=64
|
2008-09-05 15:09:40 +00:00
|
|
|
modelname="ondavx767"
|
2011-12-15 17:50:33 +00:00
|
|
|
target="ONDA_VX767"
|
2008-09-05 15:09:40 +00:00
|
|
|
memory=16 #FIXME
|
|
|
|
mipselcc
|
|
|
|
tool="cp"
|
|
|
|
bmp2rb_mono="$rootdir/tools/bmp2rb -f 0"
|
|
|
|
bmp2rb_native="$rootdir/tools/bmp2rb -f 4"
|
|
|
|
output="rockbox.vx767"
|
2010-05-17 15:03:59 +00:00
|
|
|
appextra="recorder:gui:radio"
|
2009-02-09 10:02:38 +00:00
|
|
|
plugins="" #FIXME
|
2008-09-05 15:09:40 +00:00
|
|
|
toolset=$genericbitmaptools
|
2009-07-17 14:30:42 +00:00
|
|
|
boottool="$rootdir/tools/scramble -ccpmp"
|
|
|
|
bootoutput="ccpmp.bin"
|
2008-09-05 15:09:40 +00:00
|
|
|
# architecture, manufacturer and model for the target-tree build
|
|
|
|
t_cpu="mips"
|
|
|
|
t_manufacturer="ingenic_jz47xx"
|
|
|
|
t_model="onda_vx767"
|
|
|
|
;;
|
2018-11-05 12:01:55 +00:00
|
|
|
|
2008-12-19 11:13:58 +00:00
|
|
|
122|ondavx747p)
|
|
|
|
target_id=54
|
|
|
|
modelname="ondavx747p"
|
2011-12-15 17:50:33 +00:00
|
|
|
target="ONDA_VX747P"
|
2009-06-20 10:54:13 +00:00
|
|
|
memory=16
|
2008-12-19 11:13:58 +00:00
|
|
|
mipselcc
|
2009-06-20 10:54:13 +00:00
|
|
|
tool="$rootdir/tools/scramble -add=747p"
|
2008-12-19 11:13:58 +00:00
|
|
|
bmp2rb_mono="$rootdir/tools/bmp2rb -f 0"
|
|
|
|
bmp2rb_native="$rootdir/tools/bmp2rb -f 4"
|
|
|
|
output="rockbox.vx747p"
|
2010-05-17 15:03:59 +00:00
|
|
|
appextra="recorder:gui:radio"
|
2009-06-20 10:54:13 +00:00
|
|
|
plugins="yes"
|
2008-12-19 11:13:58 +00:00
|
|
|
toolset=$genericbitmaptools
|
2009-07-17 14:30:42 +00:00
|
|
|
boottool="$rootdir/tools/scramble -ccpmp"
|
|
|
|
bootoutput="ccpmp.bin"
|
2008-12-19 11:13:58 +00:00
|
|
|
# architecture, manufacturer and model for the target-tree build
|
|
|
|
t_cpu="mips"
|
|
|
|
t_manufacturer="ingenic_jz47xx"
|
|
|
|
t_model="onda_vx747"
|
|
|
|
;;
|
2018-11-05 12:01:55 +00:00
|
|
|
|
2009-06-20 10:54:13 +00:00
|
|
|
123|ondavx777)
|
|
|
|
target_id=61
|
|
|
|
modelname="ondavx777"
|
2011-12-15 17:50:33 +00:00
|
|
|
target="ONDA_VX777"
|
2009-06-20 10:54:13 +00:00
|
|
|
memory=16
|
|
|
|
mipselcc
|
|
|
|
tool="$rootdir/tools/scramble -add=x777"
|
|
|
|
bmp2rb_mono="$rootdir/tools/bmp2rb -f 0"
|
|
|
|
bmp2rb_native="$rootdir/tools/bmp2rb -f 4"
|
|
|
|
output="rockbox.vx777"
|
2010-05-17 15:03:59 +00:00
|
|
|
appextra="recorder:gui:radio"
|
2009-08-31 21:11:32 +00:00
|
|
|
plugins="yes"
|
2009-06-20 10:54:13 +00:00
|
|
|
toolset=$genericbitmaptools
|
2009-07-17 14:30:42 +00:00
|
|
|
boottool="$rootdir/tools/scramble -ccpmp"
|
|
|
|
bootoutput="ccpmp.bin"
|
2009-06-20 10:54:13 +00:00
|
|
|
# architecture, manufacturer and model for the target-tree build
|
|
|
|
t_cpu="mips"
|
|
|
|
t_manufacturer="ingenic_jz47xx"
|
|
|
|
t_model="onda_vx747"
|
|
|
|
;;
|
2018-11-05 12:01:55 +00:00
|
|
|
|
2009-12-07 12:19:08 +00:00
|
|
|
130|lyreproto1)
|
2009-03-30 12:20:47 +00:00
|
|
|
target_id=56
|
2009-12-07 12:19:08 +00:00
|
|
|
modelname="lyreproto1"
|
2011-12-15 17:50:33 +00:00
|
|
|
target="LYRE_PROTO1"
|
2009-03-30 12:20:47 +00:00
|
|
|
memory=64
|
|
|
|
arm926ejscc
|
|
|
|
tool="cp"
|
|
|
|
bmp2rb_mono="$rootdir/tools/bmp2rb -f 0"
|
|
|
|
bmp2rb_native="$rootdir/tools/bmp2rb -f 4"
|
|
|
|
output="rockbox.lyre"
|
2010-05-17 15:03:59 +00:00
|
|
|
appextra="recorder:gui:radio"
|
2009-03-30 12:20:47 +00:00
|
|
|
plugins=""
|
|
|
|
toolset=$scramblebitmaptools
|
|
|
|
boottool="cp"
|
|
|
|
bootoutput="bootloader-proto1.lyre"
|
|
|
|
# architecture, manufacturer and model for the target-tree build
|
|
|
|
t_cpu="arm"
|
|
|
|
t_manufacturer="at91sam"
|
|
|
|
t_model="lyre_proto1"
|
|
|
|
;;
|
2018-11-05 12:01:55 +00:00
|
|
|
|
2009-10-19 18:14:27 +00:00
|
|
|
131|mini2440)
|
|
|
|
target_id=99
|
|
|
|
modelname="mini2440"
|
2011-12-15 17:50:33 +00:00
|
|
|
target="MINI2440"
|
2009-10-19 18:14:27 +00:00
|
|
|
memory=64
|
|
|
|
arm9tdmicc
|
|
|
|
tool="$rootdir/tools/scramble -add=m244"
|
|
|
|
bmp2rb_mono="$rootdir/tools/bmp2rb -f 0"
|
|
|
|
bmp2rb_native="$rootdir/tools/bmp2rb -f 4"
|
|
|
|
output="rockbox.mini2440"
|
2010-05-17 15:03:59 +00:00
|
|
|
appextra="recorder:gui:radio"
|
2009-10-19 18:14:27 +00:00
|
|
|
plugins=""
|
|
|
|
toolset=$scramblebitmaptools
|
|
|
|
boottool="cp"
|
|
|
|
bootoutput="bootloader-mini2440.lyre"
|
|
|
|
# architecture, manufacturer and model for the target-tree build
|
|
|
|
t_cpu="arm"
|
|
|
|
t_manufacturer="s3c2440"
|
|
|
|
t_model="mini2440"
|
|
|
|
;;
|
2008-12-19 11:13:58 +00:00
|
|
|
|
2009-12-07 12:19:08 +00:00
|
|
|
140|samsungyh820)
|
2009-05-25 21:10:45 +00:00
|
|
|
target_id=57
|
2009-12-07 12:19:08 +00:00
|
|
|
modelname="samsungyh820"
|
2011-12-15 17:50:33 +00:00
|
|
|
target="SAMSUNG_YH820"
|
2009-05-25 21:10:45 +00:00
|
|
|
memory=32 # always
|
|
|
|
arm7tdmicc
|
|
|
|
tool="$rootdir/tools/scramble -mi4v2 -model=y820 -type=RBOS"
|
|
|
|
bmp2rb_mono="$rootdir/tools/bmp2rb -f 0"
|
|
|
|
bmp2rb_native="$rootdir/tools/bmp2rb -f 4"
|
|
|
|
output="rockbox.mi4"
|
2010-05-17 15:03:59 +00:00
|
|
|
appextra="recorder:gui:radio"
|
2009-08-04 03:08:32 +00:00
|
|
|
plugins="yes"
|
2009-05-25 21:10:45 +00:00
|
|
|
boottool="$rootdir/tools/scramble -mi4v2 -model=y820 -type=RBBL"
|
|
|
|
bootoutput="FW_YH820.mi4"
|
|
|
|
# toolset is the tools within the tools directory that we build for
|
|
|
|
# this particular target.
|
|
|
|
toolset=$scramblebitmaptools
|
|
|
|
# architecture, manufacturer and model for the target-tree build
|
|
|
|
t_cpu="arm"
|
2012-01-03 04:23:08 +00:00
|
|
|
t_soc="pp"
|
2009-05-25 21:10:45 +00:00
|
|
|
t_manufacturer="samsung"
|
|
|
|
t_model="yh820"
|
|
|
|
;;
|
|
|
|
|
2009-12-07 12:19:08 +00:00
|
|
|
141|samsungyh920)
|
2009-05-25 21:10:45 +00:00
|
|
|
target_id=58
|
2009-12-07 12:19:08 +00:00
|
|
|
modelname="samsungyh920"
|
2011-12-15 17:50:33 +00:00
|
|
|
target="SAMSUNG_YH920"
|
2009-05-25 21:10:45 +00:00
|
|
|
memory=32 # always
|
|
|
|
arm7tdmicc
|
|
|
|
tool="$rootdir/tools/scramble -mi4v2 -model=y920 -type=RBOS"
|
|
|
|
bmp2rb_mono="$rootdir/tools/bmp2rb -f 0"
|
|
|
|
bmp2rb_native="$rootdir/tools/bmp2rb -f 2"
|
|
|
|
output="rockbox.mi4"
|
2010-05-17 15:03:59 +00:00
|
|
|
appextra="recorder:gui:radio"
|
2009-08-04 03:08:32 +00:00
|
|
|
plugins="yes"
|
2009-05-25 21:10:45 +00:00
|
|
|
boottool="$rootdir/tools/scramble -mi4v2 -model=y920 -type=RBBL"
|
|
|
|
bootoutput="PP5020.mi4"
|
|
|
|
# toolset is the tools within the tools directory that we build for
|
|
|
|
# this particular target.
|
|
|
|
toolset=$scramblebitmaptools
|
|
|
|
# architecture, manufacturer and model for the target-tree build
|
|
|
|
t_cpu="arm"
|
2012-01-03 04:23:08 +00:00
|
|
|
t_soc="pp"
|
2009-05-25 21:10:45 +00:00
|
|
|
t_manufacturer="samsung"
|
|
|
|
t_model="yh920"
|
|
|
|
;;
|
|
|
|
|
2009-12-07 12:19:08 +00:00
|
|
|
142|samsungyh925)
|
2009-05-25 21:10:45 +00:00
|
|
|
target_id=59
|
2009-12-07 12:19:08 +00:00
|
|
|
modelname="samsungyh925"
|
2011-12-15 17:50:33 +00:00
|
|
|
target="SAMSUNG_YH925"
|
2009-05-25 21:10:45 +00:00
|
|
|
memory=32 # always
|
|
|
|
arm7tdmicc
|
|
|
|
tool="$rootdir/tools/scramble -mi4v2 -model=y925 -type=RBOS"
|
|
|
|
bmp2rb_mono="$rootdir/tools/bmp2rb -f 0"
|
|
|
|
bmp2rb_native="$rootdir/tools/bmp2rb -f 4"
|
|
|
|
output="rockbox.mi4"
|
2010-05-17 15:03:59 +00:00
|
|
|
appextra="recorder:gui:radio"
|
2009-08-04 03:08:32 +00:00
|
|
|
plugins="yes"
|
2009-05-25 21:10:45 +00:00
|
|
|
boottool="$rootdir/tools/scramble -mi4v2 -model=y925 -type=RBBL"
|
|
|
|
bootoutput="FW_YH925.mi4"
|
|
|
|
# toolset is the tools within the tools directory that we build for
|
|
|
|
# this particular target.
|
|
|
|
toolset=$scramblebitmaptools
|
|
|
|
# architecture, manufacturer and model for the target-tree build
|
|
|
|
t_cpu="arm"
|
2012-01-03 04:23:08 +00:00
|
|
|
t_soc="pp"
|
2009-05-25 21:10:45 +00:00
|
|
|
t_manufacturer="samsung"
|
|
|
|
t_model="yh925"
|
|
|
|
;;
|
|
|
|
|
2009-12-07 12:19:08 +00:00
|
|
|
143|samsungyps3)
|
2011-02-08 22:07:47 +00:00
|
|
|
target_id=72
|
2009-12-07 12:19:08 +00:00
|
|
|
modelname="samsungyps3"
|
2011-12-15 17:50:33 +00:00
|
|
|
target="SAMSUNG_YPS3"
|
2009-07-29 20:42:02 +00:00
|
|
|
memory=16 # always
|
|
|
|
arm940tbecc
|
|
|
|
tool="cp"
|
|
|
|
bmp2rb_mono="$rootdir/tools/bmp2rb -f 0"
|
|
|
|
bmp2rb_native="$rootdir/tools/bmp2rb -f 4"
|
|
|
|
output="rockbox.yps3"
|
2010-05-17 15:03:59 +00:00
|
|
|
appextra="recorder:gui:radio"
|
2009-07-29 20:42:02 +00:00
|
|
|
plugins="no" #FIXME
|
|
|
|
toolset=$genericbitmaptools
|
|
|
|
boottool="cp"
|
|
|
|
bootoutput="rockboot.ebn"
|
|
|
|
# architecture, manufacturer and model for the target-tree build
|
|
|
|
t_cpu="arm"
|
|
|
|
t_manufacturer="s5l8700"
|
|
|
|
t_model="yps3"
|
|
|
|
;;
|
2018-11-05 12:01:55 +00:00
|
|
|
|
2010-02-18 10:30:00 +00:00
|
|
|
160|vibe500)
|
2010-01-18 19:05:20 +00:00
|
|
|
target_id=67
|
2010-01-30 20:42:54 +00:00
|
|
|
modelname="vibe500"
|
2011-12-15 17:50:33 +00:00
|
|
|
target="PBELL_VIBE500"
|
2010-01-18 19:05:20 +00:00
|
|
|
memory=32 # always
|
|
|
|
arm7tdmicc
|
2010-01-30 21:11:18 +00:00
|
|
|
tool="$rootdir/tools/scramble -mi4v3 -model=v500 -type=RBOS"
|
2010-01-18 19:05:20 +00:00
|
|
|
bmp2rb_mono="$rootdir/tools/bmp2rb -f 0"
|
|
|
|
bmp2rb_native="$rootdir/tools/bmp2rb -f 5"
|
2010-03-23 21:28:25 +00:00
|
|
|
output="rockbox.mi4"
|
2010-05-17 15:03:59 +00:00
|
|
|
appextra="recorder:gui:radio"
|
2010-02-11 22:40:17 +00:00
|
|
|
plugins="yes"
|
2010-01-30 21:11:18 +00:00
|
|
|
boottool="$rootdir/tools/scramble -mi4v3 -model=v500 -type=RBBL"
|
2010-03-23 21:28:25 +00:00
|
|
|
bootoutput="jukebox.mi4"
|
2010-01-18 19:05:20 +00:00
|
|
|
# toolset is the tools within the tools directory that we build for
|
|
|
|
# this particular target.
|
|
|
|
toolset=$scramblebitmaptools
|
|
|
|
# architecture, manufacturer and model for the target-tree build
|
|
|
|
t_cpu="arm"
|
2012-01-03 04:23:08 +00:00
|
|
|
t_soc="pp"
|
2010-01-18 19:05:20 +00:00
|
|
|
t_manufacturer="pbell"
|
|
|
|
t_model="vibe500"
|
|
|
|
;;
|
2009-07-29 20:42:02 +00:00
|
|
|
|
2010-09-15 09:05:47 +00:00
|
|
|
170|mpiohd200)
|
2010-04-26 21:40:00 +00:00
|
|
|
target_id=69
|
|
|
|
modelname="mpiohd200"
|
2011-12-15 17:50:33 +00:00
|
|
|
target="MPIO_HD200"
|
2010-04-26 21:40:00 +00:00
|
|
|
memory=16 # always
|
|
|
|
coldfirecc
|
|
|
|
tool="$rootdir/tools/scramble -add=hd20"
|
|
|
|
bmp2rb_mono="$rootdir/tools/bmp2rb -f 0"
|
|
|
|
bmp2rb_native="$rootdir/tools/bmp2rb -f 7"
|
|
|
|
output="rockbox.mpio"
|
|
|
|
bootoutput="bootloader.mpio"
|
2010-05-17 15:03:59 +00:00
|
|
|
appextra="recorder:gui:radio"
|
2010-04-26 21:40:00 +00:00
|
|
|
plugins="yes"
|
|
|
|
# toolset is the tools within the tools directory that we build for
|
|
|
|
# this particular target.
|
|
|
|
toolset="$genericbitmaptools"
|
|
|
|
# architecture, manufacturer and model for the target-tree build
|
|
|
|
t_cpu="coldfire"
|
|
|
|
t_manufacturer="mpio"
|
|
|
|
t_model="hd200"
|
|
|
|
;;
|
|
|
|
|
2010-11-26 23:28:08 +00:00
|
|
|
171|mpiohd300)
|
|
|
|
target_id=70
|
|
|
|
modelname="mpiohd300"
|
2011-12-15 17:50:33 +00:00
|
|
|
target="MPIO_HD300"
|
2010-11-26 23:28:08 +00:00
|
|
|
memory=16 # always
|
|
|
|
coldfirecc
|
|
|
|
tool="$rootdir/tools/scramble -add=hd30"
|
|
|
|
bmp2rb_mono="$rootdir/tools/bmp2rb -f 0"
|
|
|
|
bmp2rb_native="$rootdir/tools/bmp2rb -f 2"
|
|
|
|
output="rockbox.mpio"
|
|
|
|
bootoutput="bootloader.mpio"
|
|
|
|
appextra="recorder:gui:radio"
|
2010-11-30 10:52:14 +00:00
|
|
|
plugins="yes"
|
2010-11-26 23:28:08 +00:00
|
|
|
# toolset is the tools within the tools directory that we build for
|
|
|
|
# this particular target.
|
|
|
|
toolset="$genericbitmaptools"
|
|
|
|
# architecture, manufacturer and model for the target-tree build
|
|
|
|
t_cpu="coldfire"
|
|
|
|
t_manufacturer="mpio"
|
|
|
|
t_model="hd300"
|
|
|
|
;;
|
|
|
|
|
2011-05-30 21:10:37 +00:00
|
|
|
180|rk27generic)
|
|
|
|
target_id=78
|
|
|
|
modelname="rk27generic"
|
2011-12-15 17:50:33 +00:00
|
|
|
target="RK27_GENERIC"
|
2011-05-30 21:10:37 +00:00
|
|
|
memory=16 # always
|
|
|
|
arm7ejscc
|
2012-02-28 22:37:09 +00:00
|
|
|
tool="$rootdir/tools/scramble -rkw -modelnum=73"
|
2011-05-30 21:10:37 +00:00
|
|
|
bmp2rb_mono="$rootdir/tools/bmp2rb -f 0"
|
|
|
|
bmp2rb_native="$rootdir/tools/bmp2rb -f 4"
|
2012-02-28 22:37:09 +00:00
|
|
|
output="rockbox.rkw"
|
|
|
|
bootoutput="bootloader.rkw"
|
2011-05-30 21:10:37 +00:00
|
|
|
appextra="recorder:gui:radio"
|
2012-04-20 09:58:21 +00:00
|
|
|
plugins=""
|
2011-05-30 21:10:37 +00:00
|
|
|
# toolset is the tools within the tools directory that we build for
|
|
|
|
# this particular target.
|
|
|
|
toolset="$genericbitmaptools"
|
|
|
|
# architecture, manufacturer and model for the target-tree build
|
|
|
|
t_cpu="arm"
|
|
|
|
t_manufacturer="rk27xx"
|
|
|
|
t_model="rk27generic"
|
|
|
|
;;
|
|
|
|
|
2011-10-17 10:32:19 +00:00
|
|
|
190|hifimanhm60x)
|
|
|
|
target_id=79
|
|
|
|
modelname="hifimanhm60x"
|
2011-12-15 17:50:33 +00:00
|
|
|
target="HM60X"
|
2011-10-17 10:32:19 +00:00
|
|
|
memory=16
|
|
|
|
arm7ejscc
|
2012-02-28 22:37:09 +00:00
|
|
|
tool="$rootdir/tools/scramble -rkw -modelnum=79"
|
2011-10-17 10:32:19 +00:00
|
|
|
bmp2rb_mono="$rootdir/tools/bmp2rb -f 0"
|
|
|
|
bmp2rb_native="$rootdir/tools/bmp2rb -f 4"
|
2012-02-28 22:37:09 +00:00
|
|
|
output="rockbox.rkw"
|
|
|
|
bootoutput="bootloader.rkw"
|
2011-10-17 10:32:19 +00:00
|
|
|
appextra="recorder:gui"
|
|
|
|
plugins="yes"
|
|
|
|
# toolset is the tools within the tools directory that we build for
|
|
|
|
# this particular target.
|
|
|
|
toolset="$genericbitmaptools"
|
|
|
|
# architecture, manufacturer and model for the target-tree build
|
|
|
|
t_cpu="arm"
|
|
|
|
t_manufacturer="rk27xx"
|
|
|
|
t_model="hm60x"
|
|
|
|
;;
|
|
|
|
|
2011-11-03 11:53:02 +00:00
|
|
|
191|hifimanhm801)
|
2011-11-16 16:07:06 +00:00
|
|
|
target_id=82
|
2011-11-03 11:53:02 +00:00
|
|
|
modelname="hifimanhm801"
|
2011-12-15 17:50:33 +00:00
|
|
|
target="HM801"
|
2011-11-03 11:53:02 +00:00
|
|
|
memory=16
|
|
|
|
arm7ejscc
|
2012-02-28 22:37:09 +00:00
|
|
|
tool="$rootdir/tools/scramble -rkw -modelnum=82"
|
2011-11-03 11:53:02 +00:00
|
|
|
bmp2rb_mono="$rootdir/tools/bmp2rb -f 0"
|
|
|
|
bmp2rb_native="$rootdir/tools/bmp2rb -f 4"
|
2012-02-28 22:37:09 +00:00
|
|
|
output="rockbox.rkw"
|
|
|
|
bootoutput="bootloader.rkw"
|
2011-11-03 11:53:02 +00:00
|
|
|
appextra="recorder:gui"
|
|
|
|
plugins="yes"
|
|
|
|
# toolset is the tools within the tools directory that we build for
|
|
|
|
# this particular target.
|
|
|
|
toolset="$genericbitmaptools"
|
|
|
|
# architecture, manufacturer and model for the target-tree build
|
|
|
|
t_cpu="arm"
|
|
|
|
t_manufacturer="rk27xx"
|
|
|
|
t_model="hm801"
|
|
|
|
;;
|
|
|
|
|
2011-02-11 19:51:29 +00:00
|
|
|
200|sdlapp)
|
2011-02-27 11:37:39 +00:00
|
|
|
application="yes"
|
2011-02-11 19:51:29 +00:00
|
|
|
target_id=73
|
2011-02-27 11:37:39 +00:00
|
|
|
modelname="sdlapp"
|
2011-12-15 17:50:33 +00:00
|
|
|
target="SDLAPP"
|
2011-02-11 19:51:29 +00:00
|
|
|
app_set_paths
|
|
|
|
app_set_lcd_size
|
|
|
|
memory=8
|
|
|
|
uname=`uname`
|
|
|
|
simcc "sdl-app"
|
|
|
|
tool="cp "
|
|
|
|
boottool="cp "
|
|
|
|
bmp2rb_mono="$rootdir/tools/bmp2rb -f 0"
|
2014-06-23 21:47:25 +00:00
|
|
|
bmp2rb_native="$rootdir/tools/bmp2rb -f 9"
|
2011-02-11 19:51:29 +00:00
|
|
|
output="rockbox"
|
|
|
|
bootoutput="rockbox"
|
|
|
|
appextra="recorder:gui:radio"
|
2011-02-24 23:35:16 +00:00
|
|
|
plugins="yes"
|
2011-02-11 19:51:29 +00:00
|
|
|
# architecture, manufacturer and model for the target-tree build
|
|
|
|
t_cpu="hosted"
|
|
|
|
t_manufacturer="sdl"
|
|
|
|
t_model="app"
|
|
|
|
;;
|
2010-08-01 16:15:27 +00:00
|
|
|
|
2011-02-11 19:51:29 +00:00
|
|
|
201|android)
|
2011-02-27 11:37:39 +00:00
|
|
|
application="yes"
|
2011-02-11 19:51:29 +00:00
|
|
|
target_id=74
|
2011-02-27 11:37:39 +00:00
|
|
|
modelname="android"
|
2011-12-15 17:50:33 +00:00
|
|
|
target="ANDROID"
|
2011-02-11 19:51:29 +00:00
|
|
|
app_type="android"
|
|
|
|
app_set_lcd_size
|
|
|
|
sharedir="/data/data/org.rockbox/app_rockbox/rockbox"
|
|
|
|
bindir="/data/data/org.rockbox/lib"
|
|
|
|
libdir="/data/data/org.rockbox/app_rockbox"
|
|
|
|
memory=8
|
|
|
|
uname=`uname`
|
2020-04-14 20:55:06 +00:00
|
|
|
androidcc 19 armeabi "-march=armv7-a -mtune=cortex-a9 -mfloat-abi=softfp"
|
2011-02-11 19:51:29 +00:00
|
|
|
tool="cp "
|
|
|
|
boottool="cp "
|
|
|
|
bmp2rb_mono="$rootdir/tools/bmp2rb -f 0"
|
|
|
|
bmp2rb_native="$rootdir/tools/bmp2rb -f 4"
|
|
|
|
output="librockbox.so"
|
|
|
|
bootoutput="librockbox.so"
|
2011-03-11 16:08:36 +00:00
|
|
|
appextra="recorder:gui:radio:hosted/android"
|
2011-02-26 21:00:32 +00:00
|
|
|
plugins="yes"
|
2011-02-11 19:51:29 +00:00
|
|
|
# architecture, manufacturer and model for the target-tree build
|
|
|
|
t_cpu="hosted"
|
|
|
|
t_manufacturer="android"
|
|
|
|
t_model="app"
|
|
|
|
;;
|
2010-08-01 16:15:27 +00:00
|
|
|
|
2011-02-11 19:51:29 +00:00
|
|
|
202|nokian8xx)
|
2011-02-27 11:37:39 +00:00
|
|
|
application="yes"
|
2011-02-11 19:51:29 +00:00
|
|
|
target_id=75
|
2011-02-27 11:37:39 +00:00
|
|
|
modelname="nokian8xx"
|
2011-02-11 19:51:29 +00:00
|
|
|
app_type="sdl-app"
|
2011-12-15 17:50:33 +00:00
|
|
|
target="NOKIAN8XX"
|
2011-02-11 19:51:29 +00:00
|
|
|
sharedir="/opt/rockbox/share/rockbox"
|
|
|
|
bindir="/opt/rockbox/bin"
|
|
|
|
libdir="/opt/rockbox/lib"
|
2010-08-01 16:15:27 +00:00
|
|
|
memory=8
|
2010-07-06 15:11:56 +00:00
|
|
|
uname=`uname`
|
2011-02-11 19:51:29 +00:00
|
|
|
maemocc 4
|
|
|
|
tool="cp "
|
|
|
|
boottool="cp "
|
|
|
|
bmp2rb_mono="$rootdir/tools/bmp2rb -f 0"
|
|
|
|
bmp2rb_native="$rootdir/tools/bmp2rb -f 4"
|
|
|
|
output="rockbox"
|
|
|
|
bootoutput="rockbox"
|
|
|
|
appextra="recorder:gui:radio"
|
2011-02-24 23:35:16 +00:00
|
|
|
plugins="yes"
|
2011-02-11 19:51:29 +00:00
|
|
|
# architecture, manufacturer and model for the target-tree build
|
|
|
|
t_cpu="hosted"
|
|
|
|
t_manufacturer="maemo"
|
|
|
|
t_model="app"
|
|
|
|
;;
|
2010-08-02 20:34:47 +00:00
|
|
|
|
2011-02-11 19:51:29 +00:00
|
|
|
203|nokian900)
|
2011-02-27 11:37:39 +00:00
|
|
|
application="yes"
|
2011-02-11 19:51:29 +00:00
|
|
|
target_id=76
|
2011-02-27 11:37:39 +00:00
|
|
|
modelname="nokian900"
|
2011-02-11 19:51:29 +00:00
|
|
|
app_type="sdl-app"
|
2011-12-15 17:50:33 +00:00
|
|
|
target="NOKIAN900"
|
2011-02-11 19:51:29 +00:00
|
|
|
sharedir="/opt/rockbox/share/rockbox"
|
|
|
|
bindir="/opt/rockbox/bin"
|
|
|
|
libdir="/opt/rockbox/lib"
|
|
|
|
memory=8
|
|
|
|
uname=`uname`
|
|
|
|
maemocc 5
|
2010-07-06 15:11:56 +00:00
|
|
|
tool="cp "
|
|
|
|
boottool="cp "
|
|
|
|
bmp2rb_mono="$rootdir/tools/bmp2rb -f 0"
|
|
|
|
bmp2rb_native="$rootdir/tools/bmp2rb -f 4"
|
2011-02-11 19:51:29 +00:00
|
|
|
output="rockbox"
|
|
|
|
bootoutput="rockbox"
|
2010-07-06 15:11:56 +00:00
|
|
|
appextra="recorder:gui:radio"
|
2011-02-24 23:35:16 +00:00
|
|
|
plugins="yes"
|
2010-07-06 15:11:56 +00:00
|
|
|
# architecture, manufacturer and model for the target-tree build
|
|
|
|
t_cpu="hosted"
|
2011-02-11 19:51:29 +00:00
|
|
|
t_manufacturer="maemo"
|
2010-07-06 15:11:56 +00:00
|
|
|
t_model="app"
|
|
|
|
;;
|
|
|
|
|
2011-02-27 23:42:37 +00:00
|
|
|
204|pandora)
|
|
|
|
application="yes"
|
|
|
|
target_id=77
|
|
|
|
modelname="pandora"
|
|
|
|
app_type="sdl-app"
|
2011-12-15 17:50:33 +00:00
|
|
|
target="PANDORA"
|
2011-06-09 20:28:44 +00:00
|
|
|
sharedir="rockbox/share/rockbox"
|
2011-02-27 23:42:37 +00:00
|
|
|
bindir="rockbox/bin"
|
|
|
|
libdir="rockbox/lib"
|
|
|
|
memory=8
|
|
|
|
uname=`uname`
|
|
|
|
pandoracc
|
|
|
|
tool="cp "
|
|
|
|
boottool="cp "
|
|
|
|
bmp2rb_mono="$rootdir/tools/bmp2rb -f 0"
|
|
|
|
bmp2rb_native="$rootdir/tools/bmp2rb -f 4"
|
|
|
|
output="rockbox"
|
|
|
|
bootoutput="rockbox"
|
|
|
|
appextra="recorder:gui:radio"
|
|
|
|
plugins="yes"
|
|
|
|
# architecture, manufacturer and model for the target-tree build
|
|
|
|
t_cpu="hosted"
|
|
|
|
t_manufacturer="pandora"
|
|
|
|
t_model="app"
|
|
|
|
;;
|
|
|
|
|
Initial commit of the Samsung YP-R0 port.
This port is a hybrid native/RaaA port. It runs on a embedded linux system,
but is the only application. It therefore can implement lots of stuff that
native targets also implement, while leveraging the underlying linux kernel.
The port is quite advanced. User interface, audio playback, plugins work
mostly fine. Missing is e.g. power mangement and USB (see SamsungYPR0 wiki page).
Included in utils/ypr0tools are scripts and programs required to generate
a patched firmware. The patched firmware has the rootfs modified to load
Rockbox. It includes a early/safe USB mode.
This port needs a new toolchain, one that includes glibc headers and libraries.
rockboxdev.sh can generate it, but e.g. codesourcey and distro packages may
also work.
Most of the initial effort is done by Lorenzo Miori and others (on ABI),
including reverse engineering and patching of the original firmware,
initial drivers, and more. Big thanks to you.
Flyspray: FS#12348
Author: Lorenzo Miori, myself
Merry christmas to ypr0 owners! :)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31415 a1c6a512-1295-4272-9138-f99709370657
2011-12-24 11:56:46 +00:00
|
|
|
205|samsungypr0)
|
|
|
|
application="yes"
|
|
|
|
target_id=78
|
|
|
|
modelname="samsungypr0"
|
|
|
|
target="SAMSUNG_YPR0"
|
|
|
|
memory=32
|
|
|
|
uname=`uname`
|
|
|
|
ypr0cc
|
|
|
|
tool="cp "
|
|
|
|
boottool="cp "
|
|
|
|
bmp2rb_mono="$rootdir/tools/bmp2rb -f 0"
|
2014-06-20 22:20:24 +00:00
|
|
|
bmp2rb_native="$rootdir/tools/bmp2rb -f 9"
|
Initial commit of the Samsung YP-R0 port.
This port is a hybrid native/RaaA port. It runs on a embedded linux system,
but is the only application. It therefore can implement lots of stuff that
native targets also implement, while leveraging the underlying linux kernel.
The port is quite advanced. User interface, audio playback, plugins work
mostly fine. Missing is e.g. power mangement and USB (see SamsungYPR0 wiki page).
Included in utils/ypr0tools are scripts and programs required to generate
a patched firmware. The patched firmware has the rootfs modified to load
Rockbox. It includes a early/safe USB mode.
This port needs a new toolchain, one that includes glibc headers and libraries.
rockboxdev.sh can generate it, but e.g. codesourcey and distro packages may
also work.
Most of the initial effort is done by Lorenzo Miori and others (on ABI),
including reverse engineering and patching of the original firmware,
initial drivers, and more. Big thanks to you.
Flyspray: FS#12348
Author: Lorenzo Miori, myself
Merry christmas to ypr0 owners! :)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31415 a1c6a512-1295-4272-9138-f99709370657
2011-12-24 11:56:46 +00:00
|
|
|
output="rockbox"
|
|
|
|
bootoutput="rockbox"
|
|
|
|
appextra="recorder:gui:radio"
|
|
|
|
plugins="yes"
|
|
|
|
# architecture, manufacturer and model for the target-tree build
|
|
|
|
t_cpu="hosted"
|
2013-02-23 15:59:49 +00:00
|
|
|
t_manufacturer="samsungypr"
|
|
|
|
t_model="ypr0"
|
Initial commit of the Samsung YP-R0 port.
This port is a hybrid native/RaaA port. It runs on a embedded linux system,
but is the only application. It therefore can implement lots of stuff that
native targets also implement, while leveraging the underlying linux kernel.
The port is quite advanced. User interface, audio playback, plugins work
mostly fine. Missing is e.g. power mangement and USB (see SamsungYPR0 wiki page).
Included in utils/ypr0tools are scripts and programs required to generate
a patched firmware. The patched firmware has the rootfs modified to load
Rockbox. It includes a early/safe USB mode.
This port needs a new toolchain, one that includes glibc headers and libraries.
rockboxdev.sh can generate it, but e.g. codesourcey and distro packages may
also work.
Most of the initial effort is done by Lorenzo Miori and others (on ABI),
including reverse engineering and patching of the original firmware,
initial drivers, and more. Big thanks to you.
Flyspray: FS#12348
Author: Lorenzo Miori, myself
Merry christmas to ypr0 owners! :)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31415 a1c6a512-1295-4272-9138-f99709370657
2011-12-24 11:56:46 +00:00
|
|
|
;;
|
|
|
|
|
2012-06-11 20:06:34 +00:00
|
|
|
206|androidmips)
|
|
|
|
application="yes"
|
|
|
|
target_id=74
|
|
|
|
modelname="androidmips"
|
|
|
|
target="ANDROID"
|
|
|
|
app_type="android"
|
|
|
|
app_set_lcd_size
|
|
|
|
sharedir="/data/data/org.rockbox/app_rockbox/rockbox"
|
|
|
|
bindir="/data/data/org.rockbox/lib"
|
|
|
|
libdir="/data/data/org.rockbox/app_rockbox"
|
|
|
|
memory=8
|
|
|
|
uname=`uname`
|
2020-04-13 03:17:45 +00:00
|
|
|
androidcc 19 mips
|
2012-06-11 20:06:34 +00:00
|
|
|
tool="cp "
|
|
|
|
boottool="cp "
|
|
|
|
bmp2rb_mono="$rootdir/tools/bmp2rb -f 0"
|
|
|
|
bmp2rb_native="$rootdir/tools/bmp2rb -f 4"
|
|
|
|
output="librockbox.so"
|
|
|
|
bootoutput="librockbox.so"
|
|
|
|
appextra="recorder:gui:radio:hosted/android"
|
|
|
|
plugins="yes"
|
|
|
|
# architecture, manufacturer and model for the target-tree build
|
2012-11-06 10:39:49 +00:00
|
|
|
t_cpu="hosted"
|
|
|
|
t_manufacturer="android"
|
|
|
|
t_model="app"
|
|
|
|
;;
|
|
|
|
|
|
|
|
207|androidx86)
|
|
|
|
application="yes"
|
|
|
|
target_id=74
|
|
|
|
modelname="androidx86"
|
|
|
|
target="ANDROID"
|
|
|
|
app_type="android"
|
|
|
|
app_set_lcd_size
|
|
|
|
sharedir="/data/data/org.rockbox/app_rockbox/rockbox"
|
|
|
|
bindir="/data/data/org.rockbox/lib"
|
|
|
|
libdir="/data/data/org.rockbox/app_rockbox"
|
|
|
|
memory=8
|
|
|
|
uname=`uname`
|
2020-04-13 03:17:45 +00:00
|
|
|
androidcc 19 x86
|
2012-11-06 10:39:49 +00:00
|
|
|
tool="cp "
|
|
|
|
boottool="cp "
|
|
|
|
bmp2rb_mono="$rootdir/tools/bmp2rb -f 0"
|
|
|
|
bmp2rb_native="$rootdir/tools/bmp2rb -f 4"
|
|
|
|
output="librockbox.so"
|
|
|
|
bootoutput="librockbox.so"
|
|
|
|
appextra="recorder:gui:radio:hosted/android"
|
|
|
|
plugins="yes"
|
|
|
|
# architecture, manufacturer and model for the target-tree build
|
2012-06-11 20:06:34 +00:00
|
|
|
t_cpu="hosted"
|
|
|
|
t_manufacturer="android"
|
|
|
|
t_model="app"
|
|
|
|
;;
|
|
|
|
|
2013-09-10 20:48:34 +00:00
|
|
|
208|samsungypr1)
|
|
|
|
application="yes"
|
|
|
|
target_id=93
|
|
|
|
modelname="samsungypr1"
|
|
|
|
target="SAMSUNG_YPR1"
|
|
|
|
memory=32
|
|
|
|
uname=`uname`
|
|
|
|
# Linux environment and CPU are the same as for R0, use the same gcc options
|
|
|
|
ypr0cc
|
|
|
|
tool="cp "
|
|
|
|
boottool="cp "
|
|
|
|
bmp2rb_mono="$rootdir/tools/bmp2rb -f 0"
|
2014-06-20 22:20:24 +00:00
|
|
|
bmp2rb_native="$rootdir/tools/bmp2rb -f 9"
|
2013-09-10 20:48:34 +00:00
|
|
|
output="rockbox"
|
|
|
|
bootoutput="rockbox"
|
|
|
|
appextra="recorder:gui:radio"
|
|
|
|
plugins="yes"
|
|
|
|
# architecture, manufacturer and model for the target-tree build
|
|
|
|
t_cpu="hosted"
|
|
|
|
t_manufacturer="samsungypr"
|
|
|
|
t_model="ypr1"
|
|
|
|
;;
|
|
|
|
|
2013-04-15 05:51:22 +00:00
|
|
|
210|hifietma9)
|
|
|
|
target_id=83
|
|
|
|
modelname="hifietma9"
|
|
|
|
target="MA9"
|
|
|
|
memory=16
|
|
|
|
arm7ejscc
|
|
|
|
tool="$rootdir/tools/scramble -rkw -modelnum=83"
|
|
|
|
bmp2rb_mono="$rootdir/tools/bmp2rb -f 0"
|
|
|
|
bmp2rb_native="$rootdir/tools/bmp2rb -f 4"
|
|
|
|
output="rockbox.rkw"
|
|
|
|
bootoutput="bootloader.rkw"
|
|
|
|
appextra="recorder:gui"
|
|
|
|
plugins=""
|
|
|
|
# toolset is the tools within the tools directory that we build for
|
|
|
|
# this particular target.
|
|
|
|
toolset="$genericbitmaptools"
|
|
|
|
# architecture, manufacturer and model for the target-tree build
|
|
|
|
t_cpu="arm"
|
|
|
|
t_manufacturer="rk27xx"
|
|
|
|
t_model="ma"
|
|
|
|
;;
|
|
|
|
|
2013-10-27 18:34:24 +00:00
|
|
|
211|hifietma9c)
|
|
|
|
target_id=84
|
|
|
|
modelname="hifietma9c"
|
|
|
|
target="MA9C"
|
|
|
|
memory=16
|
|
|
|
arm7ejscc
|
|
|
|
tool="$rootdir/tools/scramble -rkw -modelnum=84"
|
|
|
|
bmp2rb_mono="$rootdir/tools/bmp2rb -f 0"
|
|
|
|
bmp2rb_native="$rootdir/tools/bmp2rb -f 4"
|
|
|
|
output="rockbox.rkw"
|
|
|
|
bootoutput="bootloader.rkw"
|
|
|
|
appextra="recorder:gui"
|
|
|
|
plugins=""
|
|
|
|
# toolset is the tools within the tools directory that we build for
|
|
|
|
# this particular target.
|
|
|
|
toolset="$genericbitmaptools"
|
|
|
|
# architecture, manufacturer and model for the target-tree build
|
|
|
|
t_cpu="arm"
|
|
|
|
t_manufacturer="rk27xx"
|
|
|
|
t_model="ma"
|
|
|
|
;;
|
|
|
|
|
2013-06-02 19:03:26 +00:00
|
|
|
212|hifietma8)
|
|
|
|
target_id=85
|
|
|
|
modelname="hifietma8"
|
|
|
|
target="MA8"
|
|
|
|
memory=16
|
|
|
|
arm7ejscc
|
|
|
|
tool="$rootdir/tools/scramble -rkw -modelnum=85"
|
|
|
|
bmp2rb_mono="$rootdir/tools/bmp2rb -f 0"
|
|
|
|
bmp2rb_native="$rootdir/tools/bmp2rb -f 4"
|
|
|
|
output="rockbox.rkw"
|
|
|
|
bootoutput="bootloader.rkw"
|
|
|
|
appextra="recorder:gui"
|
|
|
|
plugins=""
|
|
|
|
# toolset is the tools within the tools directory that we build for
|
|
|
|
# this particular target.
|
|
|
|
toolset="$genericbitmaptools"
|
|
|
|
# architecture, manufacturer and model for the target-tree build
|
|
|
|
t_cpu="arm"
|
|
|
|
t_manufacturer="rk27xx"
|
|
|
|
t_model="ma"
|
|
|
|
;;
|
|
|
|
|
|
|
|
213|hifietma8c)
|
|
|
|
target_id=91
|
|
|
|
modelname="hifietma8c"
|
|
|
|
target="MA8C"
|
|
|
|
memory=16
|
|
|
|
arm7ejscc
|
|
|
|
tool="$rootdir/tools/scramble -rkw -modelnum=91"
|
|
|
|
bmp2rb_mono="$rootdir/tools/bmp2rb -f 0"
|
|
|
|
bmp2rb_native="$rootdir/tools/bmp2rb -f 4"
|
|
|
|
output="rockbox.rkw"
|
|
|
|
bootoutput="bootloader.rkw"
|
|
|
|
appextra="recorder:gui"
|
|
|
|
plugins=""
|
|
|
|
# toolset is the tools within the tools directory that we build for
|
|
|
|
# this particular target.
|
|
|
|
toolset="$genericbitmaptools"
|
|
|
|
# architecture, manufacturer and model for the target-tree build
|
|
|
|
t_cpu="arm"
|
|
|
|
t_manufacturer="rk27xx"
|
|
|
|
t_model="ma"
|
|
|
|
;;
|
|
|
|
|
2017-09-17 20:32:13 +00:00
|
|
|
219|sonynwze350)
|
|
|
|
application="yes"
|
|
|
|
target_id=105
|
|
|
|
modelname="sonynwze350"
|
|
|
|
target="SONY_NWZE350"
|
|
|
|
memory=16
|
|
|
|
bmp2rb_mono="$rootdir/tools/bmp2rb -f 0"
|
|
|
|
bmp2rb_native="$rootdir/tools/bmp2rb -f 4"
|
|
|
|
tool="cp"
|
|
|
|
output="rockbox.sony"
|
|
|
|
boottool="$rootdir/tools/scramble -add=e350"
|
|
|
|
bootoutput="bootloader-nwze350.sony"
|
2017-11-03 19:14:01 +00:00
|
|
|
appextra="gui:recorder:radio"
|
2017-11-13 23:25:23 +00:00
|
|
|
plugins="yes"
|
2017-09-17 20:32:13 +00:00
|
|
|
toolset=$genericbitmaptools
|
|
|
|
t_cpu="hosted"
|
|
|
|
t_manufacturer="sonynwz"
|
|
|
|
t_model="nwze350"
|
|
|
|
uname=`uname`
|
|
|
|
sonynwzcc
|
|
|
|
;;
|
|
|
|
|
2013-09-25 12:29:00 +00:00
|
|
|
220|sonynwze370)
|
|
|
|
target_id=88
|
|
|
|
modelname="sonynwze370"
|
|
|
|
target="SONY_NWZE370"
|
|
|
|
memory=32
|
|
|
|
bmp2rb_mono="$rootdir/tools/bmp2rb -f 0"
|
|
|
|
bmp2rb_native="$rootdir/tools/bmp2rb -f 4"
|
|
|
|
tool="$rootdir/tools/scramble -add=e370"
|
|
|
|
output="rockbox.sony"
|
|
|
|
bootoutput="bootloader-nwze370.sony"
|
|
|
|
appextra="gui:recorder:radio"
|
2014-06-30 18:24:15 +00:00
|
|
|
plugins="yes"
|
2013-09-25 12:29:00 +00:00
|
|
|
toolset=$scramblebitmaptools
|
|
|
|
t_cpu="arm"
|
|
|
|
t_manufacturer="imx233"
|
|
|
|
t_model="sony-nwz"
|
|
|
|
arm926ejscc
|
|
|
|
;;
|
|
|
|
|
|
|
|
221|sonynwze360)
|
|
|
|
target_id=89
|
|
|
|
modelname="sonynwze360"
|
|
|
|
target="SONY_NWZE360"
|
|
|
|
memory=32
|
|
|
|
bmp2rb_mono="$rootdir/tools/bmp2rb -f 0"
|
|
|
|
bmp2rb_native="$rootdir/tools/bmp2rb -f 4"
|
|
|
|
tool="$rootdir/tools/scramble -add=e360"
|
|
|
|
output="rockbox.sony"
|
|
|
|
bootoutput="bootloader-nwze360.sony"
|
|
|
|
appextra="gui:recorder:radio"
|
2014-06-30 18:24:15 +00:00
|
|
|
plugins="yes"
|
2013-09-25 12:29:00 +00:00
|
|
|
toolset=$scramblebitmaptools
|
|
|
|
t_cpu="arm"
|
|
|
|
t_manufacturer="imx233"
|
|
|
|
t_model="sony-nwz"
|
|
|
|
arm926ejscc
|
|
|
|
;;
|
|
|
|
|
2017-02-23 10:33:19 +00:00
|
|
|
222|sonynwze450)
|
|
|
|
application="yes"
|
|
|
|
target_id=96
|
|
|
|
modelname="sonynwze450"
|
|
|
|
target="SONY_NWZE450"
|
|
|
|
memory=16
|
|
|
|
bmp2rb_mono="$rootdir/tools/bmp2rb -f 0"
|
|
|
|
bmp2rb_native="$rootdir/tools/bmp2rb -f 4"
|
|
|
|
tool="cp"
|
|
|
|
output="rockbox.sony"
|
|
|
|
boottool="$rootdir/tools/scramble -add=e450"
|
|
|
|
bootoutput="bootloader-nwze450.sony"
|
2017-11-03 19:14:01 +00:00
|
|
|
appextra="gui:recorder:radio"
|
2017-11-13 23:25:23 +00:00
|
|
|
plugins="yes"
|
2017-02-23 10:33:19 +00:00
|
|
|
toolset=$genericbitmaptools
|
|
|
|
t_cpu="hosted"
|
|
|
|
t_manufacturer="sonynwz"
|
|
|
|
t_model="nwze450"
|
|
|
|
uname=`uname`
|
|
|
|
sonynwzcc
|
|
|
|
;;
|
|
|
|
|
|
|
|
223|sonynwze460)
|
|
|
|
application="yes"
|
|
|
|
target_id=97
|
|
|
|
modelname="sonynwze460"
|
|
|
|
target="SONY_NWZE460"
|
|
|
|
memory=16
|
|
|
|
bmp2rb_mono="$rootdir/tools/bmp2rb -f 0"
|
|
|
|
bmp2rb_native="$rootdir/tools/bmp2rb -f 4"
|
|
|
|
tool="cp"
|
|
|
|
output="rockbox.sony"
|
|
|
|
boottool="$rootdir/tools/scramble -add=e460"
|
|
|
|
bootoutput="bootloader-nwze460.sony"
|
2017-11-03 19:14:01 +00:00
|
|
|
appextra="gui:recorder:radio"
|
2017-02-23 10:33:19 +00:00
|
|
|
plugins="yes"
|
|
|
|
toolset=$genericbitmaptools
|
|
|
|
t_cpu="hosted"
|
|
|
|
t_manufacturer="sonynwz"
|
|
|
|
t_model="nwze460"
|
|
|
|
uname=`uname`
|
|
|
|
sonynwzcc
|
|
|
|
;;
|
|
|
|
|
|
|
|
224|sonynwze470)
|
|
|
|
application="yes"
|
|
|
|
target_id=100
|
|
|
|
modelname="sonynwze470"
|
|
|
|
target="SONY_NWZE470"
|
|
|
|
memory=16
|
|
|
|
bmp2rb_mono="$rootdir/tools/bmp2rb -f 0"
|
|
|
|
bmp2rb_native="$rootdir/tools/bmp2rb -f 4"
|
|
|
|
tool="cp"
|
|
|
|
output="rockbox.sony"
|
|
|
|
boottool="$rootdir/tools/scramble -add=e470"
|
|
|
|
bootoutput="bootloader-nwze470.sony"
|
2017-11-03 19:14:01 +00:00
|
|
|
appextra="gui:recorder:radio"
|
2017-11-13 23:25:23 +00:00
|
|
|
plugins="yes"
|
2017-02-23 10:33:19 +00:00
|
|
|
toolset=$genericbitmaptools
|
|
|
|
t_cpu="hosted"
|
|
|
|
t_manufacturer="sonynwz"
|
|
|
|
t_model="nwze470"
|
|
|
|
uname=`uname`
|
|
|
|
sonynwzcc
|
|
|
|
;;
|
|
|
|
|
|
|
|
225|sonynwze580)
|
|
|
|
application="yes"
|
|
|
|
target_id=98
|
|
|
|
modelname="sonynwze580"
|
|
|
|
target="SONY_NWZE580"
|
|
|
|
memory=16
|
|
|
|
bmp2rb_mono="$rootdir/tools/bmp2rb -f 0"
|
|
|
|
bmp2rb_native="$rootdir/tools/bmp2rb -f 4"
|
|
|
|
tool="cp"
|
|
|
|
output="rockbox.sony"
|
|
|
|
boottool="$rootdir/tools/scramble -add=e580"
|
|
|
|
bootoutput="bootloader-nwze580.sony"
|
2017-11-03 19:14:01 +00:00
|
|
|
appextra="gui:recorder:radio"
|
2017-11-13 23:25:23 +00:00
|
|
|
plugins="yes"
|
2017-02-23 10:33:19 +00:00
|
|
|
toolset=$genericbitmaptools
|
|
|
|
t_cpu="hosted"
|
|
|
|
t_manufacturer="sonynwz"
|
|
|
|
t_model="nwze580"
|
|
|
|
uname=`uname`
|
|
|
|
sonynwzcc
|
|
|
|
;;
|
|
|
|
|
|
|
|
226|sonynwza10)
|
|
|
|
application="yes"
|
|
|
|
target_id=101
|
|
|
|
modelname="sonynwza10"
|
|
|
|
target="SONY_NWZA10"
|
|
|
|
memory=16
|
|
|
|
bmp2rb_mono="$rootdir/tools/bmp2rb -f 0"
|
|
|
|
bmp2rb_native="$rootdir/tools/bmp2rb -f 4"
|
|
|
|
tool="cp"
|
|
|
|
output="rockbox.sony"
|
|
|
|
boottool="$rootdir/tools/scramble -add=a10"
|
|
|
|
bootoutput="bootloader-nwza10.sony"
|
2017-11-03 19:14:01 +00:00
|
|
|
appextra="gui:recorder:radio"
|
2017-11-13 23:25:23 +00:00
|
|
|
plugins="yes"
|
2017-02-23 10:33:19 +00:00
|
|
|
toolset=$genericbitmaptools
|
|
|
|
t_cpu="hosted"
|
|
|
|
t_manufacturer="sonynwz"
|
|
|
|
t_model="nwza10"
|
|
|
|
uname=`uname`
|
|
|
|
sonynwzcc
|
|
|
|
;;
|
|
|
|
|
2017-04-29 16:33:45 +00:00
|
|
|
227|sonynwa20)
|
|
|
|
application="yes"
|
|
|
|
target_id=102
|
|
|
|
modelname="sonynwa20"
|
|
|
|
target="SONY_NWA20"
|
|
|
|
memory=16
|
|
|
|
bmp2rb_mono="$rootdir/tools/bmp2rb -f 0"
|
|
|
|
bmp2rb_native="$rootdir/tools/bmp2rb -f 4"
|
|
|
|
tool="cp"
|
|
|
|
output="rockbox.sony"
|
|
|
|
boottool="$rootdir/tools/scramble -add=a20"
|
|
|
|
bootoutput="bootloader-nwa20.sony"
|
2017-11-03 19:14:01 +00:00
|
|
|
appextra="gui:recorder:radio"
|
2017-11-13 23:25:23 +00:00
|
|
|
plugins="yes"
|
2017-04-29 16:33:45 +00:00
|
|
|
toolset=$genericbitmaptools
|
|
|
|
t_cpu="hosted"
|
|
|
|
t_manufacturer="sonynwz"
|
|
|
|
t_model="nwa20"
|
|
|
|
uname=`uname`
|
|
|
|
sonynwzcc
|
|
|
|
;;
|
|
|
|
|
2017-09-10 19:55:35 +00:00
|
|
|
228|sonynwza860)
|
|
|
|
application="yes"
|
|
|
|
target_id=103
|
|
|
|
modelname="sonynwza860"
|
|
|
|
target="SONY_NWZA860"
|
|
|
|
memory=16
|
|
|
|
bmp2rb_mono="$rootdir/tools/bmp2rb -f 0"
|
|
|
|
bmp2rb_native="$rootdir/tools/bmp2rb -f 4"
|
|
|
|
tool="cp"
|
|
|
|
output="rockbox.sony"
|
|
|
|
boottool="$rootdir/tools/scramble -add=a860"
|
|
|
|
bootoutput="bootloader-nwza860.sony"
|
2017-11-03 19:14:01 +00:00
|
|
|
appextra="gui:recorder:radio"
|
2017-09-10 19:55:35 +00:00
|
|
|
plugins=""
|
|
|
|
toolset=$genericbitmaptools
|
|
|
|
t_cpu="hosted"
|
|
|
|
t_manufacturer="sonynwz"
|
|
|
|
t_model="nwza860"
|
|
|
|
uname=`uname`
|
|
|
|
sonynwzcc
|
|
|
|
;;
|
|
|
|
|
2017-09-17 12:35:58 +00:00
|
|
|
229|sonynwzs750)
|
|
|
|
application="yes"
|
|
|
|
target_id=104
|
|
|
|
modelname="sonynwzs750"
|
|
|
|
target="SONY_NWZS750"
|
|
|
|
memory=16
|
|
|
|
bmp2rb_mono="$rootdir/tools/bmp2rb -f 0"
|
|
|
|
bmp2rb_native="$rootdir/tools/bmp2rb -f 4"
|
|
|
|
tool="cp"
|
|
|
|
output="rockbox.sony"
|
|
|
|
boottool="$rootdir/tools/scramble -add=s750"
|
|
|
|
bootoutput="bootloader-nwzs750.sony"
|
2017-11-03 19:14:01 +00:00
|
|
|
appextra="gui:recorder:radio"
|
2017-11-13 23:25:23 +00:00
|
|
|
plugins="yes"
|
2017-09-17 12:35:58 +00:00
|
|
|
toolset=$genericbitmaptools
|
|
|
|
t_cpu="hosted"
|
|
|
|
t_manufacturer="sonynwz"
|
|
|
|
t_model="nwzs750"
|
|
|
|
uname=`uname`
|
|
|
|
sonynwzcc
|
|
|
|
;;
|
|
|
|
|
2013-11-16 14:21:00 +00:00
|
|
|
230|ihifi760)
|
|
|
|
target_id=92
|
|
|
|
modelname="ihifi760"
|
|
|
|
target="IHIFI760"
|
|
|
|
memory=16
|
|
|
|
arm7ejscc
|
|
|
|
tool="$rootdir/tools/scramble -rkw -modelnum=92"
|
|
|
|
bmp2rb_mono="$rootdir/tools/bmp2rb -f 0"
|
|
|
|
bmp2rb_native="$rootdir/tools/bmp2rb -f 4"
|
|
|
|
output="rockbox.rkw"
|
|
|
|
bootoutput="bootloader.rkw"
|
|
|
|
appextra="recorder:gui"
|
|
|
|
plugins=""
|
|
|
|
# toolset is the tools within the tools directory that we build for
|
|
|
|
# this particular target.
|
|
|
|
toolset="$genericbitmaptools"
|
|
|
|
# architecture, manufacturer and model for the target-tree build
|
|
|
|
t_cpu="arm"
|
|
|
|
t_manufacturer="rk27xx"
|
|
|
|
t_model="ihifi"
|
|
|
|
;;
|
|
|
|
|
|
|
|
231|ihifi960)
|
|
|
|
target_id=93
|
|
|
|
modelname="ihifi960"
|
|
|
|
target="IHIFI960"
|
|
|
|
memory=16
|
|
|
|
arm7ejscc
|
|
|
|
tool="$rootdir/tools/scramble -rkw -modelnum=93"
|
|
|
|
bmp2rb_mono="$rootdir/tools/bmp2rb -f 0"
|
|
|
|
bmp2rb_native="$rootdir/tools/bmp2rb -f 4"
|
|
|
|
output="rockbox.rkw"
|
|
|
|
bootoutput="bootloader.rkw"
|
|
|
|
appextra="recorder:gui"
|
|
|
|
plugins=""
|
|
|
|
# toolset is the tools within the tools directory that we build for
|
|
|
|
# this particular target.
|
|
|
|
toolset="$genericbitmaptools"
|
|
|
|
# architecture, manufacturer and model for the target-tree build
|
|
|
|
t_cpu="arm"
|
|
|
|
t_manufacturer="rk27xx"
|
|
|
|
t_model="ihifi"
|
|
|
|
;;
|
|
|
|
|
2014-08-30 11:15:53 +00:00
|
|
|
232|ibassodx50)
|
|
|
|
application="yes"
|
|
|
|
target_id=94
|
|
|
|
modelname="ibassodx50"
|
|
|
|
target="DX50"
|
iBasso DX50/DX90: Major code cleanup and reorganization.
Reorganization
- Separated iBasso devices from PLATFORM_ANDROID. These are now standlone
hosted targets. Most device specific code is in the
firmware/target/hosted/ibasso directory.
- No dependency on Android SDK, only the Android NDK is needed.
32 bit Android NDK and Android API Level 16.
- Separate implementation for each device where feasible.
Code cleanup
- Rewrite of existing code, from simple reformat to complete reimplementation.
- New backlight interface, seperating backlight from touchscreen.
- Rewrite of device button handler, removing unneeded code and fixing memory
leaks.
- New Debug messages interface logging to Android adb logcat (DEBUGF, panicf,
logf).
- Rewrite of lcd device handler, removing unneeded code and fixing memory leaks.
- Rewrite of audiohw device handler/pcm interface, removing unneeded code and
fixing memory leaks, enabling 44.1/48kHz pthreaded playback.
- Rewrite of power and powermng, proper shutdown, using batterylog results
(see http://gerrit.rockbox.org/r/#/c/1047/).
- Rewrite of configure (Android NDK) and device specific config.
- Rewrite of the Android NDK specific Makefile.
Misc
- All plugins/games/demos activated.
- Update tinyalsa to latest from https://github.com/tinyalsa/tinyalsa.
Includes
- http://gerrit.rockbox.org/r/#/c/993/
- http://gerrit.rockbox.org/r/#/c/1010/
- http://gerrit.rockbox.org/r/#/c/1035/
Does not include http://gerrit.rockbox.org/r/#/c/1007/ due to new backlight
interface and new option for hold switch, touchscreen, physical button
interaction.
Rockbox needs the iBasso DX50/DX90 loader for startup, see
http://gerrit.rockbox.org/r/#/c/1099/
The loader expects Rockbox to be installed in /mnt/sdcard/.rockbox/. If
/mnt/sdcard/ is accessed as USB mass storage device, Rockbox will exit
gracefully and the loader will restart Rockbox on USB disconnect.
Tested on iBasso DX50.
Compiled (not tested) for iBasso DX90.
Compiled (not tested) for PLATFORM_ANDROID.
Change-Id: I5f5e22e68f5b4cf29c28e2b40b2c265f2beb7ab7
2015-02-02 20:44:29 +00:00
|
|
|
app_type="android_ndk"
|
2014-08-30 11:15:53 +00:00
|
|
|
lcd_orientation="landscape"
|
iBasso DX50/DX90: Major code cleanup and reorganization.
Reorganization
- Separated iBasso devices from PLATFORM_ANDROID. These are now standlone
hosted targets. Most device specific code is in the
firmware/target/hosted/ibasso directory.
- No dependency on Android SDK, only the Android NDK is needed.
32 bit Android NDK and Android API Level 16.
- Separate implementation for each device where feasible.
Code cleanup
- Rewrite of existing code, from simple reformat to complete reimplementation.
- New backlight interface, seperating backlight from touchscreen.
- Rewrite of device button handler, removing unneeded code and fixing memory
leaks.
- New Debug messages interface logging to Android adb logcat (DEBUGF, panicf,
logf).
- Rewrite of lcd device handler, removing unneeded code and fixing memory leaks.
- Rewrite of audiohw device handler/pcm interface, removing unneeded code and
fixing memory leaks, enabling 44.1/48kHz pthreaded playback.
- Rewrite of power and powermng, proper shutdown, using batterylog results
(see http://gerrit.rockbox.org/r/#/c/1047/).
- Rewrite of configure (Android NDK) and device specific config.
- Rewrite of the Android NDK specific Makefile.
Misc
- All plugins/games/demos activated.
- Update tinyalsa to latest from https://github.com/tinyalsa/tinyalsa.
Includes
- http://gerrit.rockbox.org/r/#/c/993/
- http://gerrit.rockbox.org/r/#/c/1010/
- http://gerrit.rockbox.org/r/#/c/1035/
Does not include http://gerrit.rockbox.org/r/#/c/1007/ due to new backlight
interface and new option for hold switch, touchscreen, physical button
interaction.
Rockbox needs the iBasso DX50/DX90 loader for startup, see
http://gerrit.rockbox.org/r/#/c/1099/
The loader expects Rockbox to be installed in /mnt/sdcard/.rockbox/. If
/mnt/sdcard/ is accessed as USB mass storage device, Rockbox will exit
gracefully and the loader will restart Rockbox on USB disconnect.
Tested on iBasso DX50.
Compiled (not tested) for iBasso DX90.
Compiled (not tested) for PLATFORM_ANDROID.
Change-Id: I5f5e22e68f5b4cf29c28e2b40b2c265f2beb7ab7
2015-02-02 20:44:29 +00:00
|
|
|
# Actually 408260kB
|
|
|
|
memory=256
|
2014-08-30 11:15:53 +00:00
|
|
|
uname=`uname`
|
2020-04-14 20:55:06 +00:00
|
|
|
androidndkcc 16 armeabi "-mcpu=cortex-a9 -mfpu=neon-fp16 -mfloat-abi=softfp"
|
2014-08-30 11:15:53 +00:00
|
|
|
tool="cp "
|
|
|
|
boottool="cp "
|
|
|
|
bmp2rb_mono="$rootdir/tools/bmp2rb -f 0"
|
|
|
|
bmp2rb_native="$rootdir/tools/bmp2rb -f 4"
|
|
|
|
output="rockbox"
|
|
|
|
bootoutput="rockbox"
|
iBasso DX50/DX90: Major code cleanup and reorganization.
Reorganization
- Separated iBasso devices from PLATFORM_ANDROID. These are now standlone
hosted targets. Most device specific code is in the
firmware/target/hosted/ibasso directory.
- No dependency on Android SDK, only the Android NDK is needed.
32 bit Android NDK and Android API Level 16.
- Separate implementation for each device where feasible.
Code cleanup
- Rewrite of existing code, from simple reformat to complete reimplementation.
- New backlight interface, seperating backlight from touchscreen.
- Rewrite of device button handler, removing unneeded code and fixing memory
leaks.
- New Debug messages interface logging to Android adb logcat (DEBUGF, panicf,
logf).
- Rewrite of lcd device handler, removing unneeded code and fixing memory leaks.
- Rewrite of audiohw device handler/pcm interface, removing unneeded code and
fixing memory leaks, enabling 44.1/48kHz pthreaded playback.
- Rewrite of power and powermng, proper shutdown, using batterylog results
(see http://gerrit.rockbox.org/r/#/c/1047/).
- Rewrite of configure (Android NDK) and device specific config.
- Rewrite of the Android NDK specific Makefile.
Misc
- All plugins/games/demos activated.
- Update tinyalsa to latest from https://github.com/tinyalsa/tinyalsa.
Includes
- http://gerrit.rockbox.org/r/#/c/993/
- http://gerrit.rockbox.org/r/#/c/1010/
- http://gerrit.rockbox.org/r/#/c/1035/
Does not include http://gerrit.rockbox.org/r/#/c/1007/ due to new backlight
interface and new option for hold switch, touchscreen, physical button
interaction.
Rockbox needs the iBasso DX50/DX90 loader for startup, see
http://gerrit.rockbox.org/r/#/c/1099/
The loader expects Rockbox to be installed in /mnt/sdcard/.rockbox/. If
/mnt/sdcard/ is accessed as USB mass storage device, Rockbox will exit
gracefully and the loader will restart Rockbox on USB disconnect.
Tested on iBasso DX50.
Compiled (not tested) for iBasso DX90.
Compiled (not tested) for PLATFORM_ANDROID.
Change-Id: I5f5e22e68f5b4cf29c28e2b40b2c265f2beb7ab7
2015-02-02 20:44:29 +00:00
|
|
|
appextra="recorder:gui:hosted"
|
2014-08-30 11:15:53 +00:00
|
|
|
plugins="yes"
|
|
|
|
# architecture, manufacturer and model for the target-tree build
|
|
|
|
t_cpu="hosted"
|
iBasso DX50/DX90: Major code cleanup and reorganization.
Reorganization
- Separated iBasso devices from PLATFORM_ANDROID. These are now standlone
hosted targets. Most device specific code is in the
firmware/target/hosted/ibasso directory.
- No dependency on Android SDK, only the Android NDK is needed.
32 bit Android NDK and Android API Level 16.
- Separate implementation for each device where feasible.
Code cleanup
- Rewrite of existing code, from simple reformat to complete reimplementation.
- New backlight interface, seperating backlight from touchscreen.
- Rewrite of device button handler, removing unneeded code and fixing memory
leaks.
- New Debug messages interface logging to Android adb logcat (DEBUGF, panicf,
logf).
- Rewrite of lcd device handler, removing unneeded code and fixing memory leaks.
- Rewrite of audiohw device handler/pcm interface, removing unneeded code and
fixing memory leaks, enabling 44.1/48kHz pthreaded playback.
- Rewrite of power and powermng, proper shutdown, using batterylog results
(see http://gerrit.rockbox.org/r/#/c/1047/).
- Rewrite of configure (Android NDK) and device specific config.
- Rewrite of the Android NDK specific Makefile.
Misc
- All plugins/games/demos activated.
- Update tinyalsa to latest from https://github.com/tinyalsa/tinyalsa.
Includes
- http://gerrit.rockbox.org/r/#/c/993/
- http://gerrit.rockbox.org/r/#/c/1010/
- http://gerrit.rockbox.org/r/#/c/1035/
Does not include http://gerrit.rockbox.org/r/#/c/1007/ due to new backlight
interface and new option for hold switch, touchscreen, physical button
interaction.
Rockbox needs the iBasso DX50/DX90 loader for startup, see
http://gerrit.rockbox.org/r/#/c/1099/
The loader expects Rockbox to be installed in /mnt/sdcard/.rockbox/. If
/mnt/sdcard/ is accessed as USB mass storage device, Rockbox will exit
gracefully and the loader will restart Rockbox on USB disconnect.
Tested on iBasso DX50.
Compiled (not tested) for iBasso DX90.
Compiled (not tested) for PLATFORM_ANDROID.
Change-Id: I5f5e22e68f5b4cf29c28e2b40b2c265f2beb7ab7
2015-02-02 20:44:29 +00:00
|
|
|
t_manufacturer="ibasso"
|
2014-08-30 11:15:53 +00:00
|
|
|
t_model="dx50"
|
|
|
|
;;
|
|
|
|
|
|
|
|
233|ibassodx90)
|
|
|
|
application="yes"
|
|
|
|
target_id=95
|
|
|
|
modelname="ibassodx90"
|
|
|
|
target="DX90"
|
iBasso DX50/DX90: Major code cleanup and reorganization.
Reorganization
- Separated iBasso devices from PLATFORM_ANDROID. These are now standlone
hosted targets. Most device specific code is in the
firmware/target/hosted/ibasso directory.
- No dependency on Android SDK, only the Android NDK is needed.
32 bit Android NDK and Android API Level 16.
- Separate implementation for each device where feasible.
Code cleanup
- Rewrite of existing code, from simple reformat to complete reimplementation.
- New backlight interface, seperating backlight from touchscreen.
- Rewrite of device button handler, removing unneeded code and fixing memory
leaks.
- New Debug messages interface logging to Android adb logcat (DEBUGF, panicf,
logf).
- Rewrite of lcd device handler, removing unneeded code and fixing memory leaks.
- Rewrite of audiohw device handler/pcm interface, removing unneeded code and
fixing memory leaks, enabling 44.1/48kHz pthreaded playback.
- Rewrite of power and powermng, proper shutdown, using batterylog results
(see http://gerrit.rockbox.org/r/#/c/1047/).
- Rewrite of configure (Android NDK) and device specific config.
- Rewrite of the Android NDK specific Makefile.
Misc
- All plugins/games/demos activated.
- Update tinyalsa to latest from https://github.com/tinyalsa/tinyalsa.
Includes
- http://gerrit.rockbox.org/r/#/c/993/
- http://gerrit.rockbox.org/r/#/c/1010/
- http://gerrit.rockbox.org/r/#/c/1035/
Does not include http://gerrit.rockbox.org/r/#/c/1007/ due to new backlight
interface and new option for hold switch, touchscreen, physical button
interaction.
Rockbox needs the iBasso DX50/DX90 loader for startup, see
http://gerrit.rockbox.org/r/#/c/1099/
The loader expects Rockbox to be installed in /mnt/sdcard/.rockbox/. If
/mnt/sdcard/ is accessed as USB mass storage device, Rockbox will exit
gracefully and the loader will restart Rockbox on USB disconnect.
Tested on iBasso DX50.
Compiled (not tested) for iBasso DX90.
Compiled (not tested) for PLATFORM_ANDROID.
Change-Id: I5f5e22e68f5b4cf29c28e2b40b2c265f2beb7ab7
2015-02-02 20:44:29 +00:00
|
|
|
app_type="android_ndk"
|
2014-08-30 11:15:53 +00:00
|
|
|
lcd_orientation="landscape"
|
iBasso DX50/DX90: Major code cleanup and reorganization.
Reorganization
- Separated iBasso devices from PLATFORM_ANDROID. These are now standlone
hosted targets. Most device specific code is in the
firmware/target/hosted/ibasso directory.
- No dependency on Android SDK, only the Android NDK is needed.
32 bit Android NDK and Android API Level 16.
- Separate implementation for each device where feasible.
Code cleanup
- Rewrite of existing code, from simple reformat to complete reimplementation.
- New backlight interface, seperating backlight from touchscreen.
- Rewrite of device button handler, removing unneeded code and fixing memory
leaks.
- New Debug messages interface logging to Android adb logcat (DEBUGF, panicf,
logf).
- Rewrite of lcd device handler, removing unneeded code and fixing memory leaks.
- Rewrite of audiohw device handler/pcm interface, removing unneeded code and
fixing memory leaks, enabling 44.1/48kHz pthreaded playback.
- Rewrite of power and powermng, proper shutdown, using batterylog results
(see http://gerrit.rockbox.org/r/#/c/1047/).
- Rewrite of configure (Android NDK) and device specific config.
- Rewrite of the Android NDK specific Makefile.
Misc
- All plugins/games/demos activated.
- Update tinyalsa to latest from https://github.com/tinyalsa/tinyalsa.
Includes
- http://gerrit.rockbox.org/r/#/c/993/
- http://gerrit.rockbox.org/r/#/c/1010/
- http://gerrit.rockbox.org/r/#/c/1035/
Does not include http://gerrit.rockbox.org/r/#/c/1007/ due to new backlight
interface and new option for hold switch, touchscreen, physical button
interaction.
Rockbox needs the iBasso DX50/DX90 loader for startup, see
http://gerrit.rockbox.org/r/#/c/1099/
The loader expects Rockbox to be installed in /mnt/sdcard/.rockbox/. If
/mnt/sdcard/ is accessed as USB mass storage device, Rockbox will exit
gracefully and the loader will restart Rockbox on USB disconnect.
Tested on iBasso DX50.
Compiled (not tested) for iBasso DX90.
Compiled (not tested) for PLATFORM_ANDROID.
Change-Id: I5f5e22e68f5b4cf29c28e2b40b2c265f2beb7ab7
2015-02-02 20:44:29 +00:00
|
|
|
memory=256
|
2014-08-30 11:15:53 +00:00
|
|
|
uname=`uname`
|
2020-04-14 20:55:06 +00:00
|
|
|
androidndkcc 16 armeabi "-mcpu=cortex-a9 -mfpu=neon-fp16 -mfloat-abi=softfp"
|
2014-08-30 11:15:53 +00:00
|
|
|
tool="cp "
|
|
|
|
boottool="cp "
|
|
|
|
bmp2rb_mono="$rootdir/tools/bmp2rb -f 0"
|
|
|
|
bmp2rb_native="$rootdir/tools/bmp2rb -f 4"
|
|
|
|
output="rockbox"
|
|
|
|
bootoutput="rockbox"
|
iBasso DX50/DX90: Major code cleanup and reorganization.
Reorganization
- Separated iBasso devices from PLATFORM_ANDROID. These are now standlone
hosted targets. Most device specific code is in the
firmware/target/hosted/ibasso directory.
- No dependency on Android SDK, only the Android NDK is needed.
32 bit Android NDK and Android API Level 16.
- Separate implementation for each device where feasible.
Code cleanup
- Rewrite of existing code, from simple reformat to complete reimplementation.
- New backlight interface, seperating backlight from touchscreen.
- Rewrite of device button handler, removing unneeded code and fixing memory
leaks.
- New Debug messages interface logging to Android adb logcat (DEBUGF, panicf,
logf).
- Rewrite of lcd device handler, removing unneeded code and fixing memory leaks.
- Rewrite of audiohw device handler/pcm interface, removing unneeded code and
fixing memory leaks, enabling 44.1/48kHz pthreaded playback.
- Rewrite of power and powermng, proper shutdown, using batterylog results
(see http://gerrit.rockbox.org/r/#/c/1047/).
- Rewrite of configure (Android NDK) and device specific config.
- Rewrite of the Android NDK specific Makefile.
Misc
- All plugins/games/demos activated.
- Update tinyalsa to latest from https://github.com/tinyalsa/tinyalsa.
Includes
- http://gerrit.rockbox.org/r/#/c/993/
- http://gerrit.rockbox.org/r/#/c/1010/
- http://gerrit.rockbox.org/r/#/c/1035/
Does not include http://gerrit.rockbox.org/r/#/c/1007/ due to new backlight
interface and new option for hold switch, touchscreen, physical button
interaction.
Rockbox needs the iBasso DX50/DX90 loader for startup, see
http://gerrit.rockbox.org/r/#/c/1099/
The loader expects Rockbox to be installed in /mnt/sdcard/.rockbox/. If
/mnt/sdcard/ is accessed as USB mass storage device, Rockbox will exit
gracefully and the loader will restart Rockbox on USB disconnect.
Tested on iBasso DX50.
Compiled (not tested) for iBasso DX90.
Compiled (not tested) for PLATFORM_ANDROID.
Change-Id: I5f5e22e68f5b4cf29c28e2b40b2c265f2beb7ab7
2015-02-02 20:44:29 +00:00
|
|
|
appextra="recorder:gui:hosted"
|
2014-08-30 11:15:53 +00:00
|
|
|
plugins="yes"
|
|
|
|
# architecture, manufacturer and model for the target-tree build
|
|
|
|
t_cpu="hosted"
|
iBasso DX50/DX90: Major code cleanup and reorganization.
Reorganization
- Separated iBasso devices from PLATFORM_ANDROID. These are now standlone
hosted targets. Most device specific code is in the
firmware/target/hosted/ibasso directory.
- No dependency on Android SDK, only the Android NDK is needed.
32 bit Android NDK and Android API Level 16.
- Separate implementation for each device where feasible.
Code cleanup
- Rewrite of existing code, from simple reformat to complete reimplementation.
- New backlight interface, seperating backlight from touchscreen.
- Rewrite of device button handler, removing unneeded code and fixing memory
leaks.
- New Debug messages interface logging to Android adb logcat (DEBUGF, panicf,
logf).
- Rewrite of lcd device handler, removing unneeded code and fixing memory leaks.
- Rewrite of audiohw device handler/pcm interface, removing unneeded code and
fixing memory leaks, enabling 44.1/48kHz pthreaded playback.
- Rewrite of power and powermng, proper shutdown, using batterylog results
(see http://gerrit.rockbox.org/r/#/c/1047/).
- Rewrite of configure (Android NDK) and device specific config.
- Rewrite of the Android NDK specific Makefile.
Misc
- All plugins/games/demos activated.
- Update tinyalsa to latest from https://github.com/tinyalsa/tinyalsa.
Includes
- http://gerrit.rockbox.org/r/#/c/993/
- http://gerrit.rockbox.org/r/#/c/1010/
- http://gerrit.rockbox.org/r/#/c/1035/
Does not include http://gerrit.rockbox.org/r/#/c/1007/ due to new backlight
interface and new option for hold switch, touchscreen, physical button
interaction.
Rockbox needs the iBasso DX50/DX90 loader for startup, see
http://gerrit.rockbox.org/r/#/c/1099/
The loader expects Rockbox to be installed in /mnt/sdcard/.rockbox/. If
/mnt/sdcard/ is accessed as USB mass storage device, Rockbox will exit
gracefully and the loader will restart Rockbox on USB disconnect.
Tested on iBasso DX50.
Compiled (not tested) for iBasso DX90.
Compiled (not tested) for PLATFORM_ANDROID.
Change-Id: I5f5e22e68f5b4cf29c28e2b40b2c265f2beb7ab7
2015-02-02 20:44:29 +00:00
|
|
|
t_manufacturer="ibasso"
|
|
|
|
t_model="dx90"
|
2014-08-30 11:15:53 +00:00
|
|
|
;;
|
|
|
|
|
2017-04-27 09:36:40 +00:00
|
|
|
240|agptekrocker)
|
|
|
|
application="yes"
|
2018-11-05 12:01:55 +00:00
|
|
|
app_type="rocker"
|
2017-04-27 09:36:40 +00:00
|
|
|
target_id=97
|
|
|
|
modelname="agptekrocker"
|
|
|
|
target="AGPTEK_ROCKER"
|
2018-11-05 12:01:55 +00:00
|
|
|
memory=8
|
2017-04-27 09:36:40 +00:00
|
|
|
tool="cp "
|
|
|
|
boottool="cp "
|
|
|
|
bmp2rb_mono="$rootdir/tools/bmp2rb -f 0"
|
|
|
|
bmp2rb_native="$rootdir/tools/bmp2rb -f 10"
|
|
|
|
output="rockbox.rocker"
|
|
|
|
bootoutput="bootloader.rocker"
|
|
|
|
appextra="recorder:gui:hosted"
|
2018-03-02 20:53:55 +00:00
|
|
|
plugins="yes"
|
2017-04-27 09:36:40 +00:00
|
|
|
# architecture, manufacturer and model for the target-tree build
|
|
|
|
t_cpu="hosted"
|
|
|
|
t_manufacturer="agptek"
|
|
|
|
t_model="rocker"
|
|
|
|
mipsellinuxcc
|
|
|
|
;;
|
|
|
|
|
2018-06-28 10:24:26 +00:00
|
|
|
241|xduoox3)
|
|
|
|
target_id=106
|
|
|
|
modelname="xduoox3"
|
|
|
|
target="XDUOO_X3"
|
|
|
|
memory=64
|
|
|
|
mipselcc
|
|
|
|
tool="$rootdir/tools/scramble -add=xdx3"
|
|
|
|
bmp2rb_mono="$rootdir/tools/bmp2rb -f 0"
|
|
|
|
bmp2rb_native="$bmp2rb_mono"
|
|
|
|
output="rockbox.x3"
|
|
|
|
appextra="recorder:gui:radio"
|
|
|
|
plugins="yes"
|
|
|
|
toolset=$genericbitmaptools
|
|
|
|
boottool="cp"
|
|
|
|
bootoutput="bootloader-x3.bin"
|
|
|
|
# architecture, manufacturer and model for the target-tree build
|
|
|
|
t_cpu="mips"
|
|
|
|
t_manufacturer="ingenic_jz47xx"
|
|
|
|
t_model="xduoo_x3"
|
2020-08-31 17:31:00 +00:00
|
|
|
sysfont="08-Rockfont"
|
2018-06-28 10:24:26 +00:00
|
|
|
;;
|
|
|
|
|
2018-11-05 12:01:55 +00:00
|
|
|
242|xduoox3ii)
|
|
|
|
target_id=110
|
|
|
|
application=yes
|
|
|
|
app_type="xduoo"
|
|
|
|
modelname="xduoox3ii"
|
|
|
|
target="XDUOO_X3II"
|
|
|
|
memory=8
|
|
|
|
mipsellinuxcc
|
|
|
|
tool="cp "
|
|
|
|
boottool="cp "
|
|
|
|
bmp2rb_mono="$rootdir/tools/bmp2rb -f 0"
|
|
|
|
bmp2rb_native="$rootdir/tools/bmp2rb -f 10"
|
|
|
|
output="rockbox.x3ii"
|
|
|
|
bootoutput="bootloader.x3ii"
|
|
|
|
appextra="recorder:gui:hosted"
|
|
|
|
plugins="yes"
|
|
|
|
# architecture, manufacturer and model for the target-tree build
|
|
|
|
t_cpu="hosted"
|
|
|
|
t_manufacturer="xduoo"
|
|
|
|
t_model="xduoo_x3ii"
|
2020-10-26 16:36:25 +00:00
|
|
|
sysfontbl="16-Terminus"
|
2018-11-05 12:01:55 +00:00
|
|
|
;;
|
|
|
|
|
|
|
|
243|xduoox20)
|
|
|
|
target_id=111
|
|
|
|
application=yes
|
|
|
|
app_type="xduoo"
|
|
|
|
modelname="xduoox20"
|
|
|
|
target="XDUOO_X20"
|
|
|
|
memory=8
|
|
|
|
mipsellinuxcc
|
|
|
|
tool="cp "
|
|
|
|
boottool="cp "
|
|
|
|
bmp2rb_mono="$rootdir/tools/bmp2rb -f 0"
|
|
|
|
bmp2rb_native="$rootdir/tools/bmp2rb -f 10"
|
|
|
|
output="rockbox.x20"
|
|
|
|
bootoutput="bootloader.x20"
|
|
|
|
appextra="recorder:gui:hosted"
|
|
|
|
plugins="yes"
|
|
|
|
# architecture, manufacturer and model for the target-tree build
|
|
|
|
t_cpu="hosted"
|
|
|
|
t_manufacturer="xduoo"
|
|
|
|
t_model="xduoo_x20"
|
2020-10-26 16:36:25 +00:00
|
|
|
sysfontbl="16-Terminus"
|
2020-10-03 22:17:11 +00:00
|
|
|
;;
|
|
|
|
|
2021-02-27 22:07:37 +00:00
|
|
|
244|fiiom3klinux)
|
2020-10-03 22:17:11 +00:00
|
|
|
application="yes"
|
|
|
|
app_type="fiio"
|
|
|
|
target_id=112
|
2021-02-27 22:07:37 +00:00
|
|
|
modelname="fiiom3klinux"
|
|
|
|
target="FIIO_M3K_LINUX"
|
2020-10-03 22:17:11 +00:00
|
|
|
memory=16 # XXX Can probably go over 32?
|
|
|
|
tool="cp "
|
|
|
|
boottool="cp "
|
|
|
|
bmp2rb_mono="$rootdir/tools/bmp2rb -f 0"
|
|
|
|
bmp2rb_native="$rootdir/tools/bmp2rb -f 4"
|
|
|
|
output="rockbox.m3k"
|
|
|
|
bootoutput="bootloader.m3k"
|
|
|
|
appextra="recorder:gui:hosted"
|
|
|
|
plugins="yes"
|
|
|
|
# architecture, manufacturer and model for the target-tree build
|
|
|
|
t_cpu="hosted"
|
|
|
|
t_manufacturer="fiio"
|
|
|
|
t_model="m3k"
|
|
|
|
mipsellinuxcc
|
2020-10-26 16:36:25 +00:00
|
|
|
sysfontbl="16-Terminus"
|
2020-10-08 13:47:40 +00:00
|
|
|
;;
|
|
|
|
|
2020-10-15 21:33:17 +00:00
|
|
|
245|aigoerosq|erosq)
|
2020-10-08 13:47:40 +00:00
|
|
|
target_id=113
|
|
|
|
application=yes
|
|
|
|
app_type="erosq"
|
2020-10-17 01:16:13 +00:00
|
|
|
modelname="aigoerosq"
|
2020-10-08 13:47:40 +00:00
|
|
|
target="EROS_Q"
|
|
|
|
memory=8
|
|
|
|
mipsellinuxcc
|
|
|
|
tool="cp "
|
|
|
|
boottool="cp "
|
|
|
|
bmp2rb_mono="$rootdir/tools/bmp2rb -f 0"
|
|
|
|
bmp2rb_native="$rootdir/tools/bmp2rb -f 10"
|
|
|
|
output="rockbox.erosq"
|
|
|
|
bootoutput="bootloader.erosq"
|
|
|
|
appextra="recorder:gui:hosted"
|
|
|
|
plugins="yes"
|
|
|
|
# architecture, manufacturer and model for the target-tree build
|
|
|
|
t_cpu="hosted"
|
|
|
|
t_manufacturer="aigo"
|
|
|
|
t_model="erosq"
|
2020-10-26 16:36:25 +00:00
|
|
|
sysfontbl="16-Terminus"
|
2018-11-05 12:01:55 +00:00
|
|
|
;;
|
|
|
|
|
2019-01-02 15:46:59 +00:00
|
|
|
250|ihifi770c)
|
2018-06-29 20:09:28 +00:00
|
|
|
target_id=107
|
|
|
|
modelname="ihifi770c"
|
|
|
|
target="IHIFI770C"
|
|
|
|
memory=16
|
|
|
|
arm7ejscc
|
|
|
|
tool="$rootdir/tools/scramble -rkw -modelnum=97"
|
|
|
|
bmp2rb_mono="$rootdir/tools/bmp2rb -f 0"
|
|
|
|
bmp2rb_native="$rootdir/tools/bmp2rb -f 4"
|
|
|
|
output="rockbox.rkw"
|
|
|
|
bootoutput="bootloader.rkw"
|
|
|
|
appextra="recorder:gui"
|
|
|
|
plugins="yes"
|
|
|
|
# toolset is the tools within the tools directory that we build for
|
|
|
|
# this particular target.
|
|
|
|
toolset="$genericbitmaptools"
|
|
|
|
# architecture, manufacturer and model for the target-tree build
|
|
|
|
t_cpu="arm"
|
|
|
|
t_manufacturer="rk27xx"
|
|
|
|
t_model="ihifi2"
|
|
|
|
;;
|
|
|
|
|
|
|
|
251|ihifi770)
|
|
|
|
target_id=108
|
|
|
|
modelname="ihifi770"
|
|
|
|
target="IHIFI770"
|
|
|
|
memory=16
|
|
|
|
arm7ejscc
|
|
|
|
tool="$rootdir/tools/scramble -rkw -modelnum=98"
|
|
|
|
bmp2rb_mono="$rootdir/tools/bmp2rb -f 0"
|
|
|
|
bmp2rb_native="$rootdir/tools/bmp2rb -f 4"
|
|
|
|
output="rockbox.rkw"
|
|
|
|
bootoutput="bootloader.rkw"
|
|
|
|
appextra="recorder:gui"
|
|
|
|
plugins="yes"
|
|
|
|
# toolset is the tools within the tools directory that we build for
|
|
|
|
# this particular target.
|
|
|
|
toolset="$genericbitmaptools"
|
|
|
|
# architecture, manufacturer and model for the target-tree build
|
|
|
|
t_cpu="arm"
|
|
|
|
t_manufacturer="rk27xx"
|
|
|
|
t_model="ihifi2"
|
|
|
|
;;
|
|
|
|
|
|
|
|
252|ihifi800)
|
|
|
|
target_id=109
|
|
|
|
modelname="ihifi800"
|
|
|
|
target="IHIFI800"
|
|
|
|
memory=16
|
|
|
|
arm7ejscc
|
|
|
|
tool="$rootdir/tools/scramble -rkw -modelnum=99"
|
|
|
|
bmp2rb_mono="$rootdir/tools/bmp2rb -f 0"
|
|
|
|
bmp2rb_native="$rootdir/tools/bmp2rb -f 4"
|
|
|
|
output="rockbox.rkw"
|
|
|
|
bootoutput="bootloader.rkw"
|
|
|
|
appextra="recorder:gui"
|
|
|
|
plugins="yes"
|
|
|
|
# toolset is the tools within the tools directory that we build for
|
|
|
|
# this particular target.
|
|
|
|
toolset="$genericbitmaptools"
|
|
|
|
# architecture, manufacturer and model for the target-tree build
|
|
|
|
t_cpu="arm"
|
|
|
|
t_manufacturer="rk27xx"
|
|
|
|
t_model="ihifi2"
|
|
|
|
;;
|
|
|
|
|
2021-02-27 22:08:58 +00:00
|
|
|
246|fiiom3k)
|
|
|
|
target_id=114
|
|
|
|
modelname="fiiom3k"
|
|
|
|
target="FIIO_M3K"
|
|
|
|
memory=64
|
|
|
|
mipsr2elcc
|
|
|
|
appextra="recorder:gui"
|
|
|
|
plugins="yes"
|
|
|
|
tool="$rootdir/tools/scramble -add=fiiom3k "
|
2021-11-15 11:42:28 +00:00
|
|
|
boottool="$rootdir/tools/mkspl-x1000 -type=nand -ppb=2 -bpp=2 "
|
2021-02-27 22:08:58 +00:00
|
|
|
output="rockbox.m3k"
|
|
|
|
bootoutput="bootloader.m3k"
|
2021-04-21 17:29:44 +00:00
|
|
|
sysfontbl="16-Terminus"
|
2021-02-27 22:08:58 +00:00
|
|
|
# toolset is the tools within the tools directory that we build for
|
|
|
|
# this particular target.
|
2021-05-11 12:28:43 +00:00
|
|
|
toolset="$x1000tools"
|
2021-02-27 22:08:58 +00:00
|
|
|
bmp2rb_mono="$rootdir/tools/bmp2rb -f 0"
|
|
|
|
bmp2rb_native="$rootdir/tools/bmp2rb -f 4"
|
|
|
|
# architecture, manufacturer and model for the target-tree build
|
|
|
|
t_cpu="mips"
|
|
|
|
t_manufacturer="ingenic_x1000"
|
|
|
|
t_model="fiiom3k"
|
|
|
|
;;
|
|
|
|
|
2021-05-23 16:30:58 +00:00
|
|
|
260|shanlingq1)
|
|
|
|
target_id=115
|
|
|
|
modelname="shanlingq1"
|
|
|
|
target="SHANLING_Q1"
|
|
|
|
memory=64
|
|
|
|
mipsr2elcc
|
|
|
|
appextra="recorder:gui"
|
|
|
|
plugins="yes"
|
|
|
|
tool="$rootdir/tools/scramble -add=shq1 "
|
2021-11-15 11:42:28 +00:00
|
|
|
boottool="$rootdir/tools/mkspl-x1000 -type=nand -ppb=2 -bpp=2 "
|
2021-05-23 16:30:58 +00:00
|
|
|
output="rockbox.q1"
|
|
|
|
bootoutput="bootloader.q1"
|
|
|
|
sysfontbl="16-Terminus"
|
|
|
|
# toolset is the tools within the tools directory that we build for
|
|
|
|
# this particular target.
|
|
|
|
toolset="$x1000tools"
|
|
|
|
bmp2rb_mono="$rootdir/tools/bmp2rb -f 0"
|
|
|
|
bmp2rb_native="$rootdir/tools/bmp2rb -f 4"
|
|
|
|
# architecture, manufacturer and model for the target-tree build
|
|
|
|
t_cpu="mips"
|
|
|
|
t_manufacturer="ingenic_x1000"
|
|
|
|
t_model="shanlingq1"
|
|
|
|
;;
|
|
|
|
|
2021-06-26 17:07:11 +00:00
|
|
|
247|erosqnative)
|
|
|
|
target_id=116
|
|
|
|
modelname="erosqnative"
|
|
|
|
target="EROS_QN"
|
|
|
|
memory=32
|
|
|
|
mipsr2elcc
|
|
|
|
appextra="recorder:gui"
|
|
|
|
plugins="yes"
|
|
|
|
tool="$rootdir/tools/scramble -add=erosqnative "
|
2021-11-15 11:42:28 +00:00
|
|
|
boottool="$rootdir/tools/mkspl-x1000 -type=nand -ppb=2 -bpp=2 "
|
2021-06-26 17:07:11 +00:00
|
|
|
output="rockbox.erosq"
|
|
|
|
bootoutput="bootloader.erosq"
|
|
|
|
sysfontbl="16-Terminus"
|
|
|
|
# toolset is the tools within the tools directory that we build for
|
|
|
|
# this particular target.
|
|
|
|
toolset="$x1000tools"
|
|
|
|
bmp2rb_mono="$rootdir/tools/bmp2rb -f 0"
|
|
|
|
bmp2rb_native="$rootdir/tools/bmp2rb -f 4"
|
|
|
|
# architecture, manufacturer and model for the target-tree build
|
|
|
|
t_cpu="mips"
|
|
|
|
t_manufacturer="ingenic_x1000"
|
|
|
|
t_model="erosqnative"
|
|
|
|
;;
|
|
|
|
|
2005-05-23 16:21:46 +00:00
|
|
|
*)
|
2006-08-30 21:53:26 +00:00
|
|
|
echo "Please select a supported target platform!"
|
2008-12-11 17:24:04 +00:00
|
|
|
exit 7
|
2005-05-23 16:21:46 +00:00
|
|
|
;;
|
|
|
|
|
2002-05-23 09:11:35 +00:00
|
|
|
esac
|
2003-02-26 09:13:47 +00:00
|
|
|
|
2008-01-23 10:59:17 +00:00
|
|
|
echo "Platform set to $modelname"
|
2003-02-26 09:13:47 +00:00
|
|
|
|
2005-05-30 13:00:43 +00:00
|
|
|
|
2007-03-03 00:36:54 +00:00
|
|
|
#remove start
|
2005-05-30 13:00:43 +00:00
|
|
|
############################################################################
|
2007-05-19 14:35:11 +00:00
|
|
|
# Amount of memory, for those that can differ. They have $memory unset at
|
|
|
|
# this point.
|
2005-05-30 13:00:43 +00:00
|
|
|
#
|
2003-02-26 09:13:47 +00:00
|
|
|
|
2007-05-19 14:35:11 +00:00
|
|
|
if [ -z "$memory" ]; then
|
2008-04-02 21:28:15 +00:00
|
|
|
case $target_id in
|
|
|
|
15)
|
2009-08-09 19:02:22 +00:00
|
|
|
if [ "$ARG_RAM" ]; then
|
|
|
|
size=$ARG_RAM
|
2008-04-02 21:28:15 +00:00
|
|
|
else
|
2009-08-09 19:02:22 +00:00
|
|
|
echo "Enter size of your RAM (in MB): (Defaults to 32)"
|
2008-04-02 21:28:15 +00:00
|
|
|
size=`input`;
|
|
|
|
fi
|
|
|
|
case $size in
|
|
|
|
60|64)
|
|
|
|
memory="64"
|
|
|
|
;;
|
|
|
|
*)
|
|
|
|
memory="32"
|
|
|
|
;;
|
|
|
|
esac
|
|
|
|
;;
|
|
|
|
*)
|
2009-08-09 19:02:22 +00:00
|
|
|
if [ "$ARG_RAM" ]; then
|
|
|
|
size=$ARG_RAM
|
|
|
|
else
|
|
|
|
echo "Enter size of your RAM (in MB): (Defaults to 2)"
|
|
|
|
size=`input`;
|
|
|
|
fi
|
|
|
|
case $size in
|
|
|
|
8)
|
|
|
|
memory="8"
|
|
|
|
;;
|
|
|
|
*)
|
|
|
|
memory="2"
|
|
|
|
;;
|
|
|
|
esac
|
2008-04-02 21:28:15 +00:00
|
|
|
;;
|
|
|
|
esac
|
|
|
|
echo "Memory size selected: $memory MB"
|
2009-08-09 19:02:22 +00:00
|
|
|
[ "$ARG_TYPE" ] || echo ""
|
2002-05-23 09:11:35 +00:00
|
|
|
fi
|
2007-03-03 00:36:54 +00:00
|
|
|
#remove end
|
2002-05-23 09:11:35 +00:00
|
|
|
|
2005-05-30 13:00:43 +00:00
|
|
|
##################################################################
|
|
|
|
# Figure out build "type"
|
|
|
|
#
|
2006-02-09 21:22:36 +00:00
|
|
|
|
2008-04-02 21:28:15 +00:00
|
|
|
case $modelname in
|
2009-12-07 12:19:08 +00:00
|
|
|
sansae200r|sansae200)
|
2011-06-12 11:40:20 +00:00
|
|
|
gdbstub=", (I)nstaller"
|
2008-04-02 21:28:15 +00:00
|
|
|
;;
|
2009-12-07 12:19:08 +00:00
|
|
|
sansac200)
|
2011-06-12 11:40:20 +00:00
|
|
|
gdbstub=", (E)raser"
|
2008-10-21 18:57:11 +00:00
|
|
|
;;
|
2011-09-02 21:34:28 +00:00
|
|
|
sansae200)
|
|
|
|
gdbstub=", (E)raser"
|
|
|
|
;;
|
2008-04-02 21:28:15 +00:00
|
|
|
*)
|
|
|
|
;;
|
|
|
|
esac
|
2009-08-09 19:02:22 +00:00
|
|
|
if [ "$ARG_TYPE" ]; then
|
|
|
|
btype=$ARG_TYPE
|
2008-04-02 21:28:15 +00:00
|
|
|
else
|
2012-03-03 18:37:40 +00:00
|
|
|
echo "Build (N)ormal, (A)dvanced, (S)imulator, (B)ootloader, (C)heckWPS, (D)atabase tool, (W)arble codec tool$gdbstub: (Defaults to N)"
|
2009-01-09 23:15:27 +00:00
|
|
|
btype=`input`;
|
2008-04-02 21:28:15 +00:00
|
|
|
fi
|
2002-05-23 09:11:35 +00:00
|
|
|
|
2009-01-09 23:15:27 +00:00
|
|
|
case $btype in
|
2007-09-09 11:20:20 +00:00
|
|
|
[Ii])
|
2011-08-13 20:29:15 +00:00
|
|
|
appsdir='$(ROOTDIR)/bootloader'
|
2007-09-09 11:20:20 +00:00
|
|
|
apps="bootloader"
|
2010-08-02 20:34:47 +00:00
|
|
|
extradefines="$extradefines -DBOOTLOADER -DE200R_INSTALLER -ffunction-sections -fdata-sections"
|
2007-09-09 11:20:20 +00:00
|
|
|
bootloader="1"
|
|
|
|
echo "e200R-installer build selected"
|
|
|
|
;;
|
2008-10-21 18:57:11 +00:00
|
|
|
[Ee])
|
2011-08-13 20:29:15 +00:00
|
|
|
appsdir='$(ROOTDIR)/bootloader'
|
2008-10-21 18:57:11 +00:00
|
|
|
apps="bootloader"
|
2011-09-02 21:34:28 +00:00
|
|
|
extradefines="$extradefines -DBOOTLOADER -DSANSA_PP_ERASE -ffunction-sections -fdata-sections"
|
2008-10-21 18:57:11 +00:00
|
|
|
bootloader="1"
|
2011-09-02 21:34:28 +00:00
|
|
|
echo "sansa eraser build selected"
|
2008-10-21 18:57:11 +00:00
|
|
|
;;
|
2005-01-29 00:00:47 +00:00
|
|
|
[Bb])
|
2020-07-15 23:40:55 +00:00
|
|
|
appsdir='$(ROOTDIR)/bootloader'
|
|
|
|
apps="bootloader"
|
|
|
|
flash=""
|
|
|
|
if test -n "$boottool"; then
|
|
|
|
tool="$boottool"
|
|
|
|
fi
|
|
|
|
if test -n "$bootoutput"; then
|
|
|
|
output=$bootoutput
|
2006-08-25 12:19:08 +00:00
|
|
|
fi
|
2010-08-02 20:34:47 +00:00
|
|
|
extradefines="$extradefines -DBOOTLOADER -ffunction-sections -fdata-sections"
|
2005-01-29 00:00:47 +00:00
|
|
|
bootloader="1"
|
2020-10-26 16:36:25 +00:00
|
|
|
if [ -n "${sysfontbl}" ] ; then sysfont=$sysfontbl ; fi
|
2005-01-29 00:00:47 +00:00
|
|
|
echo "Bootloader build selected"
|
|
|
|
;;
|
2002-05-31 07:22:38 +00:00
|
|
|
[Ss])
|
2009-12-10 19:48:14 +00:00
|
|
|
if [ "$modelname" = "sansae200r" ]; then
|
|
|
|
echo "Do not use the e200R target for simulator builds. Use e200 instead."
|
|
|
|
exit 8
|
|
|
|
fi
|
2005-08-30 21:21:06 +00:00
|
|
|
debug="-DDEBUG"
|
2002-05-31 07:22:38 +00:00
|
|
|
simulator="yes"
|
2013-06-13 16:42:29 +00:00
|
|
|
extradefines="$extradefines -DSIMULATOR -DHAVE_TEST_PLUGINS"
|
2008-11-20 11:27:31 +00:00
|
|
|
flash=""
|
2003-02-26 09:13:47 +00:00
|
|
|
echo "Simulator build selected"
|
2002-05-31 07:22:38 +00:00
|
|
|
;;
|
2009-08-09 19:02:22 +00:00
|
|
|
[Aa]*)
|
2007-03-03 00:36:54 +00:00
|
|
|
echo "Advanced build selected"
|
2009-08-09 19:02:22 +00:00
|
|
|
whichadvanced $btype
|
2002-05-23 10:10:44 +00:00
|
|
|
;;
|
2009-08-21 20:26:53 +00:00
|
|
|
[Cc])
|
|
|
|
uname=`uname`
|
2009-09-23 09:00:44 +00:00
|
|
|
simcc "checkwps"
|
2009-08-21 20:26:53 +00:00
|
|
|
toolset='';
|
|
|
|
t_cpu='';
|
|
|
|
GCCOPTS='';
|
2012-07-31 08:33:27 +00:00
|
|
|
rbdir='.'
|
2010-08-02 20:34:47 +00:00
|
|
|
extradefines="$extradefines -DDEBUG"
|
2011-08-13 20:29:15 +00:00
|
|
|
appsdir='$(ROOTDIR)/tools/checkwps';
|
2009-08-21 20:26:53 +00:00
|
|
|
output='checkwps.'${modelname};
|
|
|
|
echo "CheckWPS build selected"
|
|
|
|
;;
|
2009-10-07 16:54:15 +00:00
|
|
|
[Dd])
|
|
|
|
uname=`uname`
|
2012-07-31 08:33:27 +00:00
|
|
|
simcc "database-sdl"
|
2009-10-07 16:54:15 +00:00
|
|
|
toolset='';
|
2011-08-13 20:29:15 +00:00
|
|
|
appsdir='$(ROOTDIR)/tools/database';
|
2010-02-25 12:28:30 +00:00
|
|
|
|
|
|
|
case $uname in
|
|
|
|
CYGWIN*|MINGW*)
|
|
|
|
output="database_${modelname}.exe"
|
|
|
|
;;
|
|
|
|
*)
|
|
|
|
output='database.'${modelname};
|
|
|
|
;;
|
|
|
|
esac
|
2012-07-31 08:33:27 +00:00
|
|
|
# architecture, manufacturer and model for the target-tree build
|
|
|
|
t_cpu="hosted"
|
|
|
|
t_manufacturer="sdl"
|
|
|
|
t_model="database"
|
2009-10-07 16:54:15 +00:00
|
|
|
echo "Database tool build selected"
|
|
|
|
;;
|
2012-03-03 18:37:40 +00:00
|
|
|
[Ww])
|
|
|
|
uname=`uname`
|
|
|
|
simcc "warble"
|
|
|
|
toolset='';
|
|
|
|
t_cpu='';
|
|
|
|
GCCOPTS='';
|
2022-03-13 15:35:26 +00:00
|
|
|
extradefines="$extradefines -DDEBUG -DWARBLE"
|
2012-03-03 18:37:40 +00:00
|
|
|
output='warble.'${modelname};
|
|
|
|
echo "Warble build selected"
|
|
|
|
;;
|
2002-05-23 10:10:44 +00:00
|
|
|
*)
|
2009-12-07 12:19:08 +00:00
|
|
|
if [ "$modelname" = "sansae200r" ]; then
|
2008-01-05 22:36:46 +00:00
|
|
|
echo "Do not use the e200R target for regular builds. Use e200 instead."
|
2008-12-11 17:24:04 +00:00
|
|
|
exit 8
|
2008-01-05 22:36:46 +00:00
|
|
|
fi
|
2004-09-22 08:58:50 +00:00
|
|
|
debug=""
|
2009-01-09 23:15:27 +00:00
|
|
|
btype="N" # set it explicitly since RET only gets here as well
|
2003-02-26 09:13:47 +00:00
|
|
|
echo "Normal build selected"
|
2002-05-23 10:10:44 +00:00
|
|
|
;;
|
|
|
|
|
|
|
|
esac
|
2006-10-23 18:09:38 +00:00
|
|
|
# to be able running "make manual" from non-manual configuration
|
2008-01-23 10:59:17 +00:00
|
|
|
case $modelname in
|
2009-12-07 12:19:08 +00:00
|
|
|
iriverh1??)
|
|
|
|
manualdev="iriverh100"
|
2006-10-23 18:09:38 +00:00
|
|
|
;;
|
|
|
|
ipodmini2g)
|
2009-12-07 12:19:08 +00:00
|
|
|
manualdev="ipodmini1g"
|
2007-01-13 02:24:15 +00:00
|
|
|
;;
|
2006-10-23 18:09:38 +00:00
|
|
|
*)
|
2008-01-23 10:59:17 +00:00
|
|
|
manualdev=$modelname
|
2006-10-23 18:09:38 +00:00
|
|
|
;;
|
|
|
|
esac
|
2005-05-30 13:00:43 +00:00
|
|
|
|
2006-09-18 18:13:33 +00:00
|
|
|
if [ -z "$debug" ]; then
|
|
|
|
GCCOPTS="$GCCOPTS $GCCOPTIMIZE"
|
|
|
|
fi
|
2002-05-23 09:11:35 +00:00
|
|
|
|
2013-09-15 22:02:28 +00:00
|
|
|
# if building a simulator for an hosted port, APPLICATION
|
|
|
|
# define clashes with SIMULATOR define
|
|
|
|
|
|
|
|
if [ "yes" = "$simulator" ]; then
|
|
|
|
echo Unsetting APPLICATION define for SIMULATOR build
|
|
|
|
unset application
|
2018-12-08 09:19:14 +00:00
|
|
|
fi
|
|
|
|
|
2011-02-27 11:37:39 +00:00
|
|
|
if [ "yes" = "$application" ]; then
|
|
|
|
echo Building Rockbox as an Application
|
|
|
|
extradefines="$extradefines -DAPPLICATION"
|
|
|
|
fi
|
|
|
|
|
2006-08-30 21:53:26 +00:00
|
|
|
echo "Using source code root directory: $rootdir"
|
|
|
|
|
2005-02-18 13:47:17 +00:00
|
|
|
uname=`uname`
|
|
|
|
|
2002-10-17 09:14:57 +00:00
|
|
|
if [ "yes" = "$simulator" ]; then
|
2005-02-18 13:47:17 +00:00
|
|
|
# setup compiler and things for simulator
|
2010-07-10 13:49:49 +00:00
|
|
|
simcc "sdl-sim"
|
2005-02-18 13:47:17 +00:00
|
|
|
|
2008-11-24 20:32:57 +00:00
|
|
|
if [ -d "simdisk" ]; then
|
|
|
|
echo "Subdirectory 'simdisk' already present"
|
2005-02-18 13:47:17 +00:00
|
|
|
else
|
2008-11-24 20:32:57 +00:00
|
|
|
mkdir simdisk
|
|
|
|
echo "Created a 'simdisk' subdirectory for simulating the hard disk"
|
2005-02-18 13:47:17 +00:00
|
|
|
fi
|
|
|
|
fi
|
|
|
|
|
|
|
|
# Now, figure out version number of the (gcc) compiler we are about to use
|
|
|
|
gccver=`$CC -dumpversion`;
|
|
|
|
|
2007-09-08 21:45:21 +00:00
|
|
|
# figure out the binutil version too and display it, mostly for the build
|
|
|
|
# system etc to be able to see it easier
|
2009-02-27 06:02:40 +00:00
|
|
|
if [ $uname = "Darwin" ]; then
|
|
|
|
ldver=`$LD -v 2>&1 | sed -e 's/[^0-9.-]//g'`
|
|
|
|
else
|
Initial commit of the Samsung YP-R0 port.
This port is a hybrid native/RaaA port. It runs on a embedded linux system,
but is the only application. It therefore can implement lots of stuff that
native targets also implement, while leveraging the underlying linux kernel.
The port is quite advanced. User interface, audio playback, plugins work
mostly fine. Missing is e.g. power mangement and USB (see SamsungYPR0 wiki page).
Included in utils/ypr0tools are scripts and programs required to generate
a patched firmware. The patched firmware has the rootfs modified to load
Rockbox. It includes a early/safe USB mode.
This port needs a new toolchain, one that includes glibc headers and libraries.
rockboxdev.sh can generate it, but e.g. codesourcey and distro packages may
also work.
Most of the initial effort is done by Lorenzo Miori and others (on ABI),
including reverse engineering and patching of the original firmware,
initial drivers, and more. Big thanks to you.
Flyspray: FS#12348
Author: Lorenzo Miori, myself
Merry christmas to ypr0 owners! :)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31415 a1c6a512-1295-4272-9138-f99709370657
2011-12-24 11:56:46 +00:00
|
|
|
ldver=`$LD --version | head -n 1 | sed -e 's/\ /\n/g' | tail -n 1`
|
2009-02-27 06:02:40 +00:00
|
|
|
fi
|
2007-09-08 21:45:21 +00:00
|
|
|
|
2005-02-18 13:47:17 +00:00
|
|
|
if [ -z "$gccver" ]; then
|
2009-08-09 19:02:22 +00:00
|
|
|
echo "[WARNING] The compiler you must use ($CC) is not in your path!"
|
|
|
|
echo "[WARNING] this may cause your build to fail since we cannot do the"
|
|
|
|
echo "[WARNING] checks we want now."
|
2005-02-18 13:47:17 +00:00
|
|
|
else
|
|
|
|
|
2020-05-18 22:21:41 +00:00
|
|
|
# convert gcc version to a number (major*100 + minor).
|
|
|
|
# Newer compilers may only return the major number, so we neen to fetch the
|
|
|
|
# version using -dumpfullversion. MinGW compilers may return names like
|
|
|
|
# "7.3-win32", so me must strip off the last part.
|
|
|
|
gccver2=`$CC -dumpfullversion -dumpversion | cut -d "-" -f1`;
|
|
|
|
num1=`echo $gccver2 | cut -d . -f1`
|
|
|
|
num2=`echo $gccver2 | cut -d . -f2`
|
2005-02-18 13:47:17 +00:00
|
|
|
gccnum=`(expr $num1 "*" 100 + $num2) 2>/dev/null`
|
|
|
|
|
|
|
|
# This makes:
|
|
|
|
# 3.3.X => 303
|
|
|
|
# 3.4.X => 304
|
|
|
|
# 2.95.3 => 295
|
2020-05-18 22:21:41 +00:00
|
|
|
# 7.3-win32 => 703
|
2005-02-18 13:47:17 +00:00
|
|
|
|
|
|
|
echo "Using $CC $gccver ($gccnum)"
|
|
|
|
|
2007-01-13 02:24:15 +00:00
|
|
|
if test "$gccnum" -ge "400"; then
|
2005-07-07 08:16:39 +00:00
|
|
|
# gcc 4.0 is just *so* much pickier on arguments that differ in signedness
|
|
|
|
# so we ignore that warnings for now
|
|
|
|
# -Wno-pointer-sign
|
|
|
|
GCCOPTS="$GCCOPTS -Wno-pointer-sign"
|
|
|
|
fi
|
|
|
|
|
2007-09-07 17:55:21 +00:00
|
|
|
if test "$gccnum" -ge "402"; then
|
|
|
|
# disable warning about "warning: initialized field overwritten" as gcc 4.2
|
|
|
|
# and later would throw it for several valid cases
|
|
|
|
GCCOPTS="$GCCOPTS -Wno-override-init"
|
|
|
|
fi
|
|
|
|
|
2016-08-12 12:41:06 +00:00
|
|
|
if test "$gccnum" -ge "601"; then
|
|
|
|
# gcc 6 adds a lot of warnings that while useful are too time-consuming
|
|
|
|
# to clean up right away
|
|
|
|
GCCOPTS="$GCCOPTS -Wno-shift-negative-value -Wno-unused-const-variable -Wno-nonnull-compare -Wno-tautological-compare"
|
|
|
|
fi
|
|
|
|
|
2017-08-27 17:22:49 +00:00
|
|
|
if test "$gccnum" -ge "700"; then
|
|
|
|
# gcc 7 spews a bunch of warnings by default
|
|
|
|
GCCOPTS="$GCCOPTS -Wno-expansion-to-defined -Wimplicit-fallthrough=0"
|
|
|
|
fi
|
|
|
|
|
2008-02-27 21:37:48 +00:00
|
|
|
case $prefix in
|
2010-06-05 17:09:04 +00:00
|
|
|
""|"$CROSS_COMPILE")
|
2008-02-27 21:37:48 +00:00
|
|
|
# simulator
|
|
|
|
;;
|
|
|
|
*)
|
|
|
|
# Verify that the cross-compiler is of a recommended version!
|
|
|
|
if test "$gccver" != "$gccchoice"; then
|
|
|
|
echo "WARNING: Your cross-compiler $CC $gccver is not of the recommended"
|
|
|
|
echo "WARNING: version $gccchoice!"
|
|
|
|
echo "WARNING: This may cause your build to fail since it may be a version"
|
|
|
|
echo "WARNING: that isn't functional or known to not be the best choice."
|
|
|
|
echo "WARNING: If you suffer from build problems, you know that this is"
|
|
|
|
echo "WARNING: a likely source for them..."
|
|
|
|
fi
|
|
|
|
;;
|
|
|
|
esac
|
|
|
|
|
2002-10-17 09:14:57 +00:00
|
|
|
fi
|
|
|
|
|
2008-02-27 21:37:48 +00:00
|
|
|
|
2007-09-08 21:45:21 +00:00
|
|
|
echo "Using $LD $ldver"
|
|
|
|
|
2016-08-21 15:19:26 +00:00
|
|
|
makever=`make --version | head -1`
|
|
|
|
echo "Detected make $makever"
|
|
|
|
|
2009-08-09 19:02:22 +00:00
|
|
|
if [ "$ARG_CCACHE" = "1" ]; then
|
2006-08-16 13:02:29 +00:00
|
|
|
echo "Enable ccache for building"
|
|
|
|
ccache="ccache"
|
2009-08-13 21:09:09 +00:00
|
|
|
elif [ "$ARG_CCACHE" != "0" ]; then
|
2009-08-09 19:02:22 +00:00
|
|
|
ccache=`findtool ccache`
|
|
|
|
if test -n "$ccache"; then
|
|
|
|
echo "Found and uses ccache ($ccache)"
|
2006-08-16 13:02:29 +00:00
|
|
|
fi
|
2021-09-21 00:14:37 +00:00
|
|
|
else
|
|
|
|
CCACHE_ARG="export CCACHE_DISABLE=true"
|
2006-08-16 13:02:29 +00:00
|
|
|
fi
|
2006-05-01 21:21:15 +00:00
|
|
|
|
2008-10-06 23:04:31 +00:00
|
|
|
# figure out the full path to the various commands if possible
|
|
|
|
HOSTCC=`findtool gcc --lit`
|
|
|
|
HOSTAR=`findtool ar --lit`
|
|
|
|
CC=`findtool ${CC} --lit`
|
2012-01-07 18:49:02 +00:00
|
|
|
CPP=`findtool ${CPP} --lit`
|
2012-03-01 15:51:30 +00:00
|
|
|
LD=`findtool ${LD} --lit`
|
2008-10-06 23:04:31 +00:00
|
|
|
AR=`findtool ${AR} --lit`
|
|
|
|
AS=`findtool ${AS} --lit`
|
|
|
|
OC=`findtool ${OC} --lit`
|
|
|
|
WINDRES=`findtool ${WINDRES} --lit`
|
|
|
|
DLLTOOL=`findtool ${DLLTOOL} --lit`
|
|
|
|
DLLWRAP=`findtool ${DLLWRAP} --lit`
|
|
|
|
RANLIB=`findtool ${RANLIB} --lit`
|
|
|
|
|
2017-01-15 11:53:13 +00:00
|
|
|
# in pure cross-compiler environments without own native compiler this helps:
|
|
|
|
HOSTCC=${HOSTCC:-${CC}}
|
|
|
|
HOSTAR=${HOSTAR:-${AR}}
|
2012-01-07 18:49:02 +00:00
|
|
|
|
|
|
|
if [ -z "$arch" ]; then
|
2012-03-28 21:32:57 +00:00
|
|
|
cpp_defines=$(echo "" | $CPP $GCCOPTS -dD)
|
2020-11-03 23:42:50 +00:00
|
|
|
if [ -n "$(echo $cpp_defines | grep -w __m68k__)" ]; then
|
2012-01-07 18:49:02 +00:00
|
|
|
arch="m68k"
|
|
|
|
elif [ -n "$(echo $cpp_defines | grep -w __arm__)" ]; then
|
|
|
|
arch="arm"
|
2012-03-28 20:57:13 +00:00
|
|
|
# cpp defines like "#define __ARM_ARCH_4TE__ 1" (where we want to extract the 4)
|
2015-04-19 16:13:19 +00:00
|
|
|
arch_version="$(echo $cpp_defines | tr ' ' '\012' | grep __ARM_ARCH | sed -e 's,.*\([0-9]\).*,\1,' | grep -v __ARM_ARCH)"
|
2012-01-07 18:49:02 +00:00
|
|
|
elif [ -n "$(echo $cpp_defines | grep -w __mips__)" ]; then
|
2012-11-06 08:24:01 +00:00
|
|
|
arch="mips"
|
2015-04-19 16:13:19 +00:00
|
|
|
arch_version="$(echo $cpp_defines | tr ' ' '\012' | grep _MIPS_ARCH_MIPS | sed -e 's,.*\([0-9][0-9]\).*,\1,' | grep -v _MIPS_ARCH_MIPS)"
|
2012-03-30 20:52:09 +00:00
|
|
|
elif [ -n "$(echo $cpp_defines | grep -w __i386__)" ]; then
|
2012-01-07 18:49:02 +00:00
|
|
|
arch="x86"
|
|
|
|
elif [ -n "$(echo $cpp_defines | grep -w __x86_64__)" ]; then
|
|
|
|
arch="amd64"
|
|
|
|
else
|
2012-03-28 20:57:13 +00:00
|
|
|
arch="none"
|
2012-01-07 18:49:02 +00:00
|
|
|
echo "Warning: Could not determine target arch"
|
|
|
|
fi
|
2018-11-05 12:01:55 +00:00
|
|
|
if [ "$arch" != "none" ]; then
|
2012-03-28 20:57:13 +00:00
|
|
|
if [ -n "$arch_version" ]; then
|
|
|
|
echo "Automatically selected arch: $arch (ver $arch_version)"
|
|
|
|
else
|
|
|
|
echo "Automatically selected arch: $arch"
|
|
|
|
fi
|
2012-01-07 18:49:02 +00:00
|
|
|
fi;
|
|
|
|
else
|
2012-03-28 20:57:13 +00:00
|
|
|
if [ -n "$arch_version" ]; then
|
|
|
|
echo "Manually selected arch: $arch (ver $arch_version)"
|
|
|
|
else
|
|
|
|
echo "Manually selected arch: $arch"
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|
|
|
|
|
arch="arch_$arch"
|
|
|
|
if [ -n "$arch_version" ]; then
|
|
|
|
Darch_version="#define ARCH_VERSION $arch_version"
|
2012-01-07 18:49:02 +00:00
|
|
|
fi
|
|
|
|
|
2010-06-26 21:55:09 +00:00
|
|
|
if test -n "$ccache"; then
|
|
|
|
CC="$ccache $CC"
|
|
|
|
fi
|
|
|
|
|
2010-06-11 11:19:00 +00:00
|
|
|
if test "$ARG_ARM_THUMB" = "1"; then
|
|
|
|
extradefines="$extradefines -DUSE_THUMB"
|
2010-06-11 05:37:37 +00:00
|
|
|
CC="$toolsdir/thumb-cc.py $CC"
|
|
|
|
fi
|
|
|
|
|
2005-04-26 22:41:48 +00:00
|
|
|
if test "X$endian" = "Xbig"; then
|
|
|
|
defendian="ROCKBOX_BIG_ENDIAN"
|
|
|
|
else
|
|
|
|
defendian="ROCKBOX_LITTLE_ENDIAN"
|
|
|
|
fi
|
|
|
|
|
2010-12-06 22:28:14 +00:00
|
|
|
if [ "$ARG_RBDIR" != "" ]; then
|
2010-12-07 13:24:41 +00:00
|
|
|
if [ -z `echo $ARG_RBDIR | grep '^/'` ]; then
|
|
|
|
rbdir="/"$ARG_RBDIR
|
|
|
|
else
|
|
|
|
rbdir=$ARG_RBDIR
|
2018-11-05 12:01:55 +00:00
|
|
|
fi
|
2008-11-24 22:16:07 +00:00
|
|
|
echo "Using alternate rockbox dir: ${rbdir}"
|
|
|
|
fi
|
|
|
|
|
2021-03-24 11:29:11 +00:00
|
|
|
cat > autoconf.h.new <<EOF
|
2005-05-07 22:41:17 +00:00
|
|
|
/* This header was made by configure */
|
|
|
|
#ifndef __BUILD_AUTOCONF_H
|
|
|
|
#define __BUILD_AUTOCONF_H
|
|
|
|
|
2012-03-28 20:57:13 +00:00
|
|
|
/* lower case names match the what's exported in the Makefile
|
|
|
|
* upper case name looks nicer in the code */
|
|
|
|
|
|
|
|
#define arch_none 0
|
|
|
|
#define ARCH_NONE 0
|
|
|
|
|
|
|
|
#define arch_sh 1
|
|
|
|
#define ARCH_SH 1
|
|
|
|
|
|
|
|
#define arch_m68k 2
|
|
|
|
#define ARCH_M68K 2
|
|
|
|
|
|
|
|
#define arch_arm 3
|
|
|
|
#define ARCH_ARM 3
|
|
|
|
|
|
|
|
#define arch_mips 4
|
|
|
|
#define ARCH_MIPS 4
|
|
|
|
|
|
|
|
#define arch_x86 5
|
|
|
|
#define ARCH_X86 5
|
|
|
|
|
|
|
|
#define arch_amd64 6
|
|
|
|
#define ARCH_AMD64 6
|
|
|
|
|
|
|
|
/* Define target machine architecture */
|
|
|
|
#define ARCH ${arch}
|
2012-11-06 08:24:01 +00:00
|
|
|
/* Optionally define architecture version */
|
2012-03-28 20:57:13 +00:00
|
|
|
${Darch_version}
|
|
|
|
|
2005-04-26 22:41:48 +00:00
|
|
|
/* Define endianess for the target or simulator platform */
|
2011-08-13 20:39:58 +00:00
|
|
|
#define ${defendian} 1
|
2005-05-07 22:41:17 +00:00
|
|
|
|
2012-06-11 21:17:19 +00:00
|
|
|
/* Define the GCC version used for the build */
|
2012-06-11 21:25:53 +00:00
|
|
|
#define GCCNUM ${gccnum}
|
2012-06-11 21:17:19 +00:00
|
|
|
|
2005-05-30 13:00:43 +00:00
|
|
|
/* Define this if you build rockbox to support the logf logging and display */
|
2011-08-13 20:39:58 +00:00
|
|
|
${use_logf}
|
2005-05-30 13:00:43 +00:00
|
|
|
|
2011-09-09 10:28:36 +00:00
|
|
|
/* Define this if you want logf to output to the serial port */
|
|
|
|
${use_logf_serial}
|
|
|
|
|
2010-04-01 16:27:21 +00:00
|
|
|
/* Define this to record a chart with timings for the stages of boot */
|
2011-08-13 20:39:58 +00:00
|
|
|
${use_bootchart}
|
2010-04-01 16:27:21 +00:00
|
|
|
|
2009-06-12 18:53:44 +00:00
|
|
|
/* optional define for FM radio mod for iAudio M5 */
|
2011-08-13 20:39:58 +00:00
|
|
|
${have_fmradio_in}
|
2009-06-12 18:53:44 +00:00
|
|
|
|
2020-11-18 13:30:01 +00:00
|
|
|
/* optional define for USB Serial */
|
|
|
|
${use_usb_serial}
|
2009-06-20 18:37:29 +00:00
|
|
|
|
2007-03-03 00:36:54 +00:00
|
|
|
/* optional defines for RTC mod for h1x0 */
|
2011-08-13 20:39:58 +00:00
|
|
|
${config_rtc}
|
|
|
|
${have_rtc_alarm}
|
2007-03-03 00:36:54 +00:00
|
|
|
|
2011-02-18 22:46:01 +00:00
|
|
|
/* the threading backend we use */
|
2011-08-13 20:39:58 +00:00
|
|
|
#define ${thread_support}
|
2011-02-18 22:46:01 +00:00
|
|
|
|
2010-08-02 20:34:47 +00:00
|
|
|
/* lcd dimensions for application builds from configure */
|
2011-08-13 20:39:58 +00:00
|
|
|
${app_lcd_width}
|
|
|
|
${app_lcd_height}
|
2010-08-02 20:34:47 +00:00
|
|
|
|
2008-11-24 22:16:07 +00:00
|
|
|
/* root of Rockbox */
|
2011-08-13 20:39:58 +00:00
|
|
|
#define ROCKBOX_DIR "${rbdir}"
|
|
|
|
#define ROCKBOX_SHARE_PATH "${sharedir}"
|
|
|
|
#define ROCKBOX_BINARY_PATH "${bindir}"
|
|
|
|
#define ROCKBOX_LIBRARY_PATH "${libdir}"
|
2008-11-24 22:16:07 +00:00
|
|
|
|
2005-05-07 22:41:17 +00:00
|
|
|
#endif /* __BUILD_AUTOCONF_H */
|
2005-04-26 22:41:48 +00:00
|
|
|
EOF
|
|
|
|
|
2021-03-24 11:29:11 +00:00
|
|
|
# Make sure the file is different.
|
|
|
|
if ! diff -q autoconf.h.new autoconf.h > /dev/null 2>&1 ; then
|
|
|
|
mv autoconf.h.new autoconf.h
|
|
|
|
echo "Created autoconf.h"
|
2021-04-08 01:48:58 +00:00
|
|
|
else
|
|
|
|
rm -f autoconf.h.new
|
2021-03-24 11:29:11 +00:00
|
|
|
fi
|
|
|
|
|
2006-03-07 12:45:45 +00:00
|
|
|
if test -n "$t_cpu"; then
|
2006-07-26 12:26:57 +00:00
|
|
|
TARGET_INC="-I\$(FIRMDIR)/target/$t_cpu/$t_manufacturer/$t_model"
|
2011-02-08 20:05:25 +00:00
|
|
|
|
2012-01-07 18:49:02 +00:00
|
|
|
if [ "$application" = "yes" ] && [ "$t_manufacturer" = "maemo" ]; then
|
2011-02-08 20:05:25 +00:00
|
|
|
# Maemo needs the SDL port, too
|
|
|
|
TARGET_INC="$TARGET_INC -I\$(FIRMDIR)/target/hosted/sdl/app"
|
|
|
|
TARGET_INC="$TARGET_INC -I\$(FIRMDIR)/target/hosted/sdl"
|
2012-01-07 18:49:02 +00:00
|
|
|
elif [ "$application" = "yes" ] && [ "$t_manufacturer" = "pandora" ]; then
|
2011-02-27 23:42:37 +00:00
|
|
|
# Pandora needs the SDL port, too
|
|
|
|
TARGET_INC="$TARGET_INC -I\$(FIRMDIR)/target/hosted/sdl/app"
|
|
|
|
TARGET_INC="$TARGET_INC -I\$(FIRMDIR)/target/hosted/sdl"
|
2011-02-08 20:05:25 +00:00
|
|
|
elif [ "$simulator" = "yes" ]; then # a few more includes for the sim target tree
|
|
|
|
TARGET_INC="$TARGET_INC -I\$(FIRMDIR)/target/hosted/sdl"
|
|
|
|
TARGET_INC="$TARGET_INC -I\$(FIRMDIR)/target/hosted"
|
iBasso DX50/DX90: Major code cleanup and reorganization.
Reorganization
- Separated iBasso devices from PLATFORM_ANDROID. These are now standlone
hosted targets. Most device specific code is in the
firmware/target/hosted/ibasso directory.
- No dependency on Android SDK, only the Android NDK is needed.
32 bit Android NDK and Android API Level 16.
- Separate implementation for each device where feasible.
Code cleanup
- Rewrite of existing code, from simple reformat to complete reimplementation.
- New backlight interface, seperating backlight from touchscreen.
- Rewrite of device button handler, removing unneeded code and fixing memory
leaks.
- New Debug messages interface logging to Android adb logcat (DEBUGF, panicf,
logf).
- Rewrite of lcd device handler, removing unneeded code and fixing memory leaks.
- Rewrite of audiohw device handler/pcm interface, removing unneeded code and
fixing memory leaks, enabling 44.1/48kHz pthreaded playback.
- Rewrite of power and powermng, proper shutdown, using batterylog results
(see http://gerrit.rockbox.org/r/#/c/1047/).
- Rewrite of configure (Android NDK) and device specific config.
- Rewrite of the Android NDK specific Makefile.
Misc
- All plugins/games/demos activated.
- Update tinyalsa to latest from https://github.com/tinyalsa/tinyalsa.
Includes
- http://gerrit.rockbox.org/r/#/c/993/
- http://gerrit.rockbox.org/r/#/c/1010/
- http://gerrit.rockbox.org/r/#/c/1035/
Does not include http://gerrit.rockbox.org/r/#/c/1007/ due to new backlight
interface and new option for hold switch, touchscreen, physical button
interaction.
Rockbox needs the iBasso DX50/DX90 loader for startup, see
http://gerrit.rockbox.org/r/#/c/1099/
The loader expects Rockbox to be installed in /mnt/sdcard/.rockbox/. If
/mnt/sdcard/ is accessed as USB mass storage device, Rockbox will exit
gracefully and the loader will restart Rockbox on USB disconnect.
Tested on iBasso DX50.
Compiled (not tested) for iBasso DX90.
Compiled (not tested) for PLATFORM_ANDROID.
Change-Id: I5f5e22e68f5b4cf29c28e2b40b2c265f2beb7ab7
2015-02-02 20:44:29 +00:00
|
|
|
elif [ "$t_manufacturer" = "ibasso" ]; then
|
|
|
|
TARGET_INC="$TARGET_INC -I\$(FIRMDIR)/target/hosted/ibasso/tinyalsa/include"
|
2010-05-15 21:02:47 +00:00
|
|
|
fi
|
2011-02-27 23:42:37 +00:00
|
|
|
|
2006-07-26 12:26:57 +00:00
|
|
|
TARGET_INC="$TARGET_INC -I\$(FIRMDIR)/target/$t_cpu/$t_manufacturer"
|
2012-01-03 04:23:08 +00:00
|
|
|
test -n "$t_soc" && TARGET_INC="$TARGET_INC -I\$(FIRMDIR)/target/$t_cpu/$t_soc"
|
2006-03-07 12:45:45 +00:00
|
|
|
TARGET_INC="$TARGET_INC -I\$(FIRMDIR)/target/$t_cpu"
|
2006-08-01 22:22:01 +00:00
|
|
|
GCCOPTS="$GCCOPTS"
|
2006-03-07 12:45:45 +00:00
|
|
|
fi
|
|
|
|
|
2020-07-17 04:01:32 +00:00
|
|
|
voicetoolset="rbspeexenc voicefont wavtrim"
|
2007-11-16 21:03:38 +00:00
|
|
|
|
2008-02-18 12:17:34 +00:00
|
|
|
if test "$apps" = "apps"; then
|
|
|
|
# only when we build "real" apps we build the .lng files
|
|
|
|
buildlangs="langs"
|
|
|
|
fi
|
|
|
|
|
2009-01-09 23:15:27 +00:00
|
|
|
#### Fix the cmdline ###
|
2010-11-14 15:29:11 +00:00
|
|
|
if [ -n "$ARG_PREFIX" ]; then
|
2011-07-09 08:23:36 +00:00
|
|
|
cmdline="$cmdline --prefix=\$(PREFIX)"
|
2010-11-14 15:29:11 +00:00
|
|
|
fi
|
2011-02-27 11:37:39 +00:00
|
|
|
if [ -n "$ARG_LCDWIDTH" ]; then
|
2011-07-09 08:23:36 +00:00
|
|
|
cmdline="$cmdline --lcdwidth=$ARG_LCDWIDTH --lcdheight=$ARG_LCDHEIGHT "
|
2011-02-11 19:51:29 +00:00
|
|
|
fi
|
2010-11-14 15:29:11 +00:00
|
|
|
|
2011-07-09 08:23:36 +00:00
|
|
|
# remove parts from the cmdline we're going to set unconditionally
|
2011-10-03 20:36:46 +00:00
|
|
|
cmdline=`echo $cmdline | sed -e s,--target=[a-zA-Z_0-9]\*,,g \
|
2011-07-09 08:23:36 +00:00
|
|
|
-e s,--ram=[0-9]\*,,g \
|
|
|
|
-e s,--rbdir=[./a-zA-Z0-9]\*,,g \
|
|
|
|
-e s,--type=[a-zA-Z]\*,,g`
|
|
|
|
cmdline="$cmdline --target=\$(MODELNAME) --ram=\$(MEMORYSIZE) --rbdir=\$(RBDIR) --type=$btype$advopts"
|
2009-01-09 23:15:27 +00:00
|
|
|
|
|
|
|
### end of cmdline
|
|
|
|
|
2011-08-13 20:03:23 +00:00
|
|
|
cat > Makefile <<EOF
|
2008-04-09 11:53:28 +00:00
|
|
|
## Automatically generated. http://www.rockbox.org/
|
2002-05-23 10:10:44 +00:00
|
|
|
|
2011-08-13 20:03:23 +00:00
|
|
|
export ROOTDIR=${rootdir}
|
2011-08-13 20:29:15 +00:00
|
|
|
export FIRMDIR=\$(ROOTDIR)/firmware
|
2011-08-13 20:03:23 +00:00
|
|
|
export APPSDIR=${appsdir}
|
|
|
|
export TOOLSDIR=${toolsdir}
|
|
|
|
export DOCSDIR=${rootdir}/docs
|
|
|
|
export MANUALDIR=${rootdir}/manual
|
|
|
|
export DEBUG=${debug}
|
|
|
|
export MODELNAME=${modelname}
|
|
|
|
export FLASHFILE=${flash}
|
|
|
|
export TARGET_ID=${target_id}
|
2011-12-15 17:50:33 +00:00
|
|
|
export TARGET=-D${target}
|
2020-08-31 17:31:00 +00:00
|
|
|
export SYSFONT=${sysfont}
|
2012-01-07 18:49:02 +00:00
|
|
|
export ARCH=${arch}
|
2012-03-28 20:57:13 +00:00
|
|
|
export ARCH_VERSION=${arch_version}
|
2011-08-13 20:03:23 +00:00
|
|
|
export CPU=${t_cpu}
|
|
|
|
export MANUFACTURER=${t_manufacturer}
|
|
|
|
export OBJDIR=${pwd}
|
|
|
|
export BUILDDIR=${pwd}
|
2011-06-26 01:32:25 +00:00
|
|
|
export RBCODEC_BLD=${pwd}/lib/rbcodec
|
2011-08-13 20:03:23 +00:00
|
|
|
export VOICELANGUAGE=${voicelanguage}
|
|
|
|
export MEMORYSIZE=${memory}
|
2008-11-20 11:27:31 +00:00
|
|
|
export BUILDDATE:=\$(shell date -u +'-DYEAR=%Y -DMONTH=%m -DDAY=%d')
|
2011-08-13 20:03:23 +00:00
|
|
|
export MKFIRMWARE=${tool}
|
|
|
|
export BMP2RB_MONO=${bmp2rb_mono}
|
2011-08-13 20:32:34 +00:00
|
|
|
export BMP2RB_NATIVE=${bmp2rb_native}
|
2011-08-13 20:03:23 +00:00
|
|
|
export BMP2RB_REMOTEMONO=${bmp2rb_remotemono}
|
|
|
|
export BMP2RB_REMOTENATIVE=${bmp2rb_remotenative}
|
|
|
|
export BINARY=${output}
|
|
|
|
export APPEXTRA=${appextra}
|
|
|
|
export ENABLEDPLUGINS=${plugins}
|
|
|
|
export EXTRA_DEFINES=${extradefines}
|
|
|
|
export HOSTCC=${HOSTCC}
|
|
|
|
export HOSTAR=${HOSTAR}
|
|
|
|
export CC=${CC}
|
2012-01-07 18:49:02 +00:00
|
|
|
export CPP=${CPP}
|
2011-08-13 20:03:23 +00:00
|
|
|
export LD=${LD}
|
|
|
|
export AR=${AR}
|
|
|
|
export AS=${AS}
|
|
|
|
export OC=${OC}
|
|
|
|
export WINDRES=${WINDRES}
|
|
|
|
export DLLTOOL=${DLLTOOL}
|
|
|
|
export DLLWRAP=${DLLWRAP}
|
|
|
|
export RANLIB=${RANLIB}
|
|
|
|
export PREFIX=${ARG_PREFIX}
|
|
|
|
export PROFILE_OPTS=${PROFILE_OPTS}
|
|
|
|
export APP_TYPE=${app_type}
|
|
|
|
export APPLICATION=${application}
|
2007-04-20 11:58:39 +00:00
|
|
|
export SIMDIR=\$(ROOTDIR)/uisimulator/sdl
|
2011-08-13 20:03:23 +00:00
|
|
|
export GCCOPTS=${GCCOPTS}
|
|
|
|
export TARGET_INC=${TARGET_INC}
|
|
|
|
export LOADADDRESS=${loadaddress}
|
2021-07-08 22:14:27 +00:00
|
|
|
export SHARED_LDFLAGS=${SHARED_LDFLAGS}
|
2011-08-13 20:03:23 +00:00
|
|
|
export SHARED_CFLAGS=${SHARED_CFLAGS}
|
|
|
|
export LDOPTS=${LDOPTS}
|
|
|
|
export GLOBAL_LDOPTS=${GLOBAL_LDOPTS}
|
|
|
|
export GCCVER=${gccver}
|
|
|
|
export GCCNUM=${gccnum}
|
|
|
|
export UNAME=${uname}
|
|
|
|
export MANUALDEV=${manualdev}
|
|
|
|
export TTS_OPTS=${TTS_OPTS}
|
|
|
|
export TTS_ENGINE=${TTS_ENGINE}
|
|
|
|
export ENC_OPTS=${ENC_OPTS}
|
2011-08-13 20:07:01 +00:00
|
|
|
export ENCODER=${ENCODER}
|
2011-08-13 20:03:23 +00:00
|
|
|
export USE_ELF=${USE_ELF}
|
|
|
|
export RBDIR=${rbdir}
|
|
|
|
export ROCKBOX_SHARE_PATH=${sharedir}
|
|
|
|
export ROCKBOX_BINARY_PATH=${bindir}
|
|
|
|
export ROCKBOX_LIBRARY_PATH=${libdir}
|
|
|
|
export SDLCONFIG=${sdl}
|
|
|
|
export LCDORIENTATION=${lcd_orientation}
|
2012-06-11 20:06:34 +00:00
|
|
|
export ANDROID_ARCH=${ANDROID_ARCH}
|
2013-04-02 12:09:59 +00:00
|
|
|
export ANDROID_NDK_PATH=${ANDROID_NDK_PATH}
|
|
|
|
export ANDROID_SDK_PATH=${ANDROID_SDK_PATH}
|
2020-04-13 03:17:45 +00:00
|
|
|
export ANDROID_PLATFORM_VERSION=${ANDROID_PLATFORM_VERSION}
|
2021-02-27 22:05:39 +00:00
|
|
|
export TOOLSET=${toolset}
|
2021-09-21 00:14:37 +00:00
|
|
|
$CCACHE_ARG
|
2011-08-13 20:03:23 +00:00
|
|
|
|
|
|
|
CONFIGURE_OPTIONS=${cmdline}
|
2009-01-09 23:15:27 +00:00
|
|
|
|
2008-11-20 11:27:31 +00:00
|
|
|
include \$(TOOLSDIR)/root.make
|
2005-02-18 13:47:17 +00:00
|
|
|
EOF
|
|
|
|
|
2002-05-23 09:39:31 +00:00
|
|
|
echo "Created Makefile"
|