android_kernel_samsung_msm8976/scripts/package
Ben Hutchings 573994d38b 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: cd8d60a20a ('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>
2014-03-31 09:58:13 -07:00
..
builddeb deb-pkg: Fix cross-building linux-headers package 2014-03-31 09:58:13 -07:00
buildtar buildtar: Add ARCH to the archive name 2013-04-08 16:04:28 +02:00
Makefile package: Makefile: unbreak binrpm-pkg target 2013-05-16 09:46:45 +02:00
mkspec kbuild: clear KBUILD_SRC when calling 'make' in RPM spec 2013-02-22 10:57:32 +01:00