Commit graph

1543 commits

Author SHA1 Message Date
Michael Sevakis
2b640ba4b8 Switch iPod 3G to use EABI toolchain. Make necessary threading changes to avoid use of stack after switching to idle stack.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26898 a1c6a512-1295-4272-9138-f99709370657
2010-06-17 20:15:58 +00:00
Björn Stenberg
ccaec76d55 Added skin_parser library to build system.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26885 a1c6a512-1295-4272-9138-f99709370657
2010-06-17 11:10:00 +00:00
Jens Arnold
cf985f0381 Build properly scrambled and named bootloader files for iAudio M3, M5 and X5. X5V still needs manual intervention but it has been like that before.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26846 a1c6a512-1295-4272-9138-f99709370657
2010-06-14 17:49:30 +00:00
Frank Gevaerts
7b59f99a72 Build D2 with the old compiler again (configure)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26836 a1c6a512-1295-4272-9138-f99709370657
2010-06-13 21:50:09 +00:00
Rafaël Carré
93460f50ba build cowond2 and iaudio7 with EABI, they aren't stable
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26830 a1c6a512-1295-4272-9138-f99709370657
2010-06-13 13:49:10 +00:00
Michael Sparmann
6711de902e SSwitch ipodnano2g to eabi in /trunk/tools/configure
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26828 a1c6a512-1295-4272-9138-f99709370657
2010-06-13 13:46:24 +00:00
Jonas Häggqvist
83c19efa7e Don't explicitly set -j for make. Inform the user that he can set MAKEFLAGS instead.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26822 a1c6a512-1295-4272-9138-f99709370657
2010-06-12 21:08:45 +00:00
Robert Kukla
a331e0d3fb Build mrobe100 with EABI
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26816 a1c6a512-1295-4272-9138-f99709370657
2010-06-12 11:16:23 +00:00
Jens Arnold
e53b7e3e43 Build iPod Color, iPod Mini 2nd Gen and Sansa c200 with EABI.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26814 a1c6a512-1295-4272-9138-f99709370657
2010-06-12 09:35:55 +00:00
Karl Kurbjun
0733405091 M:Robe 500 - Build with EABI.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26811 a1c6a512-1295-4272-9138-f99709370657
2010-06-12 06:18:12 +00:00
Michael Sevakis
96364b6dc0 Build H10 5/6GB with EABI toolchain.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26809 a1c6a512-1295-4272-9138-f99709370657
2010-06-11 23:40:25 +00:00
Andree Buschmann
a3f314bf16 Build iPod Video with EABI toolchain.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26802 a1c6a512-1295-4272-9138-f99709370657
2010-06-11 22:13:59 +00:00
Michael Sevakis
6c921f5e04 Build h10 GB with EABI toolchain. Remove some pointless ICODE attributes from mp3_enc.codec and, to make it build, move one function out of IRAM there since it really shouldn't matter.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26800 a1c6a512-1295-4272-9138-f99709370657
2010-06-11 21:21:36 +00:00
Thomas Martitz
1965745ad0 Build Sansa e200 with new eabi gcc.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26790 a1c6a512-1295-4272-9138-f99709370657
2010-06-11 19:36:17 +00:00
Michael Sevakis
db54033a15 Build Gigabeat F/X with EABI tools.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26787 a1c6a512-1295-4272-9138-f99709370657
2010-06-11 19:07:04 +00:00
Rafaël Carré
3fec40194c rockboxdev: patch eabi binutils to fix thumb interworking mixed with long calls
Thumb builds now boots fine on e200v1

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26784 a1c6a512-1295-4272-9138-f99709370657
2010-06-11 17:52:38 +00:00
Michael Sevakis
60f843bf18 Configure Gigabeat S with EABI compiler by default. Implement the INIT section that this enables (due to selective need for long calls). Remove pcm_postinit from INIT section since it's asynchronous. Disable strict aliasing on SPC codec for now just to shut it up.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26779 a1c6a512-1295-4272-9138-f99709370657
2010-06-11 14:39:35 +00:00
Rafaël Carré
ba6d1b66f0 Warn when building an ARM target with non-eabi default compiler
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26773 a1c6a512-1295-4272-9138-f99709370657
2010-06-11 12:16:19 +00:00
Rafaël Carré
b14c96df56 configure: don't use thumb on native builds (simulator/checkwps)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26772 a1c6a512-1295-4272-9138-f99709370657
2010-06-11 12:16:15 +00:00
Rafaël Carré
2da430bda1 Make --thumb the default for AMSv1 with 2MB of RAM
Add an option for explicitely disabling thumb build

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26770 a1c6a512-1295-4272-9138-f99709370657
2010-06-11 11:50:19 +00:00
Rafaël Carré
d9e4d6d889 Make EABI gcc the default for ARM platforms
Blacklist stable targets not tested enough and use the old gcc for these
Please test --eabi on these targets and remove them from the list when done

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26769 a1c6a512-1295-4272-9138-f99709370657
2010-06-11 11:43:45 +00:00
Rafaël Carré
5928862e61 make thumb build a configure option (--thumb)
Put the USE_THUMB define in extradefines (Makefile), not in autoconf.h

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26764 a1c6a512-1295-4272-9138-f99709370657
2010-06-11 11:19:00 +00:00
Rafaël Carré
675dcd1a9c FS#6734 by me: optionally build with -mthumb on ARM
You'll need a libgcc build with interworking enabled (our eabi gcc works)
Confirmed to work on Sansa AMS
Confirmed to boot on Gigabeat S
Not working on PP, linker generates invalid branches when mixing
ARM->thumb switches and long calls

