Commit graph

7 commits

Author SHA1 Message Date
Thomas Jarosch
121b26e62f perl magic: Use if/elsif/else instead of given/when (FS #12188)
Unbreaks the maemo build.

Patch by Nick Peskett with a small comment added
as suggested by Dominik Riebeling.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30323 a1c6a512-1295-4272-9138-f99709370657
2011-08-16 19:26:24 +00:00
Alex Parker
354d8fbc63 Commit FS#12188 - Fix perl scripts that used Switch by Sean Bartell.
Perl 5.14 removed Switch which means that Rockbox will no longer build
with the current release of Perl. The patch replaces Switch
with given/when which was introduced in Perl 5.10.0.

Debian stable has 5.10.1, cygwin 1.7 has 5.10.1 and Mac OSX 10.6 comes
with 5.10.0. I'm not sure what version older versions of OSX come with,
but newer versions are apparently available from Macports.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30169 a1c6a512-1295-4272-9138-f99709370657
2011-07-19 19:16:54 +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
Jens Arnold
be384e8451 Make multigcc.pl actually use more than one core on OS X and opensolaris.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25274 a1c6a512-1295-4272-9138-f99709370657
2010-03-21 14:35:03 +00:00
Björn Stenberg
ccbd73cd8d Fixed "gcc: no input files" message.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22482 a1c6a512-1295-4272-9138-f99709370657
2009-08-23 21:28:23 +00:00
Björn Stenberg
5c79e64c91 Fixed buggy array slicing.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22022 a1c6a512-1295-4272-9138-f99709370657
2009-07-24 22:50:16 +00:00
Björn Stenberg
4fc00222cb Dependency generation now uses all cores on multi-core machines.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22021 a1c6a512-1295-4272-9138-f99709370657
2009-07-24 21:53:32 +00:00