diff options
| author | Dominik Riebeling <Dominik.Riebeling@gmail.com> | 2008-01-06 11:55:55 +0000 |
|---|---|---|
| committer | Dominik Riebeling <Dominik.Riebeling@gmail.com> | 2008-01-06 11:55:55 +0000 |
| commit | 919caf0208a7a6ed4a5f7b920c692e758d9d3250 (patch) | |
| tree | 390cdcc6908fe562719b5280cc0efe66ac249230 | |
| parent | dadd80a8a601ba56246b0e3ad37b55f2c97d1196 (diff) | |
| download | rockbox-919caf0208a7a6ed4a5f7b920c692e758d9d3250.zip rockbox-919caf0208a7a6ed4a5f7b920c692e758d9d3250.tar.gz rockbox-919caf0208a7a6ed4a5f7b920c692e758d9d3250.tar.bz2 rockbox-919caf0208a7a6ed4a5f7b920c692e758d9d3250.tar.xz | |
allow building ipodpatcher / sansapatcher with MinGW.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16003 a1c6a512-1295-4272-9138-f99709370657
| -rw-r--r-- | rbutil/ipodpatcher/Makefile | 5 | ||||
| -rw-r--r-- | rbutil/sansapatcher/Makefile | 5 |
2 files changed, 10 insertions, 0 deletions
diff --git a/rbutil/ipodpatcher/Makefile b/rbutil/ipodpatcher/Makefile index 79d1b2f..186c1da 100644 --- a/rbutil/ipodpatcher/Makefile +++ b/rbutil/ipodpatcher/Makefile @@ -14,10 +14,15 @@ ifeq ($(findstring CYGWIN,$(shell uname)),CYGWIN) OUTPUT=ipodpatcher.exe CROSS= CFLAGS+=-mno-cygwin +else +ifeq ($(findstring MINGW,$(shell uname)),MINGW) +OUTPUT=ipodpatcher.exe +CROSS= else OUTPUT=ipodpatcher CROSS=i586-mingw32msvc- endif +endif NATIVECC = gcc CC = $(CROSS)gcc diff --git a/rbutil/sansapatcher/Makefile b/rbutil/sansapatcher/Makefile index 3786a41..c425bbc 100644 --- a/rbutil/sansapatcher/Makefile +++ b/rbutil/sansapatcher/Makefile @@ -5,9 +5,14 @@ OUTPUT=sansapatcher.exe CROSS= CFLAGS+=-mno-cygwin else +ifeq ($(findstring MINGW,$(shell uname)),MINGW) +OUTPUT=sansapatcher.exe +CROSS +else OUTPUT=sansapatcher CROSS=i586-mingw32msvc- endif +endif NATIVECC = gcc CC = $(CROSS)gcc |