Build time will be about 50% longer, because the gcc wrapper script
tries to build everything with -mthumb and falls back to default if it
fails (for example if the file uses inline ARM-only assembly)

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26760 a1c6a512-1295-4272-9138-f99709370657
2010-06-11 05:37:37 +00:00
Rafaël Carré
fe7ca44471 rockboxdev: build with -U_FORTIFY_SOURCE
It is needed on Ubuntu at least, else gcc fails to build

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26755 a1c6a512-1295-4272-9138-f99709370657
2010-06-11 03:54:54 +00:00
Rafaël Carré
2c29abdfde m200v4/clipv1/c200v2: build with -Os
The small speed decrease is worth the size saving on these players with
2MB of ram

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26735 a1c6a512-1295-4272-9138-f99709370657
2010-06-10 02:26:19 +00:00
Nils Wallménius
102540b14e The ifp isn't coldfire based, add some targets that are instead
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26616 a1c6a512-1295-4272-9138-f99709370657
2010-06-06 10:03:00 +00:00
Björn Stenberg
5e412b3757 Corrected the GMP & MPFR workaround.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26606 a1c6a512-1295-4272-9138-f99709370657
2010-06-06 00:27:52 +00:00
Björn Stenberg
46f267c0e1 makeinfo is required by recent binutils and gcc
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26605 a1c6a512-1295-4272-9138-f99709370657
2010-06-05 23:58:49 +00:00
Björn Stenberg
9f6ec43b32 Typo: We're using mipsel, not mips.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26601 a1c6a512-1295-4272-9138-f99709370657
2010-06-05 23:20:09 +00:00
Björn Stenberg
576b7068c1 Added GMP and MPFR workaround for EABI GCC.
Reorganized the structure to remove duplicated code and collect target specific data in one place.
Now installs all compilers to /usr/local/bin, removing the need to point out each compiler separately in PATH.
FS#11357


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26600 a1c6a512-1295-4272-9138-f99709370657
2010-06-05 23:05:07 +00:00
Thomas Martitz
efbc5df5f7 Look for CROSS_COMPILE when building the simulator.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26589 a1c6a512-1295-4272-9138-f99709370657
2010-06-05 17:09:04 +00:00
Dominik Riebeling
e49464b387 Improve error handling.
Add some more return checks and fix a memleak on error. Addresses warnings when
building with Rockbox Utility.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26569 a1c6a512-1295-4272-9138-f99709370657
2010-06-05 08:58:30 +00:00
Nils Wallménius
b91fa04250 Implement a --delete option for langtoo for easy deletion of lang phrases
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26556 a1c6a512-1295-4272-9138-f99709370657
2010-06-04 20:40:49 +00:00
Björn Stenberg
d5171cc225 Typo fix by Rafaël Carré
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26539 a1c6a512-1295-4272-9138-f99709370657
2010-06-04 06:39:28 +00:00
Rafaël Carré
2438d8b584 bins.pl script: don't hide errors, they might be useful
Don't use make -j as it uses an unlimited number of jobs and can
severely slow down machines and/or make the build fail if processes
can't be created

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26533 a1c6a512-1295-4272-9138-f99709370657
2010-06-03 21:13:36 +00:00
Frank Gevaerts
bf17fcb43e Fix voice and manual build scripts even more
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26531 a1c6a512-1295-4272-9138-f99709370657
2010-06-03 21:04:02 +00:00
Frank Gevaerts
211e54c27b Fix voice and manual build scripts
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26528 a1c6a512-1295-4272-9138-f99709370657
2010-06-03 20:56:24 +00:00
Frank Gevaerts
5a2d7549f0 Update version
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26524 a1c6a512-1295-4272-9138-f99709370657
2010-06-03 20:50:15 +00:00
Frank Gevaerts
8592924f9c Half-fix voice and manual build scripts
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26523 a1c6a512-1295-4272-9138-f99709370657
2010-06-03 20:50:07 +00:00
Jonathan Gordon
a5555c08fe copy the images for the skins.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26513 a1c6a512-1295-4272-9138-f99709370657
2010-06-03 13:59:32 +00:00
Jonathan Gordon
30804e5a3f almost finished... copy fonts, backdrops, icon files, skins. last thing to do is copy the images from inside the skins
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26511 a1c6a512-1295-4272-9138-f99709370657
2010-06-03 13:44:41 +00:00
Jonathan Gordon
d68710e9fc Add a new script to build the themes. WIP and heavily based on wpsbuild.pl
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26509 a1c6a512-1295-4272-9138-f99709370657
2010-06-03 12:18:20 +00:00
Jonathan Gordon
0dfd418b31 revert an accidental commit in r26078
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26458 a1c6a512-1295-4272-9138-f99709370657
2010-06-02 00:51:18 +00:00
Thomas Martitz
1dcc21d846 Upgrade the ARM eabi toolchain to gcc 4.4.4
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26366 a1c6a512-1295-4272-9138-f99709370657
2010-05-28 23:41:16 +00:00
Rafaël Carré
10dbaa24a7 genversion: generate version.c and version.h independantly
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26349 a1c6a512-1295-4272-9138-f99709370657
2010-05-28 04:07:57 +00:00
Rafaël Carré
00982d6621 mkinfo.pl: Run version.sh to generate version string
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26321 a1c6a512-1295-4272-9138-f99709370657
2010-05-27 09:58:07 +00:00
Rafaël Carré
5d236b2bfd Generate C file / header for svn version string
It's now easier to force rebuild of files depending on the svn revision

