Commit graph

1771 commits

Author SHA1 Message Date
Dave Chapman
b27de9fddc Remove unused variable "need_full_path" - it was removed in r28592
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29287 a1c6a512-1295-4272-9138-f99709370657
2011-02-12 00:37:22 +00:00
Dave Chapman
9e638c7bc8 FS#11924 - Use separate targets for RaaA devices. This changes tools/configure to present the (currently four) possible RaaA targets as separate menu items instead of a single "Application" item with a follow-up question.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29286 a1c6a512-1295-4272-9138-f99709370657
2011-02-11 19:51:29 +00:00
Dave Chapman
eaeff26349 Fix a duplicate target_id
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29255 a1c6a512-1295-4272-9138-f99709370657
2011-02-08 22:07:47 +00:00
Thomas Jarosch
5f037ac015 Initial maemo platform support
Adds Nokia N900, N810 and N800 support.

Features:
- Introduce maemo specific platform defines
- Play audio in silent mode
- Stop playback on incoming calls
- Battery level readout
- Bluetooth headset support
- Save CPU by disabling screen updates if the display
  is off or the app doesn't have input focus
- N900: GStreamer audio backend

Kudos to kugel for the code review.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29248 a1c6a512-1295-4272-9138-f99709370657
2011-02-08 20:05:25 +00:00
Andree Buschmann
5d849a963e Clean up multiple definitions of RAM size. Remove -DMEM (make) and MEM (code), use the already defined MEMORYSIZE instead.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29189 a1c6a512-1295-4272-9138-f99709370657
2011-02-02 17:43:32 +00:00
Michael Sevakis
166c8bf46f Get SA9200 to show on the downloads page.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29143 a1c6a512-1295-4272-9138-f99709370657
2011-01-26 18:10:42 +00:00
Antoine Cellerier
a448d8bac7 Android build tweaks.
Add make install target for android builds.
Remove standard install targets as they don't apply.
Add java compilation dependancy on generated resource class(es?) to prevent weird runtime issues.
Update installApk.sh script to use correct tool location in recent sdks.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29131 a1c6a512-1295-4272-9138-f99709370657
2011-01-24 17:06:04 +00:00
Dominik Riebeling
4f787ba7dc Fix configure using the correct compiler for Android on Mac.
On Mac the folder holding the prebuilt compiler is darwin-x86, not linux-x86.
The extension of PATH to hold the compiler path below ANDROID_NDK_PATH needs to
be present when findtool searches for the compiler, so applying it to the
prefixtool call is not sufficient. OS X has a different behaviour to Linux
which keeps the set value even if it's applied to the prefixtool call only.
Might be caused by OS X coming with an older version of bash.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29125 a1c6a512-1295-4272-9138-f99709370657
2011-01-23 22:09:44 +00:00
Dominik Riebeling
37feed5287 Make m68k-elf 4.5.2 toolchain build on OS X 10.6.
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-13 20:12:36 +00:00
Nils Wallménius
c8535f27d1 Switch coldfire builds over to new toolchain using gcc 4.5.2 and binutils 2.20.1
Retune codec compiler optimizations with new compiler. Overall speedup with aac and flac getting big speedups.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29042 a1c6a512-1295-4272-9138-f99709370657
2011-01-12 22:28:43 +00:00
Nils Wallménius
4ca7c9c2c6 rockboxdev.sh: coldfire toolchain upgrade, now using gcc 4.5.2 and binutils 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-12 21:39:02 +00:00
Nils Wallménius
a335afadaa rockboxdev.sh: switch back to using the kernel.org mirrors as the gnu.org 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-10 19:13:33 +00:00
Michael Sevakis
67ae5cce2e SA9200: Make plugins. Cheat a little just to get things to make at first by using some artwork for 128x128 screen.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29016 a1c6a512-1295-4272-9138-f99709370657
2011-01-09 21:42:25 +00:00
Nils Wallménius
daa3c36248 rockboxdev.sh: Hardcode gcc mirror for now as the gnu mirrors have a 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-06 23:51:15 +00:00
Nils Wallménius
50b151adcb rockboxdev.sh:
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
2011-01-06 14:56:36 +00:00
Michael Sparmann
152847977a New port: iPod Classic (also known as iPod 6G/6.5G/7G)
Major known issues:
- No bootloader yet
- No support for the first-generation 160GB CE-ATA hard disk drive yet
- Audio playback is slow, only FLAC seems to reach realtime


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28953 a1c6a512-1295-4272-9138-f99709370657
2011-01-02 23:16:27 +00:00
Michael Stummvoll
1f06ca41e8 Added the symlinkinstall make target. See #11825
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28915 a1c6a512-1295-4272-9138-f99709370657
2010-12-28 10:30:46 +00:00
Thomas Martitz
0bf1bd1d51 Redo r28026 so that all .S files get the __ASSEMBLER__ define.
Patch by Thomas Jarosch.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28913 a1c6a512-1295-4272-9138-f99709370657
2010-12-27 17:27:59 +00:00
Marcin Bukat
d008003285 change MPIO HD300 status in builds.pm
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28905 a1c6a512-1295-4272-9138-f99709370657
2010-12-26 22:31:42 +00:00
Dominik Riebeling
e1b1183f40 Tweak Makefiles a bit to allow cross compiling Rockbox Utility.
- pass AR to the lib Makefiles to make sure the correct one gets used.
- create an archive index for archives.
- simplify ucl Makefile a bit.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28883 a1c6a512-1295-4272-9138-f99709370657
2010-12-23 18:59:58 +00:00
Teruaki Kawashima
b03b891ab9 fix that make install fails on Cygwin.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28848 a1c6a512-1295-4272-9138-f99709370657
2010-12-17 11:41:43 +00:00
Thomas Martitz
13601883d5 Correct two problems slipped in with r28753. Thanks Teru for spotting.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28757 a1c6a512-1295-4272-9138-f99709370657
2010-12-07 13:24:41 +00:00
Thomas Martitz
afea8a5b7c Upgrade ndk requirement to r5 (it ships a better compiler) and cleanup configure accordingly.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28755 a1c6a512-1295-4272-9138-f99709370657
2010-12-06 22:28:22 +00:00
Thomas Martitz
7a9fd0baae Fix configure and lib path
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28753 a1c6a512-1295-4272-9138-f99709370657
2010-12-06 22:28:14 +00:00
Thomas Martitz
921ac8d6dd Change the gcc options for sdl builds to allow for gnu99 features, it needs some fixes in other places. Fixes test_mem compilation failure on cygwin.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28723 a1c6a512-1295-4272-9138-f99709370657
2010-12-02 21:20:30 +00:00
Szymon Dziok
589d2110dc HDD6330: implement block transfers through the LCD2 bridge in lcd_update_rect(), speedup is huge, fps over 4 times faster.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28722 a1c6a512-1295-4272-9138-f99709370657
2010-12-02 20:35:25 +00:00
Marcin Bukat
dd61702fb0 HD300 - plugins keymaps
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28712 a1c6a512-1295-4272-9138-f99709370657
2010-11-30 10:52:14 +00:00
Marcin Bukat
abc34aa971 Add HD300 to builds.pm
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28702 a1c6a512-1295-4272-9138-f99709370657
2010-11-29 09:33:26 +00:00
Marcin Bukat
9a24892e2e MPIO HD300 - initial commit
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28680 a1c6a512-1295-4272-9138-f99709370657
2010-11-26 23:28:08 +00:00
Björn Stenberg
608bc4ed4b Latest release is 3.7.1
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28678 a1c6a512-1295-4272-9138-f99709370657
2010-11-26 19:59:34 +00:00
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
Teruaki Kawashima
e5b1a7d423 FS#6321: Universal Image Viewer
This unifies jpeg viewer, png viewer, and bmp viewer to one plugin, image viewer, so that you can navigate through different image formats.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28626 a1c6a512-1295-4272-9138-f99709370657
2010-11-21 13:47:56 +00:00
Nils Wallménius
bd2011bc6a Remove old Makefile for the database tool as it isn't working anymore and the database tool is built with a configure generated Makefile these days.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28611 a1c6a512-1295-4272-9138-f99709370657
2010-11-17 09:35:16 +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
d249b46c84 Reflect the Philips GoGear HDD63x0 series as being Unstable
and make the builds available for download.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28477 a1c6a512-1295-4272-9138-f99709370657
2010-11-03 14:38:20 +00:00
Jonathan Gordon
f6cf295dd3 Fix a bug introduced with r28370 (feature check tag improvements) where %Rp<foo> would fail to parse if the target had recording. Also enable debugging in the checkwps build line
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28473 a1c6a512-1295-4272-9138-f99709370657
2010-11-03 11:08:55 +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
Daniel Stenberg
a6db826982 fix: correct the perl syntax error
and I indented the lines like the others while at it


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28461 a1c6a512-1295-4272-9138-f99709370657
2010-11-02 21:58:19 +00:00
Robert Menes
e68844a7b7 Making sure that the HDD16x0 series is correctly reflected
as Unstable. Also added the GoGear HDD6330 as Unusable for now.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28460 a1c6a512-1295-4272-9138-f99709370657
2010-11-02 21:46:59 +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
Marcin Bukat
308936cd35 fix make VERSION=x.y to work again
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28427 a1c6a512-1295-4272-9138-f99709370657
2010-10-31 21:52:48 +00:00
Alex Parker
e23075bc55 *Bump version to 3.7
*Promote iPod Nano 2G to stable
*Remove iPod Video 64 MB build
*Rename unified iPod Video build to "iPod Video"

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28401 a1c6a512-1295-4272-9138-f99709370657
2010-10-30 21:50:20 +00:00
Thomas Martitz
5ee1c40f39 Promote Sansa Fuzev2, Clipv2 and Clip+ to stable.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28394 a1c6a512-1295-4272-9138-f99709370657
2010-10-30 13:55:20 +00:00
Torne Wuff
a02fada130 rockboxdev.sh: Fix build failure on cygwin by not trying to remove the 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-10-19 21:31:35 +00:00
Frank Gevaerts
f1fd60288f checkwps: properly zero the wps struct to avoid interesting issues
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28308 a1c6a512-1295-4272-9138-f99709370657
2010-10-18 21:46:51 +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
Michael Chicoine
1682f3c664 Do not build remote failsafe skin files for devices without remote
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28277 a1c6a512-1295-4272-9138-f99709370657
2010-10-13 23:10:22 +00:00
Jonathan Gordon
4c385e6cb3 Add a simple script to try to run configure with the correct target name/type based on the build directory name.
~/rockbox/.../e200  -> e200, normal
~/rockbox/.../e200-sim -> e200, sim build
~/rockbox/.../sim/e200 -> e200, sim build
replace sim with "boot" for bootloader, falls back on normal if neither is given.

