1 |
Mike Frysinger <vapier@g.o> wrote on 2010/09/28 04:33:38: |
2 |
|
3 |
> From: Mike Frysinger <vapier@g.o> |
4 |
> To: Joakim Tjernlund <joakim.tjernlund@×××××××××.se> |
5 |
> Cc: gentoo-embedded@l.g.o |
6 |
> Date: 2010/09/28 05:00 |
7 |
> Subject: Re: [gentoo-embedded] e300c3/c3 cpu support for glibc ports |
8 |
> |
9 |
> On Monday, September 27, 2010 10:55:32 Joakim Tjernlund wrote: |
10 |
> > Mike Frysinger wrote on 2010/09/25 08:07:15: |
11 |
> > > On Friday, September 24, 2010 12:22:19 Joakim Tjernlund wrote: |
12 |
> > > > This is what I came up with to make glibc support |
13 |
> > > > --with-cpu=e300c2 |
14 |
> > > |
15 |
> > > mail it to libc-ports ? |
16 |
> > |
17 |
> > Upstream doesn't want it as it only adds --with-cpu= syntax |
18 |
> > and don't change anything else. |
19 |
> > That implies crossdev needs to grow support different configure options |
20 |
> > for glibc/gcc/binutils etc. |
21 |
> > I guess that is the normal way non gentoo devs builds toolchains? |
22 |
> |
23 |
> portage already has per-package env support |
24 |
|
25 |
But you said earlier: |
26 |
you'd have to use per-package env manually: |
27 |
/etc/portage/env/$CATEGORY/$PN |
28 |
|
29 |
but crossdev likes to clobber this file for you. so i guess i should |
30 |
extend crossdev with --env-xxx options so people can add their own. |
31 |
|
32 |
So currently there is no way to pass in different configure options? |
33 |
|
34 |
I would be happy some extra env var like |
35 |
CROSS_CC_CONF |
36 |
CROSS_LIBC_CONF |
37 |
that would be appended to EXTRA_ECONF |
38 |
|
39 |
configure options that gets passed directly to crossdev |
40 |
works too. |
41 |
|
42 |
Jocke |