diff options
author | Rafaël Carré <rafael.carre@gmail.com> | 2009-07-11 14:46:09 +0000 |
---|---|---|
committer | Rafaël Carré <rafael.carre@gmail.com> | 2009-07-11 14:46:09 +0000 |
commit | 06cd53bc40e6f916c64f38f5eb390389e0eee6a5 (patch) | |
tree | 15cab0ecef434f9413e49ed86d8495667c0e4cd6 /rbutil | |
parent | 27c60fde0d5b3fdd129c4c1ad7bc7c6a9396171d (diff) | |
download | rockbox-06cd53bc40e6f916c64f38f5eb390389e0eee6a5.tar.gz rockbox-06cd53bc40e6f916c64f38f5eb390389e0eee6a5.zip |
sansapatcher: new sansapatcher.dmg creation rule for OSX
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21778 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'rbutil')
-rw-r--r-- | rbutil/sansapatcher/Makefile | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/rbutil/sansapatcher/Makefile b/rbutil/sansapatcher/Makefile index c358211b5e..06ea7b09a5 100644 --- a/rbutil/sansapatcher/Makefile +++ b/rbutil/sansapatcher/Makefile @@ -34,6 +34,11 @@ sansapatcher-rc.o: sansapatcher.rc sansapatcher.manifest sansapatcher-mac: sansapatcher-i386 sansapatcher-ppc lipo -create sansapatcher-ppc sansapatcher-i386 -output sansapatcher-mac +sansapatcher.dmg: sansapatcher-mac + mkdir sansapatcher-dmg + cp sansapatcher-mac sansapatcher-dmg/sansapatcher + hdiutil create -srcfolder sansapatcher-dmg sansapatcher.dmg + sansapatcher-i386: main.c sansapatcher.c sansaio-posix.c parttypes.h bootimg_c200.c bootimg_e200.c 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 strip sansapatcher-i386 @@ -52,4 +57,5 @@ bootimg_e200.c: PP5022.mi4 ../tools/bin2c make -C ../tools bin2c clean: - rm -f sansapatcher.exe sansapatcher-mac sansapatcher-i386 sansapatcher-ppc sansapatcher bootimg_c200.c bootimg_c200.h bootimg_e200.c bootimg_e200.h *~ + rm -f sansapatcher.exe sansapatcher-mac sansapatcher-i386 sansapatcher-ppc sansapatcher bootimg_c200.c bootimg_c200.h bootimg_e200.c bootimg_e200.h *~ sansapatcher.dmg + rm -rf sansapatcher-dmg |