1 |
On Sat, 2008-06-21 at 23:29 -0400, Mike Frysinger wrote: |
2 |
> On Saturday 21 June 2008, Ned Ludd wrote: |
3 |
> > Ok with how you have SYSROOT + ROOT + PORTAGE_CONFIG working I think |
4 |
> > I've been able to come up with a decent set of cross compile wrappers |
5 |
> > that should be usable by everybody for the ideal cross compile setups. |
6 |
> > No more of the 'xmerge' foo. This should do it right. |
7 |
> |
8 |
> for pkg-config, you may want to merge many of the things ive done here: |
9 |
> http://blackfin.uclinux.org/gf/project/uclinux-dist/scmsvn/?action=browse&path=%2Ftrunk%2Ftools%2Fstaging-pkg-config&revision=5937&view=markup |
10 |
|
11 |
Ok I snagged the error checking and QA check. |
12 |
|
13 |
> for the configure tests, ive been meaning to investigate switching over to a |
14 |
> config.site rather than exporting them through the environment ... |
15 |
|
16 |
I'll see what I can snag from here. |
17 |
https://dev.openwrt.org/browser/trunk/include/site (hate traq) |
18 |
Any tips/links to some others? |
19 |
|
20 |
> you should change the shebang to #!/bin/bash for all of those since they arent |
21 |
> POSIX ... easier that way too |
22 |
|
23 |
ok |
24 |
|
25 |
> for the CHOST, how about checking $0 ? so people can symlink like: |
26 |
> x86_64-pc-linux-gnu-emerge and then they can just run that without |
27 |
> needing anything set in the |
28 |
> environment ... that's how i generally multiplex my cross scripts for |
29 |
> multiple targets. |
30 |
|
31 |
I have it right now as emerge-CHOST. When you run emerge-wrapper --init |
32 |
it sets up all the symlink love which would probably be run a |
33 |
pkg_postinst(). I figured the logic there that CHOST-* should be mostly |
34 |
reserved for the toolchain, plus it's easier for me to emerge-\t\t and |
35 |
pull in the right wrapper foo for whatever I'm working on. |
36 |
|
37 |
> we could have crossdev manage the symlinks automatically as well so they get |
38 |
> the ...-emerge and ...-pkg-config by default. and setup the |
39 |
> PORTAGE_CONFIGROOT too ... |
40 |
|
41 |
Yep that's what it does. I'll move the pkg over to usr/share/crossdev/ |
42 |
Got a crossdev in cvs/svn some place so I can create a ./wrappers |
43 |
subdir? |
44 |
|
45 |
|
46 |
> > I want you to review.. And then tell me if it should be apart of |
47 |
> > crossdev or another pkg. |
48 |
> |
49 |
> crossdev should be fine i think |
50 |
> -mike |
51 |
|
52 |
-- |
53 |
gentoo-embedded@l.g.o mailing list |