Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 399079

Summary: sys-devel/crossdev: request to add CROSS_COMPILE= to make.conf
Product: Gentoo Linux Reporter: Vadim A. Misbakh-Soloviov (mva) <mva>
Component: [OLD] Core systemAssignee: Embedded Gentoo Team <embedded>
Status: RESOLVED WONTFIX    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Vadim A. Misbakh-Soloviov (mva) gentoo-dev 2012-01-16 14:34:17 UTC
Can you add «CROSS_COMPILE=_CHOST_-» to:
1) default crossdev makefile (/usr/share/crossdev/etc/portage/make.conf)
2) default environment while building stages ;)

(For example it will help to build uclibc, which don't want to build without CROSS_COMPILE when crossdev building stages for mipsel-linux-uclibc target, but builds fine under <target>-emerge, when I add
CROSS_COMPILE=mipsel-linux-uclibc-
UCLIBC_CPU="MIPS_ISA_MIPS32"
to
target's make.conf

Reproducible: Always

Steps to Reproduce:
1. crossdev -t mipsel-linux-uclibc
2. wait untill it start build uclibc
3. watch like uclibc build fails ;)
Comment 1 SpanKY gentoo-dev 2012-01-17 04:53:34 UTC
we already have make.conf set CHOST/CBUILD.  nothing else is required to cross-compile packages.