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: Fri, 7 Apr 2006 11:24:57 +0200 (MEST)

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 2006-04-07

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