public inbox for gentoo-embedded@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-embedded] Cross Wrappers
@ 2008-06-21 15:33 Ned Ludd
  2008-06-21 19:26 ` Jason
                   ` (2 more replies)
  0 siblings, 3 replies; 11+ messages in thread
From: Ned Ludd @ 2008-06-21 15:33 UTC (permalink / raw
  To: Mike Frysinger; +Cc: gentoo-embedded

Mike,

Ok with how you have SYSROOT + ROOT + PORTAGE_CONFIG working I think
I've been able to come up with a decent set of cross compile wrappers
that should be usable by everybody for the ideal cross compile setups.
No more of the 'xmerge' foo. This should do it right. 

I want you to review.. And then tell me if it should be apart of
crossdev or another pkg. 

Thanks in advance.

http://dev.gentoo.org/~solar/embedded/cross-wrappers-20080621.tar.bz2


-- 
Ned Ludd <solar@gentoo.org>

-- 
gentoo-embedded@lists.gentoo.org mailing list



^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [gentoo-embedded] Cross Wrappers
  2008-06-21 15:33 [gentoo-embedded] Cross Wrappers Ned Ludd
@ 2008-06-21 19:26 ` Jason
  2008-06-22  3:29 ` [gentoo-embedded] " Mike Frysinger
  2008-06-26 22:54 ` [gentoo-embedded] " Beber
  2 siblings, 0 replies; 11+ messages in thread
From: Jason @ 2008-06-21 19:26 UTC (permalink / raw
  To: gentoo-embedded

Ned Ludd wrote:
[snip]
> http://dev.gentoo.org/~solar/embedded/cross-wrappers-20080621.tar.bz2

Wow.  Amazing.

thx,

Jason.

-- 
gentoo-embedded@lists.gentoo.org mailing list



^ permalink raw reply	[flat|nested] 11+ messages in thread

* [gentoo-embedded] Re: Cross Wrappers
  2008-06-21 15:33 [gentoo-embedded] Cross Wrappers Ned Ludd
  2008-06-21 19:26 ` Jason
@ 2008-06-22  3:29 ` Mike Frysinger
  2008-06-22  5:14   ` Ned Ludd
  2008-06-26 22:54 ` [gentoo-embedded] " Beber
  2 siblings, 1 reply; 11+ messages in thread
From: Mike Frysinger @ 2008-06-22  3:29 UTC (permalink / raw
  To: Ned Ludd; +Cc: gentoo-embedded

[-- Attachment #1: Type: text/plain, Size: 1373 bytes --]

On Saturday 21 June 2008, Ned Ludd wrote:
> Ok with how you have SYSROOT + ROOT + PORTAGE_CONFIG working I think
> I've been able to come up with a decent set of cross compile wrappers
> that should be usable by everybody for the ideal cross compile setups.
> No more of the 'xmerge' foo. This should do it right.

for pkg-config, you may want to merge many of the things ive done here:
http://blackfin.uclinux.org/gf/project/uclinux-dist/scmsvn/?action=browse&path=%2Ftrunk%2Ftools%2Fstaging-pkg-config&revision=5937&view=markup

for the configure tests, ive been meaning to investigate switching over to a 
config.site rather than exporting them through the environment ...

you should change the shebang to #!/bin/bash for all of those since they arent 
POSIX ... easier that way too

for the CHOST, how about checking $0 ?  so people can symlink like:
x86_64-pc-linux-gnu-emerge
and then they can just run that without needing anything set in the 
environment ... that's how i generally multiplex my cross scripts for 
multiple targets.

we could have crossdev manage the symlinks automatically as well so they get 
the ...-emerge and ...-pkg-config by default.  and setup the 
PORTAGE_CONFIGROOT too ...

> I want you to review.. And then tell me if it should be apart of
> crossdev or another pkg.

crossdev should be fine i think
-mike

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 835 bytes --]

^ permalink raw reply	[flat|nested] 11+ messages in thread

* [gentoo-embedded] Re: Cross Wrappers
  2008-06-22  3:29 ` [gentoo-embedded] " Mike Frysinger
@ 2008-06-22  5:14   ` Ned Ludd
  2008-06-22 10:12     ` Mike Frysinger
  0 siblings, 1 reply; 11+ messages in thread
From: Ned Ludd @ 2008-06-22  5:14 UTC (permalink / raw
  To: Mike Frysinger; +Cc: gentoo-embedded


On Sat, 2008-06-21 at 23:29 -0400, Mike Frysinger wrote:
> On Saturday 21 June 2008, Ned Ludd wrote:
> > Ok with how you have SYSROOT + ROOT + PORTAGE_CONFIG working I think
> > I've been able to come up with a decent set of cross compile wrappers
> > that should be usable by everybody for the ideal cross compile setups.
> > No more of the 'xmerge' foo. This should do it right.
> 
> for pkg-config, you may want to merge many of the things ive done here:
> http://blackfin.uclinux.org/gf/project/uclinux-dist/scmsvn/?action=browse&path=%2Ftrunk%2Ftools%2Fstaging-pkg-config&revision=5937&view=markup

Ok I snagged the error checking and QA check.

> for the configure tests, ive been meaning to investigate switching over to a 
> config.site rather than exporting them through the environment ...

I'll see what I can snag from here.
https://dev.openwrt.org/browser/trunk/include/site (hate traq)
Any tips/links to some others?

> you should change the shebang to #!/bin/bash for all of those since they arent 
> POSIX ... easier that way too

ok

> for the CHOST, how about checking $0 ?  so people can symlink like:
> x86_64-pc-linux-gnu-emerge and then they can just run that without 
> needing anything set in the 
> environment ... that's how i generally multiplex my cross scripts for 
> multiple targets.

I have it right now as emerge-CHOST. When you run emerge-wrapper --init
it sets up all the symlink love which would probably be run a
pkg_postinst(). I figured the logic there that CHOST-* should be mostly
reserved for the toolchain, plus it's easier for me to emerge-\t\t and
pull in the right wrapper foo for whatever I'm working on. 

> we could have crossdev manage the symlinks automatically as well so they get 
> the ...-emerge and ...-pkg-config by default.  and setup the 
> PORTAGE_CONFIGROOT too ...

Yep that's what it does. I'll move the pkg over to usr/share/crossdev/
Got a crossdev in cvs/svn some place so I can create a ./wrappers 
subdir?


> > I want you to review.. And then tell me if it should be apart of
> > crossdev or another pkg.
> 
> crossdev should be fine i think
> -mike

-- 
gentoo-embedded@lists.gentoo.org mailing list



^ permalink raw reply	[flat|nested] 11+ messages in thread

* [gentoo-embedded] Re: Cross Wrappers
  2008-06-22  5:14   ` Ned Ludd
@ 2008-06-22 10:12     ` Mike Frysinger
  2008-06-23 14:37       ` Ned Ludd
  2008-07-03 13:45       ` Christopher Friedt
  0 siblings, 2 replies; 11+ messages in thread
From: Mike Frysinger @ 2008-06-22 10:12 UTC (permalink / raw
  To: Ned Ludd; +Cc: gentoo-embedded

[-- Attachment #1: Type: text/plain, Size: 2200 bytes --]

On Sunday 22 June 2008, Ned Ludd wrote:
> On Sat, 2008-06-21 at 23:29 -0400, Mike Frysinger wrote:
> > On Saturday 21 June 2008, Ned Ludd wrote:
> > for the configure tests, ive been meaning to investigate switching over
> > to a config.site rather than exporting them through the environment ...
>
> I'll see what I can snag from here.
> https://dev.openwrt.org/browser/trunk/include/site (hate traq)
> Any tips/links to some others?

it's just an idea i had floating around.  havent actually looked into 
implementation details.  but if another project is already maintaining the 
site files, then we should push our little differences to them and then just 
start using their work ;).

> > for the CHOST, how about checking $0 ?  so people can symlink like:
> > x86_64-pc-linux-gnu-emerge and then they can just run that without
> > needing anything set in the
> > environment ... that's how i generally multiplex my cross scripts for
> > multiple targets.
>
> I have it right now as emerge-CHOST.
> I figured the logic there that CHOST-* should be mostly 
> reserved for the toolchain, plus it's easier for me to emerge-\t\t and
> pull in the right wrapper foo for whatever I'm working on.

i think having it all be CHOST- prefixed rather than suffixed is better for 
consistency.  or just provide both :).

> When you run emerge-wrapper --init 
> it sets up all the symlink love which would probably be run a
> pkg_postinst().

i mean when you do `crossdev FOO`, it'll create symlinks in /usr/bin/ to the 
wrappers already ... no need for the user to run any other commands in the 
default case ...

cant really divine what targets need what love from a pkg_postinst()

> > we could have crossdev manage the symlinks automatically as well so they
> > get the ...-emerge and ...-pkg-config by default.  and setup the
> > PORTAGE_CONFIGROOT too ...
>
> Yep that's what it does. I'll move the pkg over to usr/share/crossdev/
> Got a crossdev in cvs/svn some place so I can create a ./wrappers
> subdir?

ive been lazy and maintaining crossdev in $FILESDIR ... if you want to ask 
robbat2 for a crossdev git or svn, we can transition to that.
-mike

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 835 bytes --]

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [gentoo-embedded] Re: Cross Wrappers
  2008-06-22 10:12     ` Mike Frysinger
@ 2008-06-23 14:37       ` Ned Ludd
  2008-06-23 15:38         ` Mike Frysinger
  2008-07-03 13:45       ` Christopher Friedt
  1 sibling, 1 reply; 11+ messages in thread
From: Ned Ludd @ 2008-06-23 14:37 UTC (permalink / raw
  To: gentoo-embedded


On Sun, 2008-06-22 at 06:12 -0400, Mike Frysinger wrote:
> On Sunday 22 June 2008, Ned Ludd wrote:
> > On Sat, 2008-06-21 at 23:29 -0400, Mike Frysinger wrote:
> > > On Saturday 21 June 2008, Ned Ludd wrote:
> > > for the configure tests, ive been meaning to investigate switching over
> > > to a config.site rather than exporting them through the environment ...
> >
> > I'll see what I can snag from here.
> > https://dev.openwrt.org/browser/trunk/include/site (hate traq)
> > Any tips/links to some others?
> 
> it's just an idea i had floating around.  havent actually looked into 
> implementation details.  but if another project is already maintaining the 
> site files, then we should push our little differences to them and then just 
> start using their work ;).


> > > for the CHOST, how about checking $0 ?  so people can symlink like:
> > > x86_64-pc-linux-gnu-emerge and then they can just run that without
> > > needing anything set in the
> > > environment ... that's how i generally multiplex my cross scripts for
> > > multiple targets.
> >
> > I have it right now as emerge-CHOST.
> > I figured the logic there that CHOST-* should be mostly 
> > reserved for the toolchain, plus it's easier for me to emerge-\t\t and
> > pull in the right wrapper foo for whatever I'm working on.
> 
> i think having it all be CHOST- prefixed rather than suffixed is better for 
> consistency.  or just provide both :).

