diff options
author | Barry Wardell <rockbox@barrywardell.net> | 2008-03-25 19:50:41 +0000 |
---|---|---|
committer | Barry Wardell <rockbox@barrywardell.net> | 2008-03-25 19:50:41 +0000 |
commit | 386f77b0521433f55811f5735aa7a7df5c422760 (patch) | |
tree | 90765e8686c0d8dd34a857031a96db1180f48eee | |
parent | 76691030daa2f87c3b53d3c5b6d79d04cdac2a1b (diff) | |
download | rockbox-386f77b0521433f55811f5735aa7a7df5c422760.tar.gz rockbox-386f77b0521433f55811f5735aa7a7df5c422760.zip |
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
-rw-r--r-- | rbutil/ipodpatcher/Makefile | 4 | ||||
-rw-r--r-- | rbutil/sansapatcher/Makefile | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/rbutil/ipodpatcher/Makefile b/rbutil/ipodpatcher/Makefile index 186c1da5c9..61ca175e22 100644 --- a/rbutil/ipodpatcher/Makefile +++ b/rbutil/ipodpatcher/Makefile | |||
@@ -47,11 +47,11 @@ ipodpatcher-mac: ipodpatcher-i386 ipodpatcher-ppc | |||
47 | lipo -create ipodpatcher-ppc ipodpatcher-i386 -output ipodpatcher-mac | 47 | lipo -create ipodpatcher-ppc ipodpatcher-i386 -output ipodpatcher-mac |
48 | 48 | ||
49 | ipodpatcher-i386: $(SRC) ipodio-posix.c $(BOOTSRC) | 49 | ipodpatcher-i386: $(SRC) ipodio-posix.c $(BOOTSRC) |
50 | gcc -isysroot /Developer/SDKs/MacOSX10.4u.sdk -o bin/i386/program -arch i386 $(CFLAGS) -o ipodpatcher-i386 $(SRC) ipodio-posix.c $(BOOTSRC) | 50 | gcc -isysroot /Developer/SDKs/MacOSX10.4u.sdk -mmacosx-version-min=10.4 -arch i386 $(CFLAGS) -o ipodpatcher-i386 $(SRC) ipodio-posix.c $(BOOTSRC) |
51 | strip ipodpatcher-i386 | 51 | strip ipodpatcher-i386 |
52 | 52 | ||
53 | ipodpatcher-ppc: $(SRC) ipodio-posix.c $(BOOTSRC) | 53 | ipodpatcher-ppc: $(SRC) ipodio-posix.c $(BOOTSRC) |
54 | gcc -arch ppc $(CFLAGS) -o ipodpatcher-ppc $(SRC) ipodio-posix.c $(BOOTSRC) | 54 | gcc -isysroot /Developer/SDKs/MacOSX10.4u.sdk -mmacosx-version-min=10.4 -arch ppc $(CFLAGS) -o ipodpatcher-ppc $(SRC) ipodio-posix.c $(BOOTSRC) |
55 | strip ipodpatcher-ppc | 55 | strip ipodpatcher-ppc |
56 | 56 | ||
57 | ipod2c: ipod2c.c | 57 | ipod2c: ipod2c.c |
diff --git a/rbutil/sansapatcher/Makefile b/rbutil/sansapatcher/Makefile index 34e64ee823..9c5bec1bdf 100644 --- a/rbutil/sansapatcher/Makefile +++ b/rbutil/sansapatcher/Makefile | |||
@@ -35,11 +35,11 @@ sansapatcher-mac: sansapatcher-i386 sansapatcher-ppc | |||
35 | lipo -create sansapatcher-ppc sansapatcher-i386 -output sansapatcher-mac | 35 | lipo -create sansapatcher-ppc sansapatcher-i386 -output sansapatcher-mac |
36 | 36 | ||
37 | sansapatcher-i386: main.c sansapatcher.c sansaio-posix.c parttypes.h bootimg_c200.c bootimg_e200.c | 37 | sansapatcher-i386: main.c sansapatcher.c sansaio-posix.c parttypes.h bootimg_c200.c bootimg_e200.c |
38 | gcc -isysroot /Developer/SDKs/MacOSX10.4u.sdk -o bin/i386/program -arch i386 $(CFLAGS) -o sansapatcher-i386 main.c sansapatcher.c sansaio-posix.c bootimg_c200.c bootimg_e200.c | 38 | gcc -isysroot /Developer/SDKs/MacOSX10.4u.sdk -mmacosx-version-min=10.4 -arch i386 $(CFLAGS) -o sansapatcher-i386 main.c sansapatcher.c sansaio-posix.c bootimg_c200.c bootimg_e200.c |
39 | strip sansapatcher-i386 | 39 | strip sansapatcher-i386 |
40 | 40 | ||
41 | sansapatcher-ppc: main.c sansapatcher.c sansaio-posix.c parttypes.h bootimg_c200.c bootimg_e200.c | 41 | sansapatcher-ppc: main.c sansapatcher.c sansaio-posix.c parttypes.h bootimg_c200.c bootimg_e200.c |
42 | gcc -arch ppc $(CFLAGS) -o sansapatcher-ppc main.c sansapatcher.c sansaio-posix.c bootimg_c200.c bootimg_e200.c | 42 | gcc -isysroot /Developer/SDKs/MacOSX10.4u.sdk -mmacosx-version-min=10.4 -arch ppc $(CFLAGS) -o sansapatcher-ppc main.c sansapatcher.c sansaio-posix.c bootimg_c200.c bootimg_e200.c |
43 | strip sansapatcher-ppc | 43 | strip sansapatcher-ppc |
44 | 44 | ||
45 | bin2c: bin2c.c | 45 | bin2c: bin2c.c |