diff options
author | Barry Wardell <rockbox@barrywardell.net> | 2009-10-30 13:31:04 +0000 |
---|---|---|
committer | Barry Wardell <rockbox@barrywardell.net> | 2009-10-30 13:31:04 +0000 |
commit | 304fcbe6330aa913d02155df0f1425cee8da6593 (patch) | |
tree | 2868564dc3c1373ee6f58320aa2aa278ee88148b /utils/MTP/beastpatcher/README | |
parent | a521c5fc67a9ef6730496153a8c289c4fee78d01 (diff) | |
download | rockbox-304fcbe6330aa913d02155df0f1425cee8da6593.tar.gz rockbox-304fcbe6330aa913d02155df0f1425cee8da6593.zip |
Get beastpatcher working on OSX.
I don't know why we need to split the compiling and linking steps on OSX, but this was the only way
I could get static linking against libusb and libmtp to work.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23418 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'utils/MTP/beastpatcher/README')
-rw-r--r-- | utils/MTP/beastpatcher/README | 26 |
1 files changed, 22 insertions, 4 deletions
diff --git a/utils/MTP/beastpatcher/README b/utils/MTP/beastpatcher/README index a7ddc753d0..d52dfc355b 100644 --- a/utils/MTP/beastpatcher/README +++ b/utils/MTP/beastpatcher/README | |||
@@ -41,10 +41,28 @@ After this, just type "make" to get a | |||
41 | OS X | 41 | OS X |
42 | ---- | 42 | ---- |
43 | 43 | ||
44 | [Not yet implemented] | 44 | The OS X build is a universal binary statically linked with libusb and libmtp. |
45 | 45 | It has been tested with libusb version 0.1.12 and libmtp version 1.0.1. | |
46 | The OS X build is a universal binary statically linked with libusb and libmtp. | 46 | |
47 | 47 | The following files are expected the beaspatcher source directory: | |
48 | |||
49 | Intel: | ||
50 | libusb: usb.h libusb-i386.a | ||
51 | libmtp: libmtp.h libmtp-i386.a | ||
52 | |||
53 | PowerPC: | ||
54 | libusb: usb.h libusb-ppc.a | ||
55 | libmtp: libmtp.h libmtp-ppc.a | ||
56 | |||
57 | These are easily compiled from source using the standard | ||
58 | './configure && make'. Look in .libs for libusb.a and src/.libs for libmtp.a, | ||
59 | and make sure to rename them to their -i386/-ppc filenames when copying into | ||
60 | the beastpatcher directory. | ||
61 | |||
62 | After this, just type "make beastpatcher-mac" to get a universal binary. If you | ||
63 | only want a binary for a particular architecture, you can use | ||
64 | "make beastpatcher-i386" or "make beastpatcher-ppc" instead. In this case, you | ||
65 | only need the libusb and libmtp library for your desired architecture. | ||
48 | 66 | ||
49 | 67 | ||
50 | Windows | 68 | Windows |