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
b3ef8c8e5b
Put resource object into object folder.
...
Use correct path for windres output. Fixes windres running even if no changes
are present.
Change-Id: I2841113bab9b38f2a03ba2f168b3d8bdb5c102df
2013-04-04 22:42:22 +02:00
Dominik Riebeling
a8d291bd20
Fix cross compiling sansapatcher.
...
windres also needs the cross compiler prefix.
Change-Id: Ia27ac8b9f3b47962764eff6b960e1105544b0b89
2013-01-01 15:06:41 +01:00
Dominik Riebeling
308f099874
Move bin2c handling to libtools.make
...
Change-Id: I60353bb9f9fd2658d66ba7f352e04f7489c7bf5d
2012-04-28 12:05:50 +02:00
Rafaël Carré
db3afb03a2
Make sure we use POSIX/C99 printf() when building for windows
...
Change-Id: I429ed40dc2b9d4fb238762113bd40936df896df0
Reviewed-on: http://gerrit.rockbox.org/85
Reviewed-by: Dominik Riebeling <Dominik.Riebeling@gmail.com>
2012-02-05 20:36:31 +01:00
Dominik Riebeling
70837fb1ed
sansapatcher, ipodpatcher: use MinGW C99 version of stdio functions.
...
The MinGW versions know additional format identifiers. Use those versions to
avoid warnings. See also http://article.gmane.org/gmane.comp.gnu.mingw.user/27539/
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31331 a1c6a512-1295-4272-9138-f99709370657
2011-12-16 21:10:21 +00:00
Dominik Riebeling
1828bb8ea3
sansapatcher: allow building without bootloaders.
...
There is no need to always build sansapatcher with embedded bootloaders. Allow
building without similar to ipodpatcher. Interactive mode will obviously not be
available if built without bootloaders.
Fix rules for creating the source files for the embedded bootloaders.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31328 a1c6a512-1295-4272-9138-f99709370657
2011-12-16 20:10:33 +00:00
Dominik Riebeling
472c02d0f7
sansapatcher: use libtools.make.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31327 a1c6a512-1295-4272-9138-f99709370657
2011-12-16 20:10:29 +00:00
Dominik Riebeling
271441eb9d
MinGW: prefer C99 compliance by using replacement implementations.
...
This addresses several warnings caused by format modifiers that are not
supported by MSVCRT. MinGW provides replacement functions since mingw-runtime
3.15 so use them. See also
http://article.gmane.org/gmane.comp.gnu.mingw.user/27539/
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28735 a1c6a512-1295-4272-9138-f99709370657
2010-12-05 15:24:10 +00:00
Dave Chapman
34213c388b
Small tweaks to r21778/r21779 - use -p for both mkdir and cp commands in dmg creation rule
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21793 a1c6a512-1295-4272-9138-f99709370657
2009-07-11 22:50:22 +00:00
Rafaël Carré
06cd53bc40
sansapatcher: new sansapatcher.dmg creation rule for OSX
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21778 a1c6a512-1295-4272-9138-f99709370657
2009-07-11 14:46:09 +00:00
Dave Chapman
28a2b4514f
Add an explicit rule to compile bin2c - r21272 broke compilation of sansapatcher on at least Linux because Make's implicit rule for compiling bin2c was being used, which uses CC, which was set to i586-mingw32msvc-gcc.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21476 a1c6a512-1295-4272-9138-f99709370657
2009-06-22 23:06:56 +00:00
Dominik Riebeling
73f9bde908
Make bin2c compile with VS2005 and move it to a separate folder as its getting used by different tools now.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21272 a1c6a512-1295-4272-9138-f99709370657
2009-06-13 14:15:50 +00:00
Barry Wardell
386f77b052
Make sansapatcher and ipodpatcher compile on OS X 10.5.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16804 a1c6a512-1295-4272-9138-f99709370657
2008-03-25 19:50:41 +00:00
Dominik Riebeling
ccd8f6cd84
fix sansapatcher mingw build prerequisites.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16173 a1c6a512-1295-4272-9138-f99709370657
2008-01-26 22:19:27 +00:00
Dominik Wenger
4e8d61442d
add Manifests to rbutil, sansapatcher and e200rpatcher to gain needed rights on windows vista.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16120 a1c6a512-1295-4272-9138-f99709370657
2008-01-20 21:19:37 +00:00
Dominik Riebeling
919caf0208
allow building ipodpatcher / sansapatcher with MinGW.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16003 a1c6a512-1295-4272-9138-f99709370657
2008-01-06 11:55:55 +00:00
Dave Chapman
8d145a5574
Initial attempt at c200 support - you now need both a "firmware.mi4" file (c200 bootloader) and "PP5022.mi4" file (e200 bootloader) to compile. sansapatcher should detect the device type and install the correct bootloader.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14755 a1c6a512-1295-4272-9138-f99709370657
2007-09-19 18:46:54 +00:00
Dave Chapman
f119dc0d82
Add -W to CFLAGS in Makefile and fix generated warnings. Also close a file handle which was being left open
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14069 a1c6a512-1295-4272-9138-f99709370657
2007-07-29 21:47:05 +00:00
Dave Chapman
e815601afb
Implement the ability to embed a bootloader in sansapatcher - the --install option installs the embedded bootloader, and running without any parameters will cause a prompt to be displayed asking the user if they want to install, uninstall or cancel. sansapatcher now requres a PP5022.mi4 file (the Rockbox bootloader) in the current directory when building.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12794 a1c6a512-1295-4272-9138-f99709370657
2007-03-15 23:26:47 +00:00
Dave Chapman
e17043ead7
Initial commit of sansapatcher - an installation tool for the Sansa E200.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12792 a1c6a512-1295-4272-9138-f99709370657
2007-03-15 22:55:36 +00:00