mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-12-08 12:45:26 -05:00
Change the Mac OS X rules to compile a static binary. Also add a README file with a brief description of e200rpatcher and some build instructions. We still need a Windows developer to make this work there...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14671 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
cab33b64a0
commit
7eb73ef993
2 changed files with 53 additions and 4 deletions
|
|
@ -26,12 +26,13 @@ e200rpatcher.exe: e200rpatcher.c bootimg.c
|
|||
|
||||
e200rpatcher-mac: e200rpatcher-i386 e200rpatcher-ppc
|
||||
lipo -create e200rpatcher-ppc e200rpatcher-i386 -output e200rpatcher-mac
|
||||
e200rpatcher-i386: e200rpatcher.c bootimg.c
|
||||
gcc -isysroot /Developer/SDKs/MacOSX10.4u.sdk -o bin/i386/program -arch i386 $(CFLAGS) $(LIBS) -o e200rpatcher-i386 e200rpatcher.c bootimg.c
|
||||
|
||||
e200rpatcher-i386: e200rpatcher.c bootimg.c usb.h libusb-i386.a
|
||||
gcc -isysroot /Developer/SDKs/MacOSX10.4u.sdk -framework iokit -framework coreservices -arch i386 $(CFLAGS) -o e200rpatcher-i386 e200rpatcher.c bootimg.c -I. libusb-i386.a
|
||||
strip e200rpatcher-i386
|
||||
|
||||
e200rpatcher-ppc: e200rpatcher.c bootimg.c
|
||||
gcc -arch ppc $(CFLAGS) $(LIBS) -o e200rpatcher-ppc e200rpatcher.c bootimg.c
|
||||
e200rpatcher-ppc: e200rpatcher.c bootimg.c usb.h libusb-ppc.a
|
||||
gcc -isysroot /Developer/SDKs/MacOSX10.4u.sdk -framework iokit -framework coreservices -arch ppc $(CFLAGS) -o e200rpatcher-ppc e200rpatcher.c bootimg.c -I. libusb-ppc.a
|
||||
strip e200rpatcher-ppc
|
||||
|
||||
bin2c: ../sansapatcher/bin2c.c
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue