Commit graph

1567 commits

Author SHA1 Message Date
Rafaël Carré
94eff1541d Fix win32 simulator builds (tested cross compilation from linux)
- windows linker doesn't support -z defs
- rename 'crosscompile' variable to 'win32crosscompile' to show its real meaning
- do not test which host we are running on if we are cross compiling for win32

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27283 a1c6a512-1295-4272-9138-f99709370657
2010-07-04 15:02:11 +00:00
Frank Gevaerts
b8286d45be Move -Wl,-z,defs to GLOBAL_LDOPTS (instead of GCCOPTS), to avoid noise in older gcc output when not linking
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27260 a1c6a512-1295-4272-9138-f99709370657
2010-07-03 20:58:22 +00:00
Rafaël Carré
12b89c11e3 Add -Wl,-z,defs to GCCOPTS
Running the linker with -z defs will error out if a shared library (such as a simulator codec/plugin) uses an undefined symbol

Replace a bunch of sed s,XX,YY, by s<XX<YY< because GCCOPTS will contain the ","
I chosed "<" because it's a weird character to be found in a PATH/option, but any character which wouldn't be present in XX or YY would do

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27256 a1c6a512-1295-4272-9138-f99709370657
2010-07-03 18:37:14 +00:00
Frank Gevaerts
40f33f0e30 Fix a problem where multigcc.pl sometimes produces lines like "sh-elf-gcc: no input files", especially on systems with many cores and for builds with (relatively) few files. This happened because the slice size was rounded up, which meant that in some cases there werere leftover slices.
Also remove the now unnecessary cores>files checking.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27196 a1c6a512-1295-4272-9138-f99709370657
2010-06-30 16:39:28 +00:00
Frank Gevaerts
94aa0d741e Change "features" and "genlang-features" targets to no longer use multiple targets in one rule.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27195 a1c6a512-1295-4272-9138-f99709370657
2010-06-30 16:29:55 +00:00
Bertrik Sikken
5565a28c7d Remove some redundant #include's
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27183 a1c6a512-1295-4272-9138-f99709370657
2010-06-29 20:13:22 +00:00
Tobias Diedrich
ac40959c48 Swap ccache and
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27147 a1c6a512-1295-4272-9138-f99709370657
2010-06-26 21:55:09 +00:00
Szymon Dziok
691d049177 fix typo in comment.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27125 a1c6a512-1295-4272-9138-f99709370657
2010-06-24 21:35:38 +00:00
Szymon Dziok
627e8fb10d Philips HDD6330: correct the number of memmory.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27124 a1c6a512-1295-4272-9138-f99709370657
2010-06-24 21:32:01 +00:00
Rafaël Carré
4bb6d4356c Build cowond2 with gcc-eabi
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27123 a1c6a512-1295-4272-9138-f99709370657
2010-06-24 21:27:16 +00:00
Szymon Dziok
273a2b8e2a Build PB Vibe 500 with EABI.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27120 a1c6a512-1295-4272-9138-f99709370657
2010-06-24 21:01:34 +00:00
Rafaël Carré
033634fc5c Simulator: explicitely link with libdl and libm
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27118 a1c6a512-1295-4272-9138-f99709370657
2010-06-24 20:58:07 +00:00
Björn Stenberg
936e673954 Moved libskin_parser to lib. Added it to link line.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27105 a1c6a512-1295-4272-9138-f99709370657
2010-06-24 11:47:37 +00:00
Thomas Martitz
f32bd593c4 Add an advanced build option to force compiling and linking our reduced C library (probably useful for the sim).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27059 a1c6a512-1295-4272-9138-f99709370657
2010-06-22 18:34:03 +00:00
Frank Gevaerts
2b0ef19900 Don't autogenerate version.c. Just version.h is enough
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27003 a1c6a512-1295-4272-9138-f99709370657
2010-06-21 00:18:29 +00:00
Frank Gevaerts
75de4a352e Fix genversion.sh file replacement logic
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26999 a1c6a512-1295-4272-9138-f99709370657
2010-06-20 23:50:03 +00:00
Karl Kurbjun
9b8659315e iPod Nano 1G - Build with EABI.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26975 a1c6a512-1295-4272-9138-f99709370657
2010-06-19 20:48:25 +00:00
Karl Kurbjun
4932362e11 iPod Mini 1G - Build with EABI.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26963 a1c6a512-1295-4272-9138-f99709370657
2010-06-19 20:35:58 +00:00
Rafaël Carré
8676723300 bininstall: works for PREFIX directories with spaces
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26961 a1c6a512-1295-4272-9138-f99709370657
2010-06-19 17:10:49 +00:00
Rafaël Carré
89eb19d30c make bininstall rule depend on the binary
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26959 a1c6a512-1295-4272-9138-f99709370657
2010-06-19 08:46:18 +00:00
Rafaël Carré
53367baedc new bininstall rule to install rockbox binary only
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26958 a1c6a512-1295-4272-9138-f99709370657
2010-06-19 08:43:53 +00:00
Rafaël Carré
23f1821419 don't parse features.txt when not needed
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26957 a1c6a512-1295-4272-9138-f99709370657
2010-06-19 08:43:49 +00:00
Rafaël Carré
1da9b71992 make clean: delete lib/ directory
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26955 a1c6a512-1295-4272-9138-f99709370657
2010-06-19 06:11:22 +00:00
Jens Arnold
fc2ff76647 Build iPod 1st/2nd Gen with EABI (main build and bootloader verified working).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26942 a1c6a512-1295-4272-9138-f99709370657
2010-06-18 22:38:11 +00:00
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