Cross compile rules update

Tim Gardner tim.gardner at canonical.com
Thu Sep 30 17:46:49 UTC 2010


On 09/30/2010 09:41 AM, Andy Whitcroft wrote:
> I am slightly concerned that this one dh_ control needs the arch and
> none of the others do.  Might we be better off exporting them at the
> time they are defined; pretty sure there is a way to say that you want
> that when you set the values.
>
> Otherwise it does look saneish.  It is unfortuanate you need to zap the
> tools unconditionally, perhaps we should leave that to the caller.
>
> -apw

It turns out the dh_gencontrol line changes were superfluous. It didn't 
work anyways with the 'fakeroot debian/rules binary arch=armel' 
invocation. It only works using 'dpkg-buildpackage -aarmel' which sets 
the internal notion of HOST arch that dh_gencontrol uses.

Loic - I've made the CROSS_COMPILE and do_tools changes as requested.

rtg
-- 
Tim Gardner tim.gardner at canonical.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-UBUNTU-Config-Add-support-for-cross-compiling-armel.patch
Type: text/x-patch
Size: 3954 bytes
Desc: not available
URL: <https://lists.ubuntu.com/archives/kernel-team/attachments/20100930/4f87871b/attachment.bin>


More information about the kernel-team mailing list