mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-12-08 20:55:17 -05:00
sansapatcher: new sansapatcher.dmg creation rule for OSX
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21778 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
27c60fde0d
commit
06cd53bc40
1 changed files with 7 additions and 1 deletions
|
|
@ -34,6 +34,11 @@ sansapatcher-rc.o: sansapatcher.rc sansapatcher.manifest
|
||||||
sansapatcher-mac: sansapatcher-i386 sansapatcher-ppc
|
sansapatcher-mac: sansapatcher-i386 sansapatcher-ppc
|
||||||
lipo -create sansapatcher-ppc sansapatcher-i386 -output sansapatcher-mac
|
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
|
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
|
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
|
strip sansapatcher-i386
|
||||||
|
|
@ -52,4 +57,5 @@ bootimg_e200.c: PP5022.mi4 ../tools/bin2c
|
||||||
make -C ../tools bin2c
|
make -C ../tools bin2c
|
||||||
|
|
||||||
clean:
|
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
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue