Summary: | sys-devel/crossdev: cross-emerge: support multiple parallel SYSROOTs for a single target | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Ambroz Bizjak <ambrop7> |
Component: | [OLD] Core system | Assignee: | Gentoo Crossdev team <crossdev> |
Status: | UNCONFIRMED --- | ||
Severity: | enhancement | CC: | embedded, rafallalik, slyfox, steev, zerochaos |
Priority: | Normal | Keywords: | PATCH |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
cross-emerge-ng
toolchain-wrapper crossdev-20120721-cross-emerge-ng.patch cross-emerge-ng toolchain-wrapper crossdev-20120913-cross-emerge-ng.patch cross-emerge-ng toolchain-wrapper |
Description
Ambroz Bizjak
2012-12-06 02:45:29 UTC
Created attachment 331622 [details]
cross-emerge-ng
The cross-emerge-ng tool itself, goes into wrappers/ in crossdev source.
Created attachment 331624 [details]
toolchain-wrapper
The toolchain wrapper, goes into wrappers/ as well.
Created attachment 331626 [details, diff]
crossdev-20120721-cross-emerge-ng.patch
Makefile patch to install the new tools.
Steev and I don't get enough email relying on the env to not change won't help you. cmake and other packages will clear the environment automatically thus nuking CROSS_CHOST. (In reply to comment #5) > relying on the env to not change won't help you. cmake and other packages > will clear the environment automatically thus nuking CROSS_CHOST. I haven't seen a single package do this. It works for cmake packages all right. (In reply to comment #6) sorry, i meant scons, not cmake. the point still stands -- relying on the environment is not going to work. Created attachment 331686 [details]
cross-emerge-ng
This updated cross-emerge-ng automatically generates wrappers into SYSROOT/etc/crossdev-target with hardcoded CHOST and SYSROOT.
Note that I wish that cross-emerge-ng exists a separate tool intended to be used only with standalone SYSROOT (!=/usr/CHOST), instead of adding features to cross-emerge. For example, cross-emerge currently calls emerge with --root-deps=rdeps, which will ignore all build-time dependencies. I should say again that cross-emerge-ng, together with the fixes in my overlay, can successfully build the entire @system and many other packages.
Created attachment 331688 [details]
toolchain-wrapper
Created attachment 331690 [details, diff]
crossdev-20120913-cross-emerge-ng.patch
Created attachment 331692 [details]
cross-emerge-ng
Sorry, posted the wrong file previously.
Created attachment 331694 [details]
toolchain-wrapper
Sorry, posted the wrong file previously.
*** Bug 466128 has been marked as a duplicate of this bug. *** |