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



Rockbox mail archive

Subject: Re: make clean

Re: make clean

From: Ralf Herz <herz42_at_gmx.de>
Date: 2006-04-07

This is my first mail to this mailing list, so: Hi everybody!

XavierGr wrote:

> Of course you can even build outside of the source dir.
> e.g if you have /home/user/source/ you can make a build to
> /home/user/target/
> you will just have to run configure inside the folder "target" typing
> "../source/tools/configure"
>
> Plase correct me if I am wrong.

I also started with the approach to have the build directory not
inside the directory structure checked out from cvs, but at the
same level of the rootdir.
That works, as long as you only have one checkout of the rockbox
repository.

Note that it doesn't work to have the build dir 'anywhere', as
configure finds the source files by just searching some parts of
the file system relative to the build dir
("for dir in . .. ../.. ../rockbox*; do").

What drove me almost crazy, was a second checkout of the source
tree. Even if configure is ran inside the second source tree, it
will use whatever copy of the sources it finds first with its
file system search :(
So I highly recommend to have the build dir as a subdir of the
source root dir (as written in the wiki docs).

Ralf

-- 
Echte DSL-Flatrate dauerhaft für 0,- Euro*!
"Feel free" mit GMX DSL! http://www.gmx.net/de/go/dsl
Received on Fri Apr 7 11:26:26 2006

Page was last modified "Jan 10 2012" The Rockbox Crew
aaa