summaryrefslogtreecommitdiffstats
path: root/rbutil/e200rpatcher
diff options
context:
space:
mode:
authorRafaël Carré <rafael.carre@gmail.com>2009-07-11 15:23:56 +0000
committerRafaël Carré <rafael.carre@gmail.com>2009-07-11 15:23:56 +0000
commitb9bcadf19c883bd34d6310c2d3c0d1cfd5434a4c (patch)
tree399748844981dac66106d5ea06dcff3f13648aa5 /rbutil/e200rpatcher
parent06cd53bc40e6f916c64f38f5eb390389e0eee6a5 (diff)
downloadrockbox-b9bcadf19c883bd34d6310c2d3c0d1cfd5434a4c.tar.gz
rockbox-b9bcadf19c883bd34d6310c2d3c0d1cfd5434a4c.zip
e200rpatcher: new e200rpatcher.dmg creation rule for OSX
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21779 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'rbutil/e200rpatcher')
-rw-r--r--rbutil/e200rpatcher/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/rbutil/e200rpatcher/Makefile b/rbutil/e200rpatcher/Makefile
index d8a308df31..8ca0b0aad0 100644
--- a/rbutil/e200rpatcher/Makefile
+++ b/rbutil/e200rpatcher/Makefile
@@ -32,6 +32,11 @@ e200rpatcher-rc.o: e200rpatcher.rc e200rpatcher.manifest
e200rpatcher-mac: e200rpatcher-i386 e200rpatcher-ppc
lipo -create e200rpatcher-ppc e200rpatcher-i386 -output e200rpatcher-mac
+e200rpatcher.dmg: e200rpatcher-mac
+ mkdir e200rpatcher-dmg
+ cp e200rpatcher-mac e200rpatcher-dmg
+ hdiutil create -srcfolder e200rpatcher-dmg e200rpatcher.dmg
+
e200rpatcher-i386: e200rpatcher.c bootimg.c usb.h libusb-i386.a
gcc -isysroot /Developer/SDKs/MacOSX10.4u.sdk -mmacosx-version-min=10.4 -framework iokit -framework coreservices -arch i386 $(CFLAGS) -o e200rpatcher-i386 e200rpatcher.c bootimg.c -I. libusb-i386.a
strip e200rpatcher-i386
@@ -47,4 +52,5 @@ bootimg.c: bootloader.bin bin2c
./bin2c bootloader.bin bootimg
clean:
- rm -f e200rpatcher.exe e200rpatcher-mac e200rpatcher-i386 e200rpatcher-ppc e200rpatcher bin2c bootimg.c bootimg.h *~
+ rm -f e200rpatcher.exe e200rpatcher-mac e200rpatcher-i386 e200rpatcher-ppc e200rpatcher bin2c bootimg.c bootimg.h *~ e200rpatcher.dmg
+ rm -rf e200rpatcher-dmg