1 |
On Thu, 2009-03-26 at 08:26 +0100, Markus Duft wrote: |
2 |
> On Wed, 2009-03-25 at 11:44 -0700, Ned Ludd wrote: |
3 |
> > While much of what you are talking about here mainly applies to prefix, |
4 |
> > it looks to me from glancing over the code that you might of solved a |
5 |
> > long standing problem in the embedded world with cross compiling via |
6 |
> > portage. 222895 If that is the case, then I owe you a beer. one about |
7 |
> > the size of a keg. |
8 |
|
9 |
> hmm... looking over that patch again, the only EPREFIX dependent thing |
10 |
> is, that i'm removing EPREFIX from the vartree class again :) so this |
11 |
> should pretty much plain apply to main too, and simply work. you may |
12 |
> want to rename READONLY_EPREFIX to READONLY_ROOT, but thats it :) |
13 |
|
14 |
> then add to make.conf: READONLY_ROOT=/my/other/root:DEPEND |
15 |
|
16 |
IMO, for non-prefix this is useful for [[ $ROOT != '/' ]] only, with |
17 |
either CHOST (root=$ROOT) being equal to CBUILD (root='/') or not. |
18 |
And the only two senseful values for READONLY_ROOT in make.conf are: |
19 |
1. "/:DEPEND" |
20 |
To skip merging cmdline utilities (=DEPEND) to host-root (=$ROOT), by |
21 |
resolving them from build-root (='/'). |
22 |
2. <unset> |
23 |
To merge all DEPENDs to host-root (=$ROOT), although they are still |
24 |
used from build-root (='/') during build. |
25 |
|
26 |
/haubi/ |
27 |
-- |
28 |
Michael Haubenwallner |
29 |
Gentoo on a different level |