done.

> > When you run emerge-wrapper --init 
> > it sets up all the symlink love which would probably be run a
> > pkg_postinst().
> 

> i mean when you do `crossdev FOO`, it'll create symlinks in /usr/bin/ to the 
> wrappers already ... no need for the user to run any other commands in the 
> default case ...
> 
> cant really divine what targets need what love from a pkg_postinst()

That seems logical moving forward. But for ppl who installed crossdev
before "next-release" benefit from being able to quickly have everything
initialized without having to crossdev merge everything again.

> > > we could have crossdev manage the symlinks automatically as well so they
> > > get the ...-emerge and ...-pkg-config by default.  and setup the
> > > PORTAGE_CONFIGROOT too ...
> >
> > Yep that's what it does. I'll move the pkg over to usr/share/crossdev/
> > Got a crossdev in cvs/svn some place so I can create a ./wrappers
> > subdir?
> ive been lazy and maintaining crossdev in $FILESDIR ... if you want to ask 
> robbat2 for a crossdev git or svn, we can transition to that.
> -mike


done.

http://sources.gentoo.org/gitweb/?p=crossdev.git;a=summary

http://sources.gentoo.org/gitweb/?p=crossdev.git;a=snapshot;sf=tbz2

-- 
gentoo-embedded@lists.gentoo.org mailing list



