summaryrefslogtreecommitdiffstats
path: root/rbutil/sansapatcher/Makefile
AgeCommit message (Collapse)AuthorFilesLines
2016-12-16Don't add LIBSOURCES to SOURCES.Dominik Riebeling1-1/+1
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
2013-04-04Put resource object into object folder.Dominik Riebeling1-1/+2
Use correct path for windres output. Fixes windres running even if no changes are present. Change-Id: I2841113bab9b38f2a03ba2f168b3d8bdb5c102df
2013-01-01Fix cross compiling sansapatcher.Dominik Riebeling1-1/+1
windres also needs the cross compiler prefix. Change-Id: Ia27ac8b9f3b47962764eff6b960e1105544b0b89
2012-04-28Move bin2c handling to libtools.makeDominik Riebeling1-7/+5
Change-Id: I60353bb9f9fd2658d66ba7f352e04f7489c7bf5d
2012-02-05Make sure we use POSIX/C99 printf() when building for windowsRafaël Carré1-1/+1
Change-Id: I429ed40dc2b9d4fb238762113bd40936df896df0 Reviewed-on: http://gerrit.rockbox.org/85 Reviewed-by: Dominik Riebeling <Dominik.Riebeling@gmail.com>
2011-12-16sansapatcher, ipodpatcher: use MinGW C99 version of stdio functions.Dominik Riebeling1-1/+1
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-16sansapatcher: allow building without bootloaders.Dominik Riebeling1-1/+3
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-16sansapatcher: use libtools.make.Dominik Riebeling1-51/+40
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31327 a1c6a512-1295-4272-9138-f99709370657
2010-12-05MinGW: prefer C99 compliance by using replacement implementations.Dominik Riebeling1-0/+1
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
2009-07-11Small tweaks to r21778/r21779 - use -p for both mkdir and cp commands in dmg ↵Dave Chapman1-2/+2
creation rule git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21793 a1c6a512-1295-4272-9138-f99709370657
2009-07-11sansapatcher: new sansapatcher.dmg creation rule for OSXRafaël Carré1-1/+7
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21778 a1c6a512-1295-4272-9138-f99709370657
2009-06-22Add an explicit rule to compile bin2c - r21272 broke compilation of ↵Dave Chapman1-0/+3
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-13Make bin2c compile with VS2005 and move it to a separate folder as its ↵Dominik Riebeling1-8/+5
getting used by different tools now. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21272 a1c6a512-1295-4272-9138-f99709370657
2008-03-25Make sansapatcher and ipodpatcher compile on OS X 10.5.Barry Wardell1-2/+2
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16804 a1c6a512-1295-4272-9138-f99709370657
2008-01-26fix sansapatcher mingw build prerequisites.Dominik Riebeling1-1/+1
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16173 a1c6a512-1295-4272-9138-f99709370657
2008-01-20add Manifests to rbutil, sansapatcher and e200rpatcher to gain needed rights ↵Dominik Wenger1-2/+6
on windows vista. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16120 a1c6a512-1295-4272-9138-f99709370657
2008-01-06allow building ipodpatcher / sansapatcher with MinGW.Dominik Riebeling1-0/+5
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16003 a1c6a512-1295-4272-9138-f99709370657
2007-09-19Initial attempt at c200 support - you now need both a "firmware.mi4" file ↵Dave Chapman1-11/+14
(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-07-29Add -W to CFLAGS in Makefile and fix generated warnings. Also close a file ↵Dave Chapman1-1/+1
handle which was being left open git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14069 a1c6a512-1295-4272-9138-f99709370657
2007-03-15Implement the ability to embed a bootloader in sansapatcher - the --install ↵Dave Chapman1-6/+5
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-15Initial commit of sansapatcher - an installation tool for the Sansa E200.Dave Chapman1-0/+44
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12792 a1c6a512-1295-4272-9138-f99709370657