Commit graph

608 commits

Author SHA1 Message Date
Teruaki Kawashima
572c6eeb29 fix --rbdir is ignored in configure
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28629 a1c6a512-1295-4272-9138-f99709370657
2010-11-21 14:31:19 +00:00
Thomas Martitz
9321ce3feb Fix path detection for app builds in configure and buildzip.pl.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28592 a1c6a512-1295-4272-9138-f99709370657
2010-11-14 15:29:11 +00:00
Robert Menes
934b4d4f61 Looks like HDD6330 plugins build green, so enable plugins.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28471 a1c6a512-1295-4272-9138-f99709370657
2010-11-03 03:36:30 +00:00
Robert Menes
4999100e21 It has been confirmed that the Philips GoGear HDD6330 does
indeed have 64MB of RAM. Build it as such again.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28451 a1c6a512-1295-4272-9138-f99709370657
2010-11-02 20:28:33 +00:00
Robert Menes
bd46d82bf6 Set the GoGear HDD6330 back to 32MB RAM again; 64MB causes
playback to crash.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28440 a1c6a512-1295-4272-9138-f99709370657
2010-11-01 22:11:56 +00:00
Teruaki Kawashima
900ec8d944 fix option handling in configure for application. also tries to "make reconf" work, but realpath reports error...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28280 a1c6a512-1295-4272-9138-f99709370657
2010-10-14 13:10:12 +00:00
Björn Stenberg
a8ed339ba5 Minor build script tweaks to make android auto-buildable.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28156 a1c6a512-1295-4272-9138-f99709370657
2010-09-24 12:03:15 +00:00
Marcin Bukat
2e9242e321 fix target name for MPIO HD200 in tools/configure
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28090 a1c6a512-1295-4272-9138-f99709370657
2010-09-15 09:05:47 +00:00
Rafaël Carré
c168d2317f FS#11611: Use -std=gnu99 to allow additional C99 features
example: for(int i=0; i<n; i++) ;
This should have no side effects

It was already used for android builds

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28021 a1c6a512-1295-4272-9138-f99709370657
2010-09-07 14:21:13 +00:00
Thomas Martitz
d7cfd76216 Check for presence of the sdk and ndk (the corresponding env variables to be exact) in configure.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28003 a1c6a512-1295-4272-9138-f99709370657
2010-09-06 11:30:24 +00:00
Frank Gevaerts
a1cf4ced83 Unify 32mb and 64mb ipod video builds - FS#11580
Since memory on 32mb ipod videos is mapped twice, a 64mb build still has codecs and plugins mapped in a usable area. This means that all that needs to be done to support 32mb and 64mb boards with the same build is to adjust audiobufend to avoid using more than the actually present RAM.



git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27960 a1c6a512-1295-4272-9138-f99709370657
2010-08-31 19:06:04 +00:00
Thomas Martitz
3478bc5d6d mips is predefined by gcc, but we want it for paths. Don't let others fall into this trap again. Use __mips instead
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27872 a1c6a512-1295-4272-9138-f99709370657
2010-08-24 13:41:45 +00:00
Jens Arnold
333c0cc6b0 Fix configure to always prepend a missing leading '/'. Also don't require perl regexp support as it's not necessary and not all grep installations support it.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27848 a1c6a512-1295-4272-9138-f99709370657
2010-08-20 20:07:50 +00:00
Rafaël Carré
3b0521a4f4 Typo
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27680 a1c6a512-1295-4272-9138-f99709370657
2010-08-03 17:44:41 +00:00
Rafaël Carré
79d5c0702b configure: fix LCD width/height dialog for android
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27678 a1c6a512-1295-4272-9138-f99709370657
2010-08-03 17:41:29 +00:00
Thomas Martitz
240923a801 Rockbox as an application: Commit current Android port progress.
General state is: Rockbox is usable (plays music, saves configuration, touchscreen works too).
Problems:
 - Playing music in the background (i.e. when switching to another app) doesn't work reliably, but I'm working on that now.
 - no cabbiev2 (only some preliminary files for it), no other default theme.
 - screen flickers sometimes if the updates are too frequent
 - no multi screen apk/package
 - strange behavior when a phone call comes in

The java files (and the eclipse project) resides in android/, which is also supposed to be the build folder.
I've put a small README in there for instructions. There are some steps needed after the make part, which are described there,
and which eclipse mostly handles. But there ought to be some script/makefile rules which do that instead in the future.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27668 a1c6a512-1295-4272-9138-f99709370657
2010-08-02 20:34:47 +00:00
Thomas Martitz
9c0b2479f7 Rockbox as an application: add get_user_file_path().
For RaaA it evaluates user paths at runtime. For everything but codecs/plugins it will give the path under $HOME/.config/rockbox.org if write access is needed or if the file/folder in question exists there (otherwise it gives /usr/local/share/rockbox).
This allows for installing themes under $HOME as well as having config.cfg and other important files there while installing the application (and default themes) under /usr/local.

On the DAPs it's a no-op, returing /.rockbox directly.

Not converted to use get_user_file_path() are plugins themselves, because RaaA doesn't build plugins yet.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27656 a1c6a512-1295-4272-9138-f99709370657
2010-08-01 16:15:27 +00:00
Nils Wallménius
1aaaa9e757 configure: print error when user selects invalid advanced options.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27640 a1c6a512-1295-4272-9138-f99709370657
2010-07-31 14:52:56 +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
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
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
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
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
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
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
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
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