^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [gentoo-embedded] Re: Cross Wrappers
  2008-06-23 14:37       ` Ned Ludd
@ 2008-06-23 15:38         ` Mike Frysinger
  0 siblings, 0 replies; 11+ messages in thread
From: Mike Frysinger @ 2008-06-23 15:38 UTC (permalink / raw
  To: gentoo-embedded

[-- Attachment #1: Type: text/plain, Size: 1687 bytes --]

On Monday 23 June 2008, Ned Ludd wrote:
> On Sun, 2008-06-22 at 06:12 -0400, Mike Frysinger wrote:
> > On Sunday 22 June 2008, Ned Ludd wrote:
> > > When you run emerge-wrapper --init
> > > it sets up all the symlink love which would probably be run a
> > > pkg_postinst().
> >
> > i mean when you do `crossdev FOO`, it'll create symlinks in /usr/bin/ to
> > the wrappers already ... no need for the user to run any other commands
> > in the default case ...
> >
> > cant really divine what targets need what love from a pkg_postinst()
>
> That seems logical moving forward. But for ppl who installed crossdev
> before "next-release" benefit from being able to quickly have everything
> initialized without having to crossdev merge everything again.

sure.  i wasnt suggesting we get rid of the old method, just that we 
streamline things in the default case.

> > > > we could have crossdev manage the symlinks automatically as well so
> > > > they get the ...-emerge and ...-pkg-config by default.  and setup the
> > > > PORTAGE_CONFIGROOT too ...
> > >
> > > Yep that's what it does. I'll move the pkg over to usr/share/crossdev/
> > > Got a crossdev in cvs/svn some place so I can create a ./wrappers
> > > subdir?
> >
> > ive been lazy and maintaining crossdev in $FILESDIR ... if you want to
> > ask robbat2 for a crossdev git or svn, we can transition to that.
>
> done.
>
> http://sources.gentoo.org/gitweb/?p=crossdev.git;a=summary
>
> http://sources.gentoo.org/gitweb/?p=crossdev.git;a=snapshot;sf=tbz2

erm, i know how to access the old git site, but not the one on sources.g.o, 
and gitweb isnt configured there to show URLs ...
-mike

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 835 bytes --]

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [gentoo-embedded] Cross Wrappers
  2008-06-21 15:33 [gentoo-embedded] Cross Wrappers Ned Ludd
  2008-06-21 19:26 ` Jason
  2008-06-22  3:29 ` [gentoo-embedded] " Mike Frysinger
@ 2008-06-26 22:54 ` Beber
  2008-06-26 23:13   ` Ned Ludd
  2 siblings, 1 reply; 11+ messages in thread
From: Beber @ 2008-06-26 22:54 UTC (permalink / raw
  To: gentoo-embedded; +Cc: solar, Mike Frysinger

[-- Attachment #1: Type: text/plain, Size: 1303 bytes --]

Le samedi 21 juin à 08:33:57, « Ned Ludd » à écrit :

> Mike,
> 
> Ok with how you have SYSROOT + ROOT + PORTAGE_CONFIG working I think
> I've been able to come up with a decent set of cross compile wrappers
> that should be usable by everybody for the ideal cross compile setups.
> No more of the 'xmerge' foo. This should do it right. 
> 
> I want you to review.. And then tell me if it should be apart of
> crossdev or another pkg. 
> 
> Thanks in advance.
> 
> http://dev.gentoo.org/~solar/embedded/cross-wrappers-20080621.tar.bz2

That's really nice. I started something like that some days ago, and
found the idea of integrating this in crossdev is something I smell
fine :)

Also, I've a regret, which take me a lot to think about is the
separation of SYSROOT for DEPENDS and RDEPENDS.

Here, SYSROOT is always /usr/${CHOST} which is fine to build system but
not to have an image of what you'll get (Or if you want build multiple
different system with same CHOST, different config, packages, debug
level or anything else). Yes, you can apply filter when building
initrd/fs/whatever, but that could benefic to don't have to. Same note
for PORTAGE_CONFIGROOT.

Any plan to achieve this ?

Any interesment of what I did to "wrap" that ?

Thanks

-- 
Beber

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 197 bytes --]

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [gentoo-embedded] Cross Wrappers
  2008-06-26 22:54 ` [gentoo-embedded] " Beber
@ 2008-06-26 23:13   ` Ned Ludd
  0 siblings, 0 replies; 11+ messages in thread