Run this from inside the build dir just like you would tools/configure

using the full shortname guarentees the correct match, as above e200 will work for sansae200.... asks for confirmation before doing anything.
Add your folder structure if this doesnt work for your way of doing things

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28180 a1c6a512-1295-4272-9138-f99709370657
2010-09-28 13:44:56 +00:00
Dominik Riebeling
7b52f97912 Make eabi toolchain build on OS X 10.6.
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-09-27 20:42:30 +00:00
Thomas Martitz
43cdfdefbb Android: Exclude the main binary from make zip.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28169 a1c6a512-1295-4272-9138-f99709370657
2010-09-26 10:32:43 +00:00
Teruaki Kawashima
3c11c56dc4 fix FS#11596. make "make install" use rbdir. copy image file correctly.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28160 a1c6a512-1295-4272-9138-f99709370657
2010-09-25 14:47:11 +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
Marcin Bukat
e0803381a4 Fix malformed name in builds.pm for MPIO HD200 (thx to Zagor)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28088 a1c6a512-1295-4272-9138-f99709370657
2010-09-15 08:34:48 +00:00
Jonathan Gordon
9928e3418f Another major skin backend update/hopefully bugfix:
Skins are now more self contained in the skin manager which in the future might allow on demand skin loading (i.e smaller skin buffers)
Skin backdrops are also managed more intelegently (fixes a bug where you can get a crazy backdrop loaded if a .sbs fails to load)

