1 |
On Sun, 2008-06-22 at 06:12 -0400, Mike Frysinger wrote: |
2 |
> On Sunday 22 June 2008, Ned Ludd wrote: |
3 |
> > On Sat, 2008-06-21 at 23:29 -0400, Mike Frysinger wrote: |
4 |
> > > On Saturday 21 June 2008, Ned Ludd wrote: |
5 |
> > > for the configure tests, ive been meaning to investigate switching over |
6 |
> > > to a config.site rather than exporting them through the environment ... |
7 |
> > |
8 |
> > I'll see what I can snag from here. |
9 |
> > https://dev.openwrt.org/browser/trunk/include/site (hate traq) |
10 |
> > Any tips/links to some others? |
11 |
> |
12 |
> it's just an idea i had floating around. havent actually looked into |
13 |
> implementation details. but if another project is already maintaining the |
14 |
> site files, then we should push our little differences to them and then just |
15 |
> start using their work ;). |
16 |
|
17 |
|
18 |
> > > for the CHOST, how about checking $0 ? so people can symlink like: |
19 |
> > > x86_64-pc-linux-gnu-emerge and then they can just run that without |
20 |
> > > needing anything set in the |
21 |
> > > environment ... that's how i generally multiplex my cross scripts for |
22 |
> > > multiple targets. |
23 |
> > |
24 |
> > I have it right now as emerge-CHOST. |
25 |
> > I figured the logic there that CHOST-* should be mostly |
26 |
> > reserved for the toolchain, plus it's easier for me to emerge-\t\t and |
27 |
> > pull in the right wrapper foo for whatever I'm working on. |
28 |
> |
29 |
> i think having it all be CHOST- prefixed rather than suffixed is better for |
30 |
> consistency. or just provide both :). |
31 |
|
32 |
done. |
33 |
|
34 |
> > When you run emerge-wrapper --init |
35 |
> > it sets up all the symlink love which would probably be run a |
36 |
> > pkg_postinst(). |
37 |
> |
38 |
|
39 |
> i mean when you do `crossdev FOO`, it'll create symlinks in /usr/bin/ to the |
40 |
> wrappers already ... no need for the user to run any other commands in the |
41 |
> default case ... |
42 |
> |
43 |
> cant really divine what targets need what love from a pkg_postinst() |
44 |
|
45 |
That seems logical moving forward. But for ppl who installed crossdev |
46 |
before "next-release" benefit from being able to quickly have everything |
47 |
initialized without having to crossdev merge everything again. |
48 |
|
49 |
> > > we could have crossdev manage the symlinks automatically as well so they |
50 |
> > > get the ...-emerge and ...-pkg-config by default. and setup the |
51 |
> > > PORTAGE_CONFIGROOT too ... |
52 |
> > |
53 |
> > Yep that's what it does. I'll move the pkg over to usr/share/crossdev/ |
54 |
> > Got a crossdev in cvs/svn some place so I can create a ./wrappers |
55 |
> > subdir? |
56 |
> ive been lazy and maintaining crossdev in $FILESDIR ... if you want to ask |
57 |
> robbat2 for a crossdev git or svn, we can transition to that. |
58 |
> -mike |
59 |
|
60 |
|
61 |
done. |
62 |
|
63 |
http://sources.gentoo.org/gitweb/?p=crossdev.git;a=summary |
64 |
|
65 |
http://sources.gentoo.org/gitweb/?p=crossdev.git;a=snapshot;sf=tbz2 |
66 |
|
67 |
-- |
68 |
gentoo-embedded@l.g.o mailing list |