Cross compiling requires turning off do_tools

Bug #737600 reported by John Rigby
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
linux-linaro-mx51 (Ubuntu)
Fix Released
Undecided
Unassigned
linux-linaro-omap (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Currently to cross compile the linux-linaro-mx51 package one needs to turn off do_tools in debian.linaro/rules.d/armel.mk:
sed -i -e 's/do_tools.*=.*/do_tools = false/' debian.linaro/rules.d/armel.mk

It would be fantastic if that were not the case.

Revision history for this message
Loïc Minier (lool) wrote :

it would be good to be able to build tools, in the mean time you could test whether we are cross-compiling and override do_tools to false; for instance debian/rules currently does that for DEB_STAGE = stage1, we could do this for ifneq ($(DEB_BUILD_GNU_TYPE),$(DEB_HOST_GNU_TYPE)) in debian/rules.d/0-common-vars.mk, where CROSS_COMPILE is set.

John Rigby (jcrigby)
Changed in linux-linaro-mx51 (Ubuntu):
status: New → Confirmed
Changed in linux-linaro-omap (Ubuntu):
status: New → Confirmed
Revision history for this message
John Rigby (jcrigby) wrote :

This is fixed in the latest ubuntu packaging so newer kernels should build fine. Tools are still _NOT_ built when cross compiling but the packaging auto detects the cross case and turns off tools.

Changed in linux-linaro-mx51 (Ubuntu):
status: Confirmed → Fix Released
Changed in linux-linaro-omap (Ubuntu):
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.