Gentoo Logo
Gentoo Spaceship




Note: Due to technical difficulties, the Archives are currently not up to date. GMANE provides an alternative service for most mailing lists.
c.f. bug 424647
List Archive: gentoo-embedded
Navigation:
Lists: gentoo-embedded: < Prev By Thread Next > < Prev By Date Next >
Headers:
To: gentoo-embedded@g.o
From: Ned Ludd <solar@g.o>
Subject: Re: cross compiling kdrive needs portage
Date: Sun, 30 Sep 2007 16:19:26 -0700
On Sun, 2007-09-30 at 23:47 +0200, Pal Szasz wrote:
> Hi!
> 
> I'm trying to crosscompile kdrive (using crossdev and the ROOT env var).
> However kdrive has dependency on portage, so it tries to build portage 
> as well. I suppose I don't really need portage for the target device, 
> the dependency is just there to check that the correct portage is used 
> to build.
> 
> Is there an easy and clean way to tell portage to build kdrive only (and 
> other dependencies) without portage?


Build kdrive and all the other apps as packages (FEATURES=buildpkg)
that you will want in the target ROOT first. Then do 
ROOT=/dev/shm/embedded-foo emerge -qKpv kdrive virtual/libc etc..

This will make emerge only use the rdepends from the ebuilds.

Also be sure that you set PKGDIR= to something other than the default 
just incase you already use binpkgs for anything as you don't want to 
mix/match host/target pkgs.

In a pinch you can always use the -O option also.

-- 
Ned Ludd <solar@g.o>

-- 
gentoo-embedded@g.o mailing list


References:
cross compiling kdrive needs portage
-- Pal Szasz
Navigation:
Lists: gentoo-embedded: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
cross compiling kdrive needs portage
Next by thread:
xmerge and kernel modules ebuilds
Previous by date:
cross compiling kdrive needs portage
Next by date:
Re: include baselayout in initramfs


Updated Jun 17, 2009

Summary: Archive of the gentoo-embedded mailing list.

Donate to support our development efforts.

Copyright 2001-2013 Gentoo Foundation, Inc. Questions, Comments? Contact us.