summaryrefslogtreecommitdiff
path: root/tools/functions.make (follow)
Commit message (Collapse)AuthorAge
* Fix unsafe substitutions in Makefile.Amaury Pouly2017-05-12
| | | | | | Strange things can happen in the (unlikely) case that ROOTDIR=/rockbox Change-Id: I085f928fd859b307667e8fccf40b29a9c325f7ae
* Add rbcodecplatform.h and rbcodecconfig.h.Sean Bartell2012-05-03
| | | | | | | | | | | | | | | | | librbcodec users must provide these two files when the library is built. rbcodecconfig.h provides configuration #defines and basic types, and will be included by public librbcodec headers, so it must not conflict with the user's code. rbcodecplatform.h provides various OS functions, and will only be included by source files and private headers. This system is intended to provide maximum flexibility for use on embedded systems, where no operating system headers are included. Unix systems can just copy rbcodecconfig-example.h and rbcodecplatform-unix.h with minimal changes. Change-Id: I350a2274d173da391fd1ca00c4202e9760d91def Reviewed-on: http://gerrit.rockbox.org/143 Reviewed-by: Nils Wallménius <nils@rockbox.org> Tested-by: Nils Wallménius <nils@rockbox.org>
* Refactor and unify objcopy calls in the build system. Also now properly ↵Thomas Martitz2012-04-04
| | | | | | handles DEBUG builds on hosted targets to keep debug symbols if necessary. Change-Id: I884031b79c6d49479e4d95752f35ced68872dd5d
* build system: unify/simplify library handling a bit.Thomas Martitz2012-03-26
| | | | | | | libs in $ROOT/lib now add to $(CORE_LIBS) and $(EXTRA_LIBS) and are automatically linked by the core and codecs/plugins respectively. Change-Id: Iff482c792a8c8142718f6a16a450c6e2f1497c9a
* remove obsolete commentRafaël Carré2011-08-13
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30285 a1c6a512-1295-4272-9138-f99709370657
* makefilesRafaël Carré2010-08-21
| | | | | | | | | | | | | | | - 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
* change dependencies in make files:Teruaki Kawashima2010-01-17
| | | | | | | | * 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
* Dependency generation now uses all cores on multi-core machines.Björn Stenberg2009-07-24
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22021 a1c6a512-1295-4272-9138-f99709370657
* Small fix for asmdefs, make sure $var is cleared the line after it is read, ↵Andrew Mahone2009-07-14
| | | | | | so that value *must* follow label immediately. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21876 a1c6a512-1295-4272-9138-f99709370657
* Handle sh and m68k compiler's output correctly in asmdefs2fileAndrew Mahone2009-07-14
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21859 a1c6a512-1295-4272-9138-f99709370657
* Add new asmdefs mechanism for exporting information only available to the C ↵Andrew Mahone2009-07-13
| | | | | | 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
* Rework addtargetdir.pl to also fix prefix generated-file depedencies with ↵Andrew Mahone2009-07-12
| | | | | | 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
* Move generated lang-related files to their own directory in preparation of ↵Tom Ross2009-03-02
| | | | | | localizable plugins. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20170 a1c6a512-1295-4272-9138-f99709370657
* Commit FS#9494 by Yoshihisa Uchida: add support for building the simulators ↵Maurus Cuelenaere2009-02-04
| | | | | | under Windows using MingW git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19923 a1c6a512-1295-4272-9138-f99709370657
* Better file suffix replacement. Bug fix by Nils Wallménius. Closes FS #9644.Björn Stenberg2008-12-15
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19443 a1c6a512-1295-4272-9138-f99709370657
* Write dependencies to a temporary file until they are completed. This fixes ↵Björn Stenberg2008-11-26
| | | | | | 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
* Added 'keywords' and 'eol-style' properties.Björn Stenberg2008-11-25
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19218 a1c6a512-1295-4272-9138-f99709370657
* Altered mkdepfile to use a single gcc call and post-process the output. This ↵Björn Stenberg2008-11-21
| | | | | | speeds up the dependency generation, especially in cygwin. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19169 a1c6a512-1295-4272-9138-f99709370657
* FS#9566: Change regex to make it work on old versions of sed.Björn Stenberg2008-11-21
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19166 a1c6a512-1295-4272-9138-f99709370657
* New makefile solution: A single invocation of 'make' to build the entire ↵Björn Stenberg2008-11-20
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