From 06cd53bc40e6f916c64f38f5eb390389e0eee6a5 Mon Sep 17 00:00:00 2001 From: Rafaël Carré Date: Sat, 11 Jul 2009 14:46:09 +0000 Subject: sansapatcher: new sansapatcher.dmg creation rule for OSX git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21778 a1c6a512-1295-4272-9138-f99709370657 --- rbutil/sansapatcher/Makefile | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'rbutil') 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 -- cgit