Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 68903 - genkernel should make cross-compiling easier
Summary: genkernel should make cross-compiling easier
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Hosted Projects
Classification: Unclassified
Component: genkernel (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Gentoo Genkernel Maintainers
URL:
Whiteboard: [ <Fixed 3.2.0> ]
Keywords: InVCS
Depends on:
Blocks:
 
Reported: 2004-10-25 15:52 UTC by SpanKY
Modified: 2005-06-22 10:35 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 2004-10-25 15:52:47 UTC
in order to cross compile with genkernel atm, you have to pass --kernel-cc, --kernel-as, and --kernel-ld ... would be nice if there was just one option, say --kernel-cross-compile, which would do the standard kernel method of setting the CROSS_COMPILE variable

might have to be a little smart for users with this ... if you want to cross compile for sh4-unknown-linux-gnu, you have to set CROSS_COMPILE=sh4-unknown-linux-gnu- because the makefiles turn around and call $(CROSS_COMPILE)cc $(CROSS_COMPILE)as etc...

so if the user runs with 'sh4-unknown-linux-gnu', genkernel should append '-' for them, and if they do it the right way with 'sh4-unknown-linux-gnu-', even better :)
Comment 1 Eric Edgar (RETIRED) gentoo-dev 2005-06-22 10:35:58 UTC
Fixed in 3.2.0_pre10, thanks!