Fix cross-compiling kernel
Bug #957028 reported by
Riku Voipio
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Linaro Ubuntu |
Fix Released
|
Medium
|
John Rigby | ||
linux (Ubuntu) |
Fix Released
|
Medium
|
Tim Gardner | ||
Precise |
Fix Released
|
Medium
|
Tim Gardner |
Bug Description
Without this patch trying to cross-build ubuntu kernel source with:
sudo apt-get install gcc-arm-
dpkg-buildpackage -aarmel
would fail when building perf due to incorrect "make $(CROSS_COMPILE)" line. Unfortunately that is not enough, as binutils-dev is not multiarch ready atm.
In order to cross-compile kernel in precise, building tools need to be disabled (until binutils-dev is converted to multiarch). The attached patch does that, and while at it replaces the incorrect "make $(CROSS_COMPILE)" stanzas with $(kmake).
Please consider for you next precise upload so that precise kernels packages can be cross-compiled without hacking.
Changed in linux (Ubuntu): | |
importance: | Undecided → Medium |
status: | Incomplete → Confirmed |
tags: | added: bot-stop-nagging precise |
tags: | added: patch |
tags: | added: kernel-key |
Changed in linaro-ubuntu: | |
milestone: | none → 12.04 |
Changed in linaro-ubuntu: | |
milestone: | 12.04 → 12.05 |
Changed in linaro-ubuntu: | |
milestone: | 12.05 → none |
Changed in linaro-ubuntu: | |
status: | Confirmed → Fix Released |
To post a comment you must log in.
This bug is missing log files that will aid in diagnosing the problem. From a terminal window please run:
apport-collect 957028
and then change the status of the bug to 'Confirmed'.
If, due to the nature of the issue you have encountered, you are unable to run this command, please add a comment stating that fact and change the bug status to 'Confirmed'.
This change has been made by an automated script, maintained by the Ubuntu Kernel Team.