Fix resampling clicking as much as possible at the moment. 1) Upsampling clicked...
[Rockbox.git] / docs / README
blobb4188568a4001dfd00d5fc47277929d07e4cf478
1                __________               __   ___.
2      Open      \______   \ ____   ____ |  | _\_ |__   _______  ___
3      Source     |       _//  _ \_/ ___\|  |/ /| __ \ /  _ \  \/  /
4      Jukebox    |    |   (  <_> )  \___|    < | \_\ (  <_> > <  <
5      Firmware   |____|_  /\____/ \___  >__|_ \|___  /\____/__/\_ \
6                        \/            \/     \/    \/            \/
8 Build Your Own Rockbox
10 1. Check out 'rockbox' from SVN (or extract a downloaded archive).
12    $ svn co svn://svn.rockbox.org/rockbox/trunk rockbox
14      or
16    $ tar xjf rockbox.tar.bz2
18 2. Create a build directory, preferably in the same directory as the firmware/
19    and apps/ directories. This is where all generated files will be written.
21    $ cd rockbox
22    $ mkdir build
23    $ cd build
25 4. In your build directory, run the 'tools/configure' script and enter what
26    target you want to build for and if you want a debug version or not (and a
27    few more questions). It'll prompt you. The debug version is for making a
28    gdb version out of it. It is only useful if you run gdb towards your target
29    Archos.
31    $ ../tools/configure
33 5. *ploink*. Now you have got a Makefile generated for you.
35 6. Make sure you have sh/arm/m68k-elf-gcc and siblings in the PATH. Make sure
36    that you have 'perl' in your PATH too.
38    $ which sh-elf-gcc
39    $ which perl
41 7. Run 'make' and soon the necessary pieces from the firmware and the apps
42    directories have been compiled, linked and scrambled for you.
44    $ make
45    $ make zip
47 8. unzip the rockbox.zip on your music player, reboot it and
48    *smile*.
50 Whenever the tools/configure script gets updated, you can make your makefile
51 updated too by running 'tools/configure update'.
53 If you want to build for more than one target, just create several build
54 directories and create a setup for each target:
56    $ mkdir build-fmrecorder
57    $ cd build-fmrecorder
58    $ ../tools/configure
60    $ mkdir build-player
61    $ cd build-player
62    $ ../tools/configure
64 Questions anyone? Ask on the mailing list. We'll be happy to help you!