Commit graph

1585 commits

Author SHA1 Message Date
Rafaël Carré
2e73e5fdcb database: fix include dirs
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27552 a1c6a512-1295-4272-9138-f99709370657
2010-07-25 15:22:52 +00:00
Rafaël Carré
a2029a7bee Revert r27550 : we don't want to generate dependancies for firmware/
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27551 a1c6a512-1295-4272-9138-f99709370657
2010-07-25 15:22:47 +00:00
Rafaël Carré
f1140dcdfa include firmware.make unconditionally
checkwps and database tools need to find their way to our headers

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27550 a1c6a512-1295-4272-9138-f99709370657
2010-07-25 15:07:20 +00:00
Thomas Martitz
67d61f2ba9 $rbdir => $temp_dir where appropriate, shadowing $rbdir with the temp dir broke wpsbuild.pl (for rbdir != ".rockbox")
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27545 a1c6a512-1295-4272-9138-f99709370657
2010-07-25 13:44:30 +00:00
Alexander Levin
5f6e43d15b More explanation to the convbdf options
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27510 a1c6a512-1295-4272-9138-f99709370657
2010-07-21 19:33:16 +00:00
Thomas Martitz
19a21a22c9 Oops, remove leftovers
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27409 a1c6a512-1295-4272-9138-f99709370657
2010-07-13 14:53:10 +00:00
Thomas Martitz
3de1ab6b95 Remove forgotten lines and add a commit regarding app builds
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27408 a1c6a512-1295-4272-9138-f99709370657
2010-07-13 14:49:01 +00:00
Thomas Martitz
35ac40712b Fix up buildzip.pl
Now it can install RaaA properly into /usr/local/{bin,lib,share} (incompatible with RaaA in svn, because it needs fixing to work with these dirs).
make install for sim and target builds is also cleaned up a bit.
Additionally, use the install tool for install make targets, it has some advantages over cp.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27407 a1c6a512-1295-4272-9138-f99709370657
2010-07-13 14:17:52 +00:00
Frank Gevaerts
d298fa857e Add missing quote, and use the right word
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27376 a1c6a512-1295-4272-9138-f99709370657
2010-07-10 20:17:26 +00:00
Michael Giacomelli
6206f4083f Update the text in rockboxdev.sh to make it clear that EABI should be used on ARM
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27374 a1c6a512-1295-4272-9138-f99709370657
2010-07-10 15:52:53 +00:00
Thomas Martitz
463be793c6 Revert accidental change (I ran configure from within the tools/database directory).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27373 a1c6a512-1295-4272-9138-f99709370657
2010-07-10 14:25:45 +00:00
Thomas Martitz
57613ea5fa Rename/change SIMVER to APP_TYPE in the Makefiles.
SIMVER was really only used to detect a simulator build. With APP_TYPE you can
now differentiate between simulator, application, checkwps and database builds.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27372 a1c6a512-1295-4272-9138-f99709370657
2010-07-10 13:49:49 +00:00
Rafaël Carré
f746302ec3 configure: build ipod4g with eabi
EABI is now the default for all targets, but --no-eabi is still
available for testing purposes

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27361 a1c6a512-1295-4272-9138-f99709370657
2010-07-09 19:45:57 +00:00
Rafaël Carré
80fa0efd1f buildzip.pl: more fixes
- cygwin's abs_path() can't operate on non existing path, so only
  evaluate abs_path("$install/something") if $install is set. (apply
  r27137 again)
- don't set $install to 0 since it's meant to be a string
- create the install prefix with mkdir -p before installing

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27341 a1c6a512-1295-4272-9138-f99709370657
2010-07-07 20:31:34 +00:00
Rafaël Carré
f984a65554 buildzip.pl: fix r27310 and r27317
perl string comparison operator is 'eq', not '=='
$install needs to be concatenated to $rbdir for comparsion

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27340 a1c6a512-1295-4272-9138-f99709370657
2010-07-07 18:30:17 +00:00
Magnus Holmgren
5de6ddcaa1 Add a check for '' not being set. make zip doesn't work for me without it. Perhaps only a problem on Cygwin?
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27317 a1c6a512-1295-4272-9138-f99709370657
2010-07-06 18:15:13 +00:00
Thomas Martitz
31b5c471ae Rockbox as an application: Add an 320x240 SDL application target.
It still works mostly like the simulator. There's also some minor left overs from the sim, but it does not define SIMULATOR.
It installs into the current (build) dir, and you need to run it with '--root .' (because it looks for ./.rockbox and not ./simdisk/rockbox) as options. That's one of the few kludges left that should be resolved soon'ish.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27310 a1c6a512-1295-4272-9138-f99709370657
2010-07-06 15:11:56 +00:00
Thomas Martitz
1c3ae92815 Add --prefix option to configure, and add it to make reconf.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27308 a1c6a512-1295-4272-9138-f99709370657
2010-07-06 15:06:06 +00:00
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