linaro-pkg team mailing list archive
-
linaro-pkg team
-
Mailing list archive
-
Message #00811
[Bug 957028] Re: Fix cross-compiling kernel
** Also affects: linux-linaro
Importance: Undecided
Status: New
--
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:
Confirmed
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