From: Ned Ludd @ 2008-06-26 23:13 UTC (permalink / raw
  To: gentoo-embedded; +Cc: Mike Frysinger


On Fri, 2008-06-27 at 00:54 +0200, Beber wrote:
> Le samedi 21 juin à 08:33:57, « Ned Ludd » à écrit :
> 
> > Mike,
> > 
> > Ok with how you have SYSROOT + ROOT + PORTAGE_CONFIG working I think
> > I've been able to come up with a decent set of cross compile wrappers
> > that should be usable by everybody for the ideal cross compile setups.
> > No more of the 'xmerge' foo. This should do it right. 
> > 
> > I want you to review.. And then tell me if it should be apart of
> > crossdev or another pkg. 
> > 
> > Thanks in advance.
> > 
> > http://dev.gentoo.org/~solar/embedded/cross-wrappers-20080621.tar.bz2
> 
> That's really nice. I started something like that some days ago, and
> found the idea of integrating this in crossdev is something I smell
> fine :)
> 
> Also, I've a regret, which take me a lot to think about is the
> separation of SYSROOT for DEPENDS and RDEPENDS.
> 
> Here, SYSROOT is always /usr/${CHOST} which is fine to build system but
> not to have an image of what you'll get (Or if you want build multiple
> different system with same CHOST, different config, packages, debug
> level or anything else). Yes, you can apply filter when building
> initrd/fs/whatever, but that could benefic to don't have to. Same note
> for PORTAGE_CONFIGROOT.
> 
> Any plan to achieve this ?
> 
> Any interesment of what I did to "wrap" that ?