the rockbox_default rescue theme is now called rockbox_failsafe to better express what it actually is.

This commit hopefully/maybe fixes the heavily reported data aborts, so please check if you are getting them

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28073 a1c6a512-1295-4272-9138-f99709370657
2010-09-14 11:56:50 +00:00
Thomas Martitz
a994401294 Extend make clean for android zu also cleanup the compiled java classes and apks (and everything else generated during build process).
This also seems to fix a problem with make apk on some machines. Thanks to Dustin Skoracki for helping to investigate.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28062 a1c6a512-1295-4272-9138-f99709370657
2010-09-12 16:35:02 +00:00
Thomas Martitz
ded525e466 Revert r27972 to fix FS#11610 (but in a way android builds still work).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28050 a1c6a512-1295-4272-9138-f99709370657
2010-09-08 21:26:36 +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
Rafaël Carré
829ddaab0f Clipv1: stable status
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28014 a1c6a512-1295-4272-9138-f99709370657
2010-09-06 18:48:04 +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
Dominik Riebeling
d71d537b17 Don't search for libspeex on Windows and Mac.
Make sure to not try to dynamically link libspeex on Mac, since it's not a
standard library, and application bundles aren't statically linked anyway.
Remove looking up libspeex on Windows since it's not a standard library there
either. Don't search for libspeex multiple times but instead pass it to the
librbspeex Makefile.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27999 a1c6a512-1295-4272-9138-f99709370657
2010-09-05 10:27:39 +00:00
Thomas Martitz
f8381d9c39 Android: don't compile stubs.c and kill off libuisimulator entirely.
Seperate make rules in a almost empty android.make.
Also add forgotten powermgmt-android.c

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27977 a1c6a512-1295-4272-9138-f99709370657
2010-09-02 00:24:40 +00:00
Thomas Martitz
a4264eb89a Redo previous commit to not break android builds.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27972 a1c6a512-1295-4272-9138-f99709370657
2010-09-01 22:06:03 +00:00
Thomas Martitz
4ada1ee44e Fix database
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27971 a1c6a512-1295-4272-9138-f99709370657
2010-09-01 21:58:00 +00:00
Michael Chicoine
ff8089789b Remove ram entries for ipodvideo* as they are no longer needed and cause problems with tools/release/sims.pl
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27964 a1c6a512-1295-4272-9138-f99709370657
2010-09-01 12:33:16 +00:00
Michael Chicoine
eb39236ff7 Sansa c200v2 is now unstable and no longer needs special consideration for sim builds
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27961 a1c6a512-1295-4272-9138-f99709370657
2010-08-31 23:31:58 +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
Magnus Holmgren
47c510b9dc As of r27902, codecs and plugins need to be marked as executable to work in the UI simulator on Windows.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27936 a1c6a512-1295-4272-9138-f99709370657
2010-08-29 12:29:34 +00:00
Rafaël Carré
db81bc0f16 FS#11506 : python script to generate .talk clips
Author : Daniel Dalton

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27914 a1c6a512-1295-4272-9138-f99709370657
2010-08-28 11:00:32 +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
Thomas Martitz
46454ac2a8 Move setjmp to lib and add setjmp for sh (imported from newlib) and compile it as separate library.
It's used by both, plugins and codecs, and sh/hwcodec doesn't compile codecs
so it doesn't fit into sources.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27869 a1c6a512-1295-4272-9138-f99709370657
2010-08-24 12:38:42 +00:00
Rafaël Carré
27c509fc55 makefiles
- some functions don't need to return their output, drop $(shell ... )
and prefix with $(SILENT), make V=1 will show the complete scripts being
run

