Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 194380 - linux-mod.eclass should set CROSS_COMPILE to ${CHOST}-
Summary: linux-mod.eclass should set CROSS_COMPILE to ${CHOST}-
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Kernel Miscellaneous
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-10-01 13:14 UTC by SpanKY
Modified: 2008-10-27 05:22 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description SpanKY gentoo-dev 2007-10-01 13:14:22 UTC
currently the linux-mod.eclass does a half-ass job and sets up HOSTCC/CC/LDFLAGS, but not the actual linker (LD) which means using the eclass to actually cross-compile fails

i cant quite fathom why the eclass jumps through hoops to explicitly set these things ... seems to me it should just set CROSS_COMPILE to ${CHOST}- and be done

also, the ARCH stuff should use the helper functions set_arch_to_kernel and set_arch_to_portage rather than saving/restoring ARCH by itself ...