From: Ben Hutchings Date: Thu, 5 Dec 2013 14:37:35 +0000 (+0000) Subject: deb-pkg: Fix cross-building linux-headers package X-Git-Tag: v3.2.57~8 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9be2956736261b04b270bcd9746b80c872ef4934;p=pandora-kernel.git deb-pkg: Fix cross-building linux-headers package commit f8ce239dfc7ba9add41d9ecdc5e7810738f839fa upstream. builddeb generates a control file that says the linux-headers package can only be built for the build system primary architecture. This breaks cross-building configurations. We should use $debarch for this instead. Since $debarch is not yet set when generating the control file, set Architecture: any and use control file variables to fill in the description. Fixes: cd8d60a20a45 ('kbuild: create linux-headers package in deb-pkg') Reported-and-tested-by: "Niew, Sh." Signed-off-by: Ben Hutchings Signed-off-by: Michal Marek --- Reading git-diff-tree failed