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
Tom Ross
4fb5864a6c
Move generated lang-related files to their own directory in preparation of localizable plugins.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20170 a1c6a512-1295-4272-9138-f99709370657
2009-03-02 06:13:18 +00:00
Daniel Stenberg
2e6d604bb6
Stop hiding errors by redirecting stderr to /dev/null. If we really need to do re-introduce somewhere we should rather make it dependent on the V variable so that make V=1 would still show the error and only "normal" builds would hide it.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20090 a1c6a512-1295-4272-9138-f99709370657
2009-02-23 08:45:16 +00:00
Maurus Cuelenaere
e8da447729
Commit FS#9494 by Yoshihisa Uchida: add support for building the simulators under Windows using MingW
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19923 a1c6a512-1295-4272-9138-f99709370657
2009-02-04 20:59:27 +00:00
Bertrik Sikken
31c8eee99d
FS#9763 - Sansa Clip modified WPS. This modified wps avoids wps elements getting split over the yellow/cyan
...
parts of the display. Also introduces a mechanism for selecting a target specific wps if there is already
another wps with the same screen size.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19889 a1c6a512-1295-4272-9138-f99709370657
2009-01-31 12:23:35 +00:00
Björn Stenberg
6d871d53a3
Don't rerun configure automatically, just inform that you should do it.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19746 a1c6a512-1295-4272-9138-f99709370657
2009-01-10 22:36:41 +00:00
Björn Stenberg
fc53725fd8
Automatically rerun tools/configure if it is newer than Makefile.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19745 a1c6a512-1295-4272-9138-f99709370657
2009-01-10 22:23:27 +00:00
Daniel Stenberg
4ef890ecee
'make reconf' is now a first stab at re-running configure with the same setup
...
that generated the existing Makefile
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19739 a1c6a512-1295-4272-9138-f99709370657
2009-01-09 23:15:27 +00:00
Jens Arnold
89b41571ac
Add another missing file to 'clean' target.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19258 a1c6a512-1295-4272-9138-f99709370657
2008-11-28 22:22:47 +00:00
Björn Stenberg
34332cf2ec
Don't generate dependencies for make targets that don't need them.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19242 a1c6a512-1295-4272-9138-f99709370657
2008-11-26 23:21:30 +00:00
Björn Stenberg
a091d20ba0
Added 'keywords' and 'eol-style' properties.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19218 a1c6a512-1295-4272-9138-f99709370657
2008-11-25 19:54:23 +00:00
Björn Stenberg
ad8d6031c1
Added support for configurable rockbox directory. FS#9567 by Alex Bennee.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19208 a1c6a512-1295-4272-9138-f99709370657
2008-11-24 22:16:07 +00:00
Björn Stenberg
819378bf9d
Renamed simulator disk directory from 'archos' to 'simdisk'.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19204 a1c6a512-1295-4272-9138-f99709370657
2008-11-24 20:32:57 +00:00
Björn Stenberg
046776c292
Added rombox.ucl to target 'clean'. Added some newlines.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19185 a1c6a512-1295-4272-9138-f99709370657
2008-11-22 23:34:24 +00:00
Jens Arnold
fea18742a2
Stop overwriting rockbox.map (depending on build order). Should fix jumping size report for rombox targets.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19175 a1c6a512-1295-4272-9138-f99709370657
2008-11-21 20:33:52 +00:00
Björn Stenberg
6b96270856
Added LANG_O to simulators as well.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19171 a1c6a512-1295-4272-9138-f99709370657
2008-11-21 15:27:16 +00:00
Björn Stenberg
6640978129
Altered mkdepfile to use a single gcc call and post-process the output. This speeds up the dependency generation, especially in cygwin.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19169 a1c6a512-1295-4272-9138-f99709370657
2008-11-21 15:07:15 +00:00