- tweak make.dep generation: make the temporary file appear in root.make
  only, and remove a useless "real command", there is already a real
  command (mv)

- make addtargetdir.pl terminate its output with a newline ($(shell) did
  that for us)

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27855 a1c6a512-1295-4272-9138-f99709370657
2010-08-21 18:07:12 +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
Jonathan Gordon
2e0217774f try again
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27770 a1c6a512-1295-4272-9138-f99709370657
2010-08-10 14:32:08 +00:00
Jonathan Gordon
dbf44a6a4d fid red/yellow... does database really need to compile all of misc.c?
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27769 a1c6a512-1295-4272-9138-f99709370657
2010-08-10 14:26:53 +00:00
Marcin Bukat
33a5f1a2bb Mark MPIO HD200 as unstable in tools/builds.pm
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27756 a1c6a512-1295-4272-9138-f99709370657
2010-08-08 18:22:44 +00:00
Michael Chicoine
c6bcd91e6c Fix message output for make install and make fullinstall
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27749 a1c6a512-1295-4272-9138-f99709370657
2010-08-08 00:03:08 +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
Jonathan Gordon
1e0a01063d make -vvv display the parse tree in checkwps. Fix a potential bug in the parser where recursive tags (the playlist viewier) would share params with its parant which meant bad things
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27677 a1c6a512-1295-4272-9138-f99709370657
2010-08-03 12:14:50 +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
Rafaël Carré
5848f5f724 c200v2: mark as unstable
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27622 a1c6a512-1295-4272-9138-f99709370657
2010-07-29 23:37:07 +00:00
Jonathan Gordon
2d31d77a8b FS#11470 - new skin code, finally svn uses the new parser from the theme editor. This means that a skin that passes the editor WILL pass svn and checkwps (unless the target runs out of skin buffer or something.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27613 a1c6a512-1295-4272-9138-f99709370657
2010-07-29 12:37:48 +00:00
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
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