Commit graph

1627 commits

Author SHA1 Message Date
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