Commit graph

11 commits

Author SHA1 Message Date
Dominik Riebeling
6f4beaa52c Don't add LIBSOURCES to SOURCES.
Split source files for library and stand-alone binary and use library as
dependency when building the stand-alone binary. This avoids dependencies
getting added multiple times.

Remove outdated RBARCH handling, we always create fat binaries on OS X these
days.

Change-Id: Ia15a731296edcbe90869a1bf66dda2c3d6c7e317
2016-12-16 19:46:07 +01:00
Dominik Riebeling
c5530d9258 Allow passing additional CFLAGS.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31524 a1c6a512-1295-4272-9138-f99709370657
2012-01-02 16:59:26 +00:00
Dominik Riebeling
6b8f0b0267 mkmpioboot: use common Makefile.
Extend common libtools.make with libucl dependency, which will be needed by
other tools as well. Update mkmpioboot.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31259 a1c6a512-1295-4272-9138-f99709370657
2011-12-14 22:00:06 +00:00
Dominik Riebeling
c7c657ca92 Prevent unnecessary rebuilding of libs.
- When building for Rockbox Utility the called Makefiles would rebuild the libs
  every time. Change dependencies a bit to allow make to properly detect if the
  lib is already up to date.
- Remove dependency on output folder in some cases to avoid unnecessary
  rebuilds.
- Add standard Rockbox header to files lacking it.
- Make make calls from qmake silent.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30608 a1c6a512-1295-4272-9138-f99709370657
2011-09-26 20:51:23 +00:00
Dominik Riebeling
6f2bba961f mkmpioboot: restructure model / firmware file information.
Collect the various arrays holding model names, numbers etc. into a
structure. This makes the code cleaner since there aren't multiple
arrays that need to be kept in sync any more and avoids issues with
other tools (like mkamsboot) when linked together with Rockbox Utility.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29176 a1c6a512-1295-4272-9138-f99709370657
2011-01-31 19:16:06 +00:00
Dominik Riebeling
e1b1183f40 Tweak Makefiles a bit to allow cross compiling Rockbox Utility.
- pass AR to the lib Makefiles to make sure the correct one gets used.
- create an archive index for archives.
- simplify ucl Makefile a bit.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28883 a1c6a512-1295-4272-9138-f99709370657
2010-12-23 18:59:58 +00:00
Dominik Riebeling
a6d7a67080 Respect TARGET_DIR when building.
When building out-of-tree (which is the case when building for Rockbox Utility)
no objects should get placed in the source folder.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28857 a1c6a512-1295-4272-9138-f99709370657
2010-12-19 18:06:38 +00:00
Dominik Riebeling
10e0279afc Make model_names static in mkmpioboot.
Both mkmpioboot and mkamsboot use an array model_names which clash when
linking with Rockbox Utility so don't export the mkmpioboot one.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28690 a1c6a512-1295-4272-9138-f99709370657
2010-11-28 10:06:01 +00:00
Marcin Bukat
d1302940b9 mkmpioboot - Add support for HD300, increase verbosity.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28605 a1c6a512-1295-4272-9138-f99709370657
2010-11-15 20:42:58 +00:00
Dominik Wenger
d48b3359fc fix libmkmpioboot.a building.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25834 a1c6a512-1295-4272-9138-f99709370657
2010-05-05 19:45:08 +00:00
Marcin Bukat
28d54c6016 Add MPIO HD200 port - new files
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25725 a1c6a512-1295-4272-9138-f99709370657
2010-04-26 21:40:16 +00:00