Public bug reported: 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. ** Affects: linux (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/957028 Title: Fix cross-compiling kernel To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/957028/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs