← Back to team overview

linaro-pkg team mailing list archive

[Bug 957028] Re: Fix cross-compiling kernel

 

Should be fixed with these two commits:

UBUNTU: [Config] correctly specify CROSS_COMPILE for tools build
UBUNTU: [Config] Auto-detect do_tools setting

** Changed in: linux (Ubuntu)
       Status: Confirmed => Fix Released

** Changed in: linux (Ubuntu)
     Assignee: (unassigned) => Tim Gardner (timg-tpi)

** Also affects: linux (Ubuntu Precise)
   Importance: Medium
     Assignee: Tim Gardner (timg-tpi)
       Status: Fix Released

-- 
You received this bug notification because you are a member of Linaro
Maintainers, which is the registrant for Linaro Linux.
https://bugs.launchpad.net/bugs/957028

Title:
  Fix cross-compiling kernel

Status in Linaro Linux:
  New
Status in “linux” package in Ubuntu:
  Fix Released
Status in “linux” source package in Precise:
  Fix Released

Bug description:
  Without this patch trying to cross-build ubuntu kernel source with:

  sudo apt-get install gcc-arm-linux-gnueabi
  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.

To manage notifications about this bug go to:
https://bugs.launchpad.net/linux-linaro/+bug/957028/+subscriptions