diff options
author | Ben Hutchings <ben@decadent.org.uk> | 2013-12-05 14:37:35 +0000 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-03-31 09:58:13 -0700 |
commit | 573994d38b1c10e72cfa55fe6b02d8217a6166ff (patch) | |
tree | b0256a9b9cdfb17e3614d76925e9a8cc834004be /scripts/checkpatch.pl | |
parent | 32f139873e89672cbd5b28f5da944201e86fdb92 (diff) | |
download | linux-3.10-573994d38b1c10e72cfa55fe6b02d8217a6166ff.tar.gz linux-3.10-573994d38b1c10e72cfa55fe6b02d8217a6166ff.tar.bz2 linux-3.10-573994d38b1c10e72cfa55fe6b02d8217a6166ff.zip |
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." <shniew@gmail.com>
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Signed-off-by: Michal Marek <mmarek@suse.cz>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'scripts/checkpatch.pl')
0 files changed, 0 insertions, 0 deletions