Rockbox.org home
release
dev builds
extras
themes manual
wiki
device status forums
mailing lists
IRC bugs
patches
dev guide
translations



Rockbox mail archive

Subject: build your own archos.mod

build your own archos.mod

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Thu, 23 May 2002 16:46:47 +0200 (MET DST)

Activities on the IRC channel today included the creation of a 'configure'
script for setting up your build directory. The script is located in the
tools directory in CVS. (The script is a shell script, should work on just
about any unix or cygwin setup.)

So how to proceed:

1. Check out 'firmware' and 'apps' from CVS. You probably want to check out
'tools' too (to get the configure script if nothing else) and possibly the
uisimulator too (for trying out things on host before making target tests).

2. Create your own build directory. This is where all generated files will be
put.

3. In the build directory, run the 'tools/configure' script and enter what
target you want to build for and if you want a debug version or not. It'll
prompt you.

4. *ploink*. Now you have got a Makefile generated for you. Run 'make' and
soon the necessary pieces from the firmware and the apps directories have
been compiled and linked. Then copy the archos.mod file to your archos,
reboot it and *smile*.

Whenever the tools/configure script gets updated, you can make your makefile
updated too by running 'tools/configure update'

If you want to build for more than one target, just create a new build
directory and create a setup for another target combination in there.

While this seems to work, it hasn't been in use very long so it of course
helps if you report problems.

Questions anyone? Now, there's nothing to wait for. Get all this, build all
this and jump into the debugging! :-)

-- 
  Daniel Stenberg -- Rocking the box => http://bjorn.haxx.se/rockbox/
Received on 2002-05-23

Page template was last modified "Tue Sep 7 00:00:02 2021" The Rockbox Crew -- Privacy Policy