Thats how the my old wrappers behaved more or less. But SYSPOOP kinda 
locks us into using it. Thus having unique ROOT's with unique USE= flags
is a bit of a pita. But when following the SYSROOT system everything
worse pretty well. It's kinda a trade off.


-- 
gentoo-embedded@lists.gentoo.org mailing list



^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [gentoo-embedded] Re: Cross Wrappers
  2008-06-22 10:12     ` Mike Frysinger
  2008-06-23 14:37       ` Ned Ludd
@ 2008-07-03 13:45       ` Christopher Friedt
  2008-07-03 14:34         ` Ned Ludd
  1 sibling, 1 reply; 11+ messages in thread
From: Christopher Friedt @ 2008-07-03 13:45 UTC (permalink / raw
  To: gentoo-embedded

Hi Ned & Mike,

I like the fix_la_files() and fix_pkgconfig_files() functions in 
cross-fix-root.

Prefixing emerge with CHOST- might be better because of tab completion - 
i.e. using x86_64-pc-linux-gnu-[tab] would give you several results 
including gcc, emerge, etc. At least it would be more uniform in any 
case and uniformity makes it much easier to incorporate into other code.

If your changes were incorporated into crossdev, so that the wrappers 
were automatically generated per-toolchain (or even if symlinks were 
made and $0 was checked), that would be awesome.

Chris

Mike Frysinger wrote:
> On Sunday 22 June 2008, Ned Ludd wrote:
>> On Sat, 2008-06-21 at 23:29 -0400, Mike Frysinger wrote:
>>> On Saturday 21 June 2008, Ned Ludd wrote:
>>> for the configure tests, ive been meaning to investigate switching over
>>> to a config.site rather than exporting them through the environment ...
>> I'll see what I can snag from here.
>> https://dev.openwrt.org/browser/trunk/include/site (hate traq)
>> Any tips/links to some others?
> 
> it's just an idea i had floating around.  havent actually looked into 
> implementation details.  but if another project is already maintaining the 
> site files, then we should push our little differences to them and then just 
> start using their work ;).
> 
>>> for the CHOST, how about checking $0 ?  so people can symlink like:
>>> x86_64-pc-linux-gnu-emerge and then they can just run that without
>>> needing anything set in the
>>> environment ... that's how i generally multiplex my cross scripts for
>>> multiple targets.
>> I have it right now as emerge-CHOST.
>> I figured the logic there that CHOST-* should be mostly 
>> reserved for the toolchain, plus it's easier for me to emerge-\t\t and
>> pull in the right wrapper foo for whatever I'm working on.
> 
> i think having it all be CHOST- prefixed rather than suffixed is better for 
> consistency.  or just provide both :).
> 
>> When you run emerge-wrapper --init 
>> it sets up all the symlink love which would probably be run a
>> pkg_postinst().
> 
> i mean when you do `crossdev FOO`, it'll create symlinks in /usr/bin/ to the 
> wrappers already ... no need for the user to run any other commands in the 
> default case ...
> 
> cant really divine what targets need what love from a pkg_postinst()
> 
>>> we could have crossdev manage the symlinks automatically as well so they
>>> get the ...-emerge and ...-pkg-config by default.  and setup the
>>> PORTAGE_CONFIGROOT too ...
>> Yep that's what it does. I'll move the pkg over to usr/share/crossdev/
>> Got a crossdev in cvs/svn some place so I can create a ./wrappers
>> subdir?
> 
> ive been lazy and maintaining crossdev in $FILESDIR ... if you want to ask 
> robbat2 for a crossdev git or svn, we can transition to that.
> -mike
-- 
gentoo-embedded@lists.gentoo.org mailing list



