Gentoo Archives: gentoo-embedded

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

Attachments

File name MIME type
signature.asc application/pgp-signature

Replies

Subject Author
Re: [gentoo-embedded] e300c3/c3 cpu support for glibc ports Joakim Tjernlund <joakim.tjernlund@×××××××××.se>