summaryrefslogtreecommitdiff
path: root/tools/rockboxdev.sh
AgeCommit message (Collapse)Author
2014-07-30Make crosstool-ng build with gnu make 4.0Frank Gevaerts
Change-Id: Id3a5a310e6fa53e690c92f420994875cb1bfff43
2013-10-20Switch back to kernel.org.Frank Gevaerts
kernel.org is back, and nic.funet.fi is being difficult, so it's time to switch back. Change-Id: If981dedd0cb7bb64de7563de6657f63ebb931a6f
2013-10-19Include 60s timeout for wget commands in rockboxdev.shMichael Rodger
Added a 60s timeout to the script to avoid having to wait for ages when a download stalls. Change-Id: I97f0aafe4eac0fb3cfc83805c99d19f1ef02b9f9 Reviewed-on: http://gerrit.rockbox.org/636 Reviewed-by: Kevin Zheng <kevinz5000@gmail.com> Tested-by: Michael Rodger <rockbox@atinyhedgehog.za.net> Reviewed-by: Amaury Pouly <amaury.pouly@gmail.com>
2013-06-15Fix building of sh, arm and m68k toolchains with new texinfoNils Wallménius
Recent versions of texinfo breaks various binutils and GCC builds. For GCC setting MAKEINFO=missing at configure time works but not for binutils where patches are used to fix parsing errors. This also makes rockboxdev.sh handle applying multiple patches. Change-Id: Ia8e6dc7662ab725490e4b4428676d235f0bd38bb Reviewed-on: http://gerrit.rockbox.org/471 Reviewed-by: Nils Wallménius <nils@rockbox.org>
2012-10-24Revert "SH gcc 4.6.3 with link-time optimization, for Archos targets"Marcin Bukat
This was commited by accident, sorry.
2012-10-24SH gcc 4.6.3 with link-time optimization, for Archos targetsBoris Gjenero
This is work from FS#12431 synced to current HEAD and slightly tweaked (gcc 4.6.2 -> 4.6.3, binutils 2.21.1 -> 2.22) Change-Id: I76af91e80ac2a9c16a776c7f0a33cc51603bbf9b
2012-05-19more tools checks to be done before starting toolchain buildsPeter D'Hoye
2012-05-19add aditional required tools to the checkPeter D'Hoye
2012-03-04Disable built-in make rules for binutils 2.16.1.Dominik Riebeling
If make provides a built-in rule for .m files (seen on Fedora 16, reported on the net for OS X) it breaks binutils 2.16.1. Disable built-in rules to avoid this. Change-Id: I2e76c52661e47edf81706ed5c8c30f5e6cab8546
2011-12-24Remove bash-specific syntax from rockboxdev.shThomas Martitz
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31422 a1c6a512-1295-4272-9138-f99709370657
2011-12-23Actually call ct-ng (i.e. fix left-over from testing).Thomas Martitz
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31413 a1c6a512-1295-4272-9138-f99709370657
2011-12-23Add crosstool-NG build to rockboxdev.sh.Thomas Martitz
rockboxdev.sh can now build toolchains using ct-ng (and build ct-ng before if required). It downloads the appropriate config for ct-ng and lets it do its job. Used for the upcoming YP-R0 target, which requires a full toolchain including libc. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31412 a1c6a512-1295-4272-9138-f99709370657
2011-12-19I think 'e' for arm (rather than 'a') is a typoNick Peskett
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31362 a1c6a512-1295-4272-9138-f99709370657
2011-12-19Remove deprecated arm toolchain from rockboxdev.sh. Replace with arm-eabi.Thomas Martitz
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31361 a1c6a512-1295-4272-9138-f99709370657
2011-09-27sunet mirror was bad. let's try funet.Björn Stenberg
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30612 a1c6a512-1295-4272-9138-f99709370657
2011-09-26Use another GNU mirror while kernel.org is down.Björn Stenberg
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30605 a1c6a512-1295-4272-9138-f99709370657
2011-05-27FS#12121 by Sean Bartell, disables -Werror on binutils builds to fix them ↵Nils Wallménius
when using gcc 4.6. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29928 a1c6a512-1295-4272-9138-f99709370657
2011-01-13Make m68k-elf 4.5.2 toolchain build on OS X 10.6.Dominik Riebeling
OS X requires slightly different compiler options due to functions deprecated in 10.6 (as done in r28179 for arm-eabi-elf). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29051 a1c6a512-1295-4272-9138-f99709370657
2011-01-12rockboxdev.sh: coldfire toolchain upgrade, now using gcc 4.5.2 and binutils ↵Nils Wallménius
2.20.1. The configure switch will come as soon as a few buildclients are updated. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29039 a1c6a512-1295-4272-9138-f99709370657
2011-01-10rockboxdev.sh: switch back to using the kernel.org mirrors as the gnu.org ↵Nils Wallménius
mirrors were unreliable and inconsistent. Hardcode the mpc url as mpc is not on the kernel.org mirrors. Sorry for the noise. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29024 a1c6a512-1295-4272-9138-f99709370657
2011-01-06rockboxdev.sh: Hardcode gcc mirror for now as the gnu mirrors have a ↵Nils Wallménius
different dir layout and are missing the infrastructure dir which was the whole reason for the switch. Fix spurious trailing slash git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28981 a1c6a512-1295-4272-9138-f99709370657
2011-01-06rockboxdev.sh:Nils Wallménius
Prepare for compiler upgrade by adding support for building the mpc lib that gcc 4.5 needs. Switch mirror so that we can use the "infrastructure" dir set up with all the libs gcc depends on in the correct versions. Use these versions (meaning 4.3.2 of gmp is used instead of 5.0.1 now but should be functionally equivalent). Fix a small typo while at it. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28974 a1c6a512-1295-4272-9138-f99709370657
2010-10-19rockboxdev.sh: Fix build failure on cygwin by not trying to remove the ↵Torne Wuff
current directory On Windows you can't delete a directory that's in use, so deleting $builddir while inside it fails. The script now leaves the individual tool build directory then just deletes that (and the corresponding source) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28314 a1c6a512-1295-4272-9138-f99709370657
2010-09-27Make eabi toolchain build on OS X 10.6.Dominik Riebeling
OS X requires slightly different compiler options due to functions deprecated in 10.6 (FS#11643). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28179 a1c6a512-1295-4272-9138-f99709370657
2010-07-10Add missing quote, and use the right wordFrank Gevaerts
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27376 a1c6a512-1295-4272-9138-f99709370657
2010-07-10Update the text in rockboxdev.sh to make it clear that EABI should be used ↵Michael Giacomelli
on ARM git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27374 a1c6a512-1295-4272-9138-f99709370657
2010-06-12Don't explicitly set -j for make. Inform the user that he can set MAKEFLAGS ↵Jonas Häggqvist
instead. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26822 a1c6a512-1295-4272-9138-f99709370657
2010-06-11rockboxdev: patch eabi binutils to fix thumb interworking mixed with long callsRafaël Carré
Thumb builds now boots fine on e200v1 git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26784 a1c6a512-1295-4272-9138-f99709370657
2010-06-11rockboxdev: build with -U_FORTIFY_SOURCERafaël Carré
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-06The ifp isn't coldfire based, add some targets that are insteadNils Wallménius
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26616 a1c6a512-1295-4272-9138-f99709370657
2010-06-06Corrected the GMP & MPFR workaround.Björn Stenberg
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26606 a1c6a512-1295-4272-9138-f99709370657
2010-06-05makeinfo is required by recent binutils and gccBjörn Stenberg
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26605 a1c6a512-1295-4272-9138-f99709370657
2010-06-05Typo: We're using mipsel, not mips.Björn Stenberg
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26601 a1c6a512-1295-4272-9138-f99709370657
2010-06-05Added GMP and MPFR workaround for EABI GCC.Björn Stenberg
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-02revert an accidental commit in r26078Jonathan Gordon
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26458 a1c6a512-1295-4272-9138-f99709370657
2010-05-28Upgrade the ARM eabi toolchain to gcc 4.4.4Thomas Martitz
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26366 a1c6a512-1295-4272-9138-f99709370657
2010-05-16FS#11263 - Radio Art support! %C and %Cl tags work in the radio screen and ↵Jonathan Gordon
Base Skin when the radio is running. put your station images in .rockbox/fmpresets/<preset name>.bmp or .jpg. Must be in preset mode and the preset name must match the filename git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26078 a1c6a512-1295-4272-9138-f99709370657
2010-03-08Update rockboxdev.sh/configure for arm-elf-eabi-gcc 4.4.3 and binutils 2.20.1.Thomas Martitz
Additional slight change to rockboxdev.sh: strip the gcc folder from the patch paths (which contains the version), so that patches aren't strictly dependant on the gcc version. Add a sanity check for the case the patch fails to apply. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25070 a1c6a512-1295-4272-9138-f99709370657
2010-03-07rockbox.dev.shJens Arnold
- recognise SunOS (OpenSolaris), and apply m68k patch on it - report unknown host system and state that necessity of the m68k patch needs checking - don't assume 'tar' being GNU tar - call bunzip2 explicitly This allows building ARM, m68k and MIPS toolchains on OpenSolaris. SH1 has further problems which probably require a gcc patch. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25066 a1c6a512-1295-4272-9138-f99709370657
2009-11-20Add arm-elf-eabi target to rockboxdev.sh, selected with "e".Andrew Mahone
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23676 a1c6a512-1295-4272-9138-f99709370657
2009-07-20Add quotes around the name of any missing tools (patch, make etc) to help ↵Dave Chapman
clarify the error message git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21983 a1c6a512-1295-4272-9138-f99709370657
2009-07-13FS#10436 - add the Sansa View to the build system. The bootloader builds ↵Robert Keevil
but doesn't do anything useful yet. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21848 a1c6a512-1295-4272-9138-f99709370657
2009-05-10Revert r20704 and only use the -r option when compiling binutils. This is ↵Dave Chapman
good enough to fix compilation of the toolchains on OSX, but doesn't break compiling the m68k gcc, which makes use of built-ins and hence doesn't work with -r. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20899 a1c6a512-1295-4272-9138-f99709370657
2009-04-13Commit FS#10108 by myself: use the -r option for gmake and make when ↵Robert Menes
building the Rockbox dev environment. This was needed for Mac OS X especially; the -r option makes gmake and make ignore their own rules and use the rules set by rockboxdev.sh; thanks to Dave Chapman for the idea. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20704 a1c6a512-1295-4272-9138-f99709370657
2009-04-10Make rockboxdev.sh building multiple targets in a run work again by not ↵Thomas Martitz
complaining if build dir exists. Small other fixes too, like for clearing the build folders or showing the summaries. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20677 a1c6a512-1295-4272-9138-f99709370657
2009-03-17When rockboxdev.sh temporarily adds $bindir to the PATH (so the gcc build ↵Dave Chapman
can find the matching binutils), put it at the start, just in case the user has an old (and incompatible) target-binutils around. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20346 a1c6a512-1295-4272-9138-f99709370657
2009-03-12Oops, I cut&pasted a bit too much.Thomas Martitz
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20305 a1c6a512-1295-4272-9138-f99709370657
2009-03-12rockboxdev.sh: Fix summary (it ended up in the wrong path after my previous ↵Thomas Martitz
commit to this file) Also, check if the prefix dir exists before checking write permissions to avoid confusing error messages. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20303 a1c6a512-1295-4272-9138-f99709370657
2009-02-24Rearrange a bit, so that it checks for the build dir after downloading, ↵Thomas Martitz
makes it a bit more obvious that redownloading isn't needed, but only deletion of the build dir. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20099 a1c6a512-1295-4272-9138-f99709370657
2009-01-08rockboxdev.sh now respects the environment variables RBDEV_DOWNLOAD, ↵Jonas Häggqvist
RBDEV_PREFIX and RBDEV_BUILD to enable setting download, install and build directories without editing the script. FS#9657 by Eric Shattow. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19725 a1c6a512-1295-4272-9138-f99709370657