^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [gentoo-embedded] Re: Cross Wrappers
  2008-07-03 13:45       ` Christopher Friedt
@ 2008-07-03 14:34         ` Ned Ludd
  0 siblings, 0 replies; 11+ messages in thread
From: Ned Ludd @ 2008-07-03 14:34 UTC (permalink / raw
  To: gentoo-embedded


On Thu, 2008-07-03 at 09:45 -0400, Christopher Friedt wrote:
> Hi Ned & Mike,
> 
> I like the fix_la_files() and fix_pkgconfig_files() functions in 
> cross-fix-root.
> 
> Prefixing emerge with CHOST- might be better because of tab completion - 
> i.e. using x86_64-pc-linux-gnu-[tab] would give you several results 
> including gcc, emerge, etc. At least it would be more uniform in any 
> case and uniformity makes it much easier to incorporate into other code.
> 
> If your changes were incorporated into crossdev, so that the wrappers 
> were automatically generated per-toolchain (or even if symlinks were 
> made and $0 was checked), that would be awesome.


Here is the updated version which does all that.

http://dev.gentoo.org/~solar/embedded/crossdev-wrappers-20080622.ebuild




> Chris
> 
> Mike Frysinger wrote:
> > On Sunday 22 June 2008, Ned Ludd wrote:
> >> On Sat, 2008-06-21 at 23:29 -0400, Mike Frysinger wrote:
> >>> On Saturday 21 June 2008, Ned Ludd wrote:
> >>> for the configure tests, ive been meaning to investigate switching over
> >>> to a config.site rather than exporting them through the environment ...
> >> I'll see what I can snag from here.
> >> https://dev.openwrt.org/browser/trunk/include/site (hate traq)
> >> Any tips/links to some others?
> > 
> > it's just an idea i had floating around.  havent actually looked into 
> > implementation details.  but if another project is already maintaining the 
> > site files, then we should push our little differences to them and then just 
> > start using their work ;).
> > 
> >>> for the CHOST, how about checking $0 ?  so people can symlink like:
> >>> x86_64-pc-linux-gnu-emerge and then they can just run that without
> >>> needing anything set in the
> >>> environment ... that's how i generally multiplex my cross scripts for
> >>> multiple targets.
> >> I have it right now as emerge-CHOST.
> >> I figured the logic there that CHOST-* should be mostly 
> >> reserved for the toolchain, plus it's easier for me to emerge-\t\t and
> >> pull in the right wrapper foo for whatever I'm working on.
> > 
> > i think having it all be CHOST- prefixed rather than suffixed is better for 
> > consistency.  or just provide both :).
> > 
> >> When you run emerge-wrapper --init 
> >> it sets up all the symlink love which would probably be run a
> >> pkg_postinst().
> > 
> > i mean when you do `crossdev FOO`, it'll create symlinks in /usr/bin/ to the 
> > wrappers already ... no need for the user to run any other commands in the 
> > default case ...
> > 
> > cant really divine what targets need what love from a pkg_postinst()
> > 
> >>> we could have crossdev manage the symlinks automatically as well so they
> >>> get the ...-emerge and ...-pkg-config by default.  and setup the
> >>> PORTAGE_CONFIGROOT too ...
> >> Yep that's what it does. I'll move the pkg over to usr/share/crossdev/
> >> Got a crossdev in cvs/svn some place so I can create a ./wrappers
> >> subdir?
> > 
> > ive been lazy and maintaining crossdev in $FILESDIR ... if you want to ask 
> > robbat2 for a crossdev git or svn, we can transition to that.
> > -mike

-- 
gentoo-embedded@lists.gentoo.org mailing list



^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2008-07-03 16:01 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-06-21 15:33 [gentoo-embedded] Cross Wrappers Ned Ludd
2008-06-21 19:26 ` Jason
2008-06-22  3:29 ` [gentoo-embedded] " Mike Frysinger
2008-06-22  5:14   ` Ned Ludd
2008-06-22 10:12     ` Mike Frysinger
2008-06-23 14:37       ` Ned Ludd
2008-06-23 15:38         ` Mike Frysinger
2008-07-03 13:45       ` Christopher Friedt
2008-07-03 14:34         ` Ned Ludd
2008-06-26 22:54 ` [gentoo-embedded] " Beber
2008-06-26 23:13   ` Ned Ludd

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox