Commit graph

70 commits

Author SHA1 Message Date
Maurus Cuelenaere
0b92c0fa26 Android: remove rockbox.apk when doing 'make clean'
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29564 a1c6a512-1295-4272-9138-f99709370657
2011-03-11 15:45:49 +00:00
Frank Gevaerts
36d98fa7d0 *really* don't automatically build convttf
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29554 a1c6a512-1295-4272-9138-f99709370657
2011-03-09 21:50:43 +00:00
Thomas Martitz
9edd6d4ee9 Anti-Aliased Fonts support.
This enables Rockbox to render anti-aliased fonts using an alpha blending method.
The input font bitmaps are 4bit, i.e. 4x larger, but the metadata size stays the same.

A tool, convttf, for converting ttf fonts directly to the Rockbox fnt format is provided.
It has a useful help output, but the parameter that works best is -c1 or -c2 (2 for larger font sizes).

Flyspray: FS#8961
Author: Initial work by Jonas Hurrelmann, further work by Fred Bauer, Andrew Mahone, Teruaki Kawashima and myself.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29523 a1c6a512-1295-4272-9138-f99709370657
2011-03-05 18:36:51 +00:00
Dave Chapman
376c9f3ad0 FS#11966 - use separate modelnames and config files for RaaA. This adds an APPLICATION define that can be used in Makefiles, and target-name defines (-DSDLAPP, -DANDROID, -DNOKIAN8XX and -DNOKIAN900) for use elsewhere. LCD size is now hard-coded for the Nokia builds in their config files. A new --app parameter is passed to buildzip.pl to explicitly state that this is an application build - it was previously derived from the model name.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29418 a1c6a512-1295-4272-9138-f99709370657
2011-02-27 11:37:39 +00:00
Alex Parker
d0a0d02167 Forgot to add the help text for make elfzip.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29406 a1c6a512-1295-4272-9138-f99709370657
2011-02-26 20:50:12 +00:00
Alex Parker
745406a9f0 Add "elfzip" target to make which creates a zip of all elf files, as mapzip does for map files.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29360 a1c6a512-1295-4272-9138-f99709370657
2011-02-20 19:56:53 +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
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
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
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
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
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
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
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
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é
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
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
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
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
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
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
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
Rafaël Carré
5d236b2bfd Generate C file / header for svn version string
It's now easier to force rebuild of files depending on the svn revision

version.c/version.h are generated once with new tools/genversion.sh
Changes in the VCS are still not auto detected, so you'll have to remove
builddir/version.* if you want to change the string in your binaries

APPSVERSION is now called RBVERSION and is defined in the generated
header instead of being defined by the Makefiles
appsversion is now called rbversion (the plugin api number didn't change
since old modules are still binary compatible)

Change some bootloaders to use knwon-at-buildtime RBVERSION instead of
"%s" + rbversion

You'll need to run make clean to regenerate dependencies after the
removal of apps/version.h