version.c/version.h are generated once with new tools/genversion.sh
Changes in the VCS are still not auto detected, so you'll have to remove
builddir/version.* if you want to change the string in your binaries

APPSVERSION is now called RBVERSION and is defined in the generated
header instead of being defined by the Makefiles
appsversion is now called rbversion (the plugin api number didn't change
since old modules are still binary compatible)

Change some bootloaders to use knwon-at-buildtime RBVERSION instead of
"%s" + rbversion

You'll need to run make clean to regenerate dependencies after the
removal of apps/version.h

To build binaries with a different version string, hand-edit
tools/version.sh or tools/genversion.sh (which calls the former)

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26320 a1c6a512-1295-4272-9138-f99709370657
2010-05-27 09:41:46 +00:00
Jeffrey Goode
9e28863669 lang.h voice comments were off by 1, fixed
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26296 a1c6a512-1295-4272-9138-f99709370657
2010-05-26 03:51:13 +00:00
Jeffrey Goode
fe0f5baa73 Fix crash in talk.c logf line when outputting voice only clips, more comments in lang.h
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26294 a1c6a512-1295-4272-9138-f99709370657
2010-05-26 03:11:00 +00:00
Magnus Holmgren
6688988ec4 Make 'make reconf' remember the use of --ccache and --no-ccache. Only works after the next configure run.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26252 a1c6a512-1295-4272-9138-f99709370657
2010-05-24 16:05:49 +00:00