Gentoo Archives: gentoo-embedded

From: Joakim Tjernlund <joakim.tjernlund@×××××××××.se>
To: Mike Frysinger <vapier@g.o>
Cc: gentoo-embedded@l.g.o
Subject: Re: [gentoo-embedded] [PATCH] Move ARCH and ELIBC to local profile
Date: Sun, 02 Feb 2014 19:16:38
Message-Id: OF73E8C157.051E8500-ONC1257C73.00694990-C1257C73.0069E2B1@transmode.se
In Reply to: Re: [gentoo-embedded] [PATCH] Move ARCH and ELIBC to local profile by Mike Frysinger
1 Mike Frysinger <vapier@g.o> wrote on 2014/02/01 08:08:04:
2
3 > From: Mike Frysinger <vapier@g.o>
4 > To: gentoo-embedded@l.g.o
5 > Cc: Joakim Tjernlund <joakim.tjernlund@×××××××××.se>
6 > Date: 2014/02/01 08:08
7 > Subject: Re: [gentoo-embedded] [PATCH] Move ARCH and ELIBC to local
8 profile
9 >
10 > On Thursday, January 30, 2014 21:49:24 Joakim Tjernlund wrote:
11 > > Mike Frysinger <vapier@g.o> wrote on 2014/01/30 20:12:54:
12 > > > On Wednesday, January 29, 2014 17:58:46 Joakim Tjernlund wrote:
13 > > > > As both ARCH and ELIBC are PROFILE_ONLY vars one cannot
14 > > > > define these in make.conf.
15 > > > > Move these to etc/portage/profile/make.defaults which is part
16 > > > > of the profile.
17 > > >
18 > > > i've been thinking we should stop using the embedded profile
19 entirely.
20 > > > instead, scan profiles.desc and pick the first one there that
21 matches
22 > > > ARCH.
23 > >
24 > > That would pull in a lot of pkgs into the embedded space, would it
25 not?
26 >
27 > it would to a degree. i really really don't want crossdev to get into
28 the
29 > business of generating profiles.
30 >
31 > the other aspect is that the embedded profile does not import all the
32 arch-
33 > specific details that profiles/arch/$ARCH/ contain (which is why
34 crossdev has
35 > this ARCH hack in the first place). or all the profiles/default/linux/
36 stuff
37 > (for linux targets).
38 >
39 > what CTARGET do you normally use ?
40
41 Mostly powerpc-xxx-linux-gnu and powerpc-softfloat-linux-gnu
42 but just started with x86_64-xxx-linux-gnu too.
43
44 BTW, while I remember, crossdev creates stuff under
45 /etc/portage(categories and build env.)
46 Would be great if this could be redirected to an overlay so one can have
47 everything
48 one needs to build the toolchain.
49
50 Jocke