To build binaries with a different version string, hand-edit
tools/version.sh or tools/genversion.sh (which calls the former)

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26320 a1c6a512-1295-4272-9138-f99709370657
2010-05-27 09:41:46 +00:00
Jens Arnold
eef14e3b5b Filter out -g in PPCFLAGS. Some (older?) gcc versions add a comment when building dependency files and -g is present. The proper solution would be to make addtargetdir.pl handle (strip) comment lines.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25253 a1c6a512-1295-4272-9138-f99709370657
2010-03-20 08:53:27 +00:00
Yoshihisa Uchida
ec39c05519 tools/database: build process updates.
- buildable for Cygwin/MinGW.
- SDL cobfig is set by using SDL-config.
- metadata/*.c add automaticaly when database tool builds.
- bitmap files do not create when database tool builds.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24908 a1c6a512-1295-4272-9138-f99709370657
2010-02-25 12:28:30 +00:00
Maurus Cuelenaere
19204624a9 Fix parallel building
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24705 a1c6a512-1295-4272-9138-f99709370657
2010-02-16 21:55:42 +00:00
Maurus Cuelenaere
651b55488e make veryclean: remove tools/iaudio_bl_flash.[ch]
These are generated files by the build; at least "make veryclean" should
remove them.

Author: Junio C Hamano
Flyspray: FS#10967

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24664 a1c6a512-1295-4272-9138-f99709370657
2010-02-15 10:24:32 +00:00
Rafaël Carré
a9e2a7148f *.link: depends on config file where plugin buffer size is set
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24322 a1c6a512-1295-4272-9138-f99709370657
2010-01-24 15:32:23 +00:00
Rafaël Carré
4c01e05c63 Do not try to generate dependencies of lua files
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24125 a1c6a512-1295-4272-9138-f99709370657
2009-12-30 13:30:32 +00:00
Dave Chapman
48430bfabd Move mktccboot from tools/ to rbutil/mktccboot/ - inspired by FS#10728 but with no functional changes to code.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23382 a1c6a512-1295-4272-9138-f99709370657
2009-10-28 21:11:43 +00:00
Frank Gevaerts
6e11572e07 Make the database tool buildable from configure.
Also update the checkwps makefile to make checkwps builds not break


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22998 a1c6a512-1295-4272-9138-f99709370657
2009-10-07 16:54:15 +00:00
Thomas Martitz
022463b46c Repair build-all.sh and clean-all.sh.
Make it so that it runs ../configure and make for each target. This makes the wrapper-Makefile obsolete.
It moves the binaries to tools/checkwps/output. NOTE: Something is fishy with the creative players (it builds them, but can't move them), because the configure target name and modelname differs (not sure how to fix that).

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22696 a1c6a512-1295-4272-9138-f99709370657
2009-09-13 15:24:59 +00:00
Björn Stenberg
ffaf24674d Fixed checkwps build warnings. Updated checkwps makefile to be closer to main.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22593 a1c6a512-1295-4272-9138-f99709370657
2009-09-01 14:53:37 +00:00
Maurus Cuelenaere
8bff564a7c Forgot a file
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22457 a1c6a512-1295-4272-9138-f99709370657
2009-08-21 20:28:26 +00:00
Antoine Cellerier
ef0c9da7dd Don't mention having to run 'make reconf' when you're runing 'make reconf'
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22111 a1c6a512-1295-4272-9138-f99709370657
2009-08-02 09:45:51 +00:00
Andrew Mahone
668a769ca4 Add new asmdefs mechanism for exporting information only available to the C compiler for use in asm files, and use it in arm jpeg idct. See apps/apps.make, apps/core_asmdefs.c, and apps/recorder/jpeg_idct_arm.S for details.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21831 a1c6a512-1295-4272-9138-f99709370657
2009-07-13 00:40:35 +00:00
Thomas Martitz
7ed1a5f120 Second try for make install for normal builds. Now differentiate better between "PREFIX not set" and "PREFIX not set, but also not needed". Also, recreate the PREFIX when running make reconf.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20694 a1c6a512-1295-4272-9138-f99709370657
2009-04-12 01:28:33 +00:00
Jonas Häggqvist
a2008f9bde Revert r20687 since it breaks make zip.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20692 a1c6a512-1295-4272-9138-f99709370657
2009-04-11 23:20:09 +00:00
Jens Arnold
ac0722da74 Fix 'make fullinstall'
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20689 a1c6a512-1295-4272-9138-f99709370657
2009-04-11 21:29:40 +00:00
Thomas Martitz
7e67dc6ac7 "make (full)install" for normal builds, specifiy the installation destination with PREFIX (e.g. PREFIX=/mnt/my_dap ../tools/configure). PREFIX not needed for sims, as it defaults to simdisk although PREFIX can override simdisk/. Use zip -r0 for install, and -r9 for for actual zips.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20687 a1c6a512-1295-4272-9138-f99709370657
2009-04-11 17:45:11 +00:00
Thomas Martitz
64f4b87a72 Let make bin create rockbox-info.txt too.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20609 a1c6a512-1295-4272-9138-f99709370657
2009-04-03 13:44:47 +00:00
Maurus Cuelenaere
cf31386aa1 Commit FS#9614 by Yoshihisa Uchida: fix 'make tools'
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20289 a1c6a512-1295-4272-9138-f99709370657
2009-03-11 16:13:46 +00:00
Jens Arnold
08f51a52e3 Don't rebuild the dependency file on 'make reconf'. Build type and target won't change, and there are some build types where the .dep file isn't needed at all, e.g. voice.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20282 a1c6a512-1295-4272-9138-f99709370657
2009-03-10 19:06:14 +00:00