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
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
|
|