Gentoo Archives: gentoo-embedded

From: Mike Frysinger <vapier@g.o>
To: gentoo-embedded@l.g.o
Subject: Re: [gentoo-embedded] crossdev improvements
Date: Fri, 01 Oct 2010 01:07:38
Message-Id: 201009302036.44607.vapier@gentoo.org
In Reply to: Re: [gentoo-embedded] crossdev improvements by Joakim Tjernlund
1 On Thursday, September 30, 2010 11:38:58 Joakim Tjernlund wrote:
2 > So I tried this(using --portage -b instead) and I don't quite get it to
3 > work. My binpkg foo is pretty much non existing :)
4 >
5 > So far I get a bin pkg in
6 > /usr/portage/packages/cross/powerpc-4.4.4_softfloat-linux-gnu/cross-powerpc
7 > -4.4.4_softfloat-linux-gnu and to get at it I must change PKGDIR to
8 > /usr/portage/packages/cross/powerpc-4.4.4_softfloat-linux-gnu/ get at the
9 > package. Does it have to be there or could it be moved to
10 > /usr/portage/packages/ so emerge finds it without messing with PKGDIR?
11
12 crossdev itself forces a PKGDIR subdir. this dates back 5.5 years at this
13 point. at the time, i was experimenting with same $CATEGORY value as the
14 system and only differentiating by SLOT, but portage cant handle that: sys-
15 devel/gcc-4.4.4-r1:SLOT=i686-pc-linux-gnu will collide with sys-
16 devel/gcc-4.4.4-r1:SLOT=powerpc-unknown-linux-gnu in /var/db/pkg/. since
17 ultimately i didnt go that direction (we have the cross-xxx CATEGORY value
18 now), i guess i can drop the PKGDIR munging completely from crossdev.
19
20 > Next problem, how do I force other computers to use the bin pkg? Unless one
21 > passes -G to emerge, emerge rebuilds the pkg and I don't want that
22 > as I have passed EXTRA_ECONF args and added a small patch to glibc as well.
23
24 man emerge -> -K
25 -mike

Attachments

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

Replies

Subject Author
Re: [gentoo-embedded] crossdev improvements Joakim Tjernlund <joakim.tjernlund@×××××××××.se>