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
Teruaki Kawashima
e3fc65cfff
change dependencies in make files:
...
* apps.make: depends on ctype.o instead of errno.o to depend on config-*.h so that it works for simulator.
* lang.make: add dependency of lang.h to make it sure that the file is updated properly when needed.
* plugins.make: object files don't depend on libpluginbitmaps.a.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24256 a1c6a512-1295-4272-9138-f99709370657
2010-01-17 13:03:10 +00:00
Björn Stenberg
4fc00222cb
Dependency generation now uses all cores on multi-core machines.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22021 a1c6a512-1295-4272-9138-f99709370657
2009-07-24 21:53:32 +00:00
Andrew Mahone
54715e6d07
Small fix for asmdefs, make sure $var is cleared the line after it is read, so that value *must* follow label immediately.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21876 a1c6a512-1295-4272-9138-f99709370657
2009-07-14 21:52:22 +00:00
Andrew Mahone
fec4206f39
Handle sh and m68k compiler's output correctly in asmdefs2file
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21859 a1c6a512-1295-4272-9138-f99709370657
2009-07-14 11:39:21 +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
Andrew Mahone
541072ae5d
Rework addtargetdir.pl to also fix prefix generated-file depedencies with the target directory, and simplify the sed expression for mkdepfile.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21826 a1c6a512-1295-4272-9138-f99709370657
2009-07-12 22:02:09 +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
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
Björn Stenberg
0d97a5f021
Better file suffix replacement. Bug fix by Nils Wallménius. Closes FS #9644 .
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19443 a1c6a512-1295-4272-9138-f99709370657
2008-12-15 09:55:20 +00:00
Björn Stenberg
3eece18b95
Write dependencies to a temporary file until they are completed. This fixes the problem with an aborted dependency generation not being detected.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19241 a1c6a512-1295-4272-9138-f99709370657
2008-11-26 23:20:12 +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
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
Björn Stenberg
344ad683be
FS#9566: Change regex to make it work on old versions of sed.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19166 a1c6a512-1295-4272-9138-f99709370657
2008-11-21 13:01:03 +00:00
Björn Stenberg
c6b3d38a15
New makefile solution: A single invocation of 'make' to build the entire tree. Fully controlled dependencies give faster and more correct recompiles.
...
Many #include lines adjusted to conform to the new standards.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19146 a1c6a512-1295-4272-9138-f99709370657
2008-11-20 11:27:31 +00:00