deb-pkg: add source package
authorRiku Voipio <riku.voipio@linaro.org>
Wed, 2 Sep 2015 09:57:24 +0000 (12:57 +0300)
committerMichal Marek <mmarek@suse.com>
Fri, 4 Sep 2015 09:25:03 +0000 (11:25 +0200)
commit3716001bcb7f5822382ac1f2f54226b87312cc6b
tree21ec20a68bf4d6787fc014dc2791c5fb5d19beae
parent26803821463c4e76322559b3dfb0c6b0fcc8aee8
deb-pkg: add source package

Make deb-pkg build both source and binary package like make rpm-pkg does.
For people who only need binary kernel package, there is now bindeb-pkg
target, same target also used to build the .deb files if built from the
source package using dpkg-buildpackage.

Generated source package will build the same kernel .config than what
was available for make deb-pkg. The name of the source package can
be set with KDEB_SOURCENAME enviroment variable.

The source package is useful for GPL compliance, or for feeding to a
automated debian package builder.

Cc: Chris J Arges <chris.j.arges@canonical.com>
Reviewed-by: maximilian attems <maks@stro.at>
Reviewed-by: Ben Hutchings <ben@decadent.org.uk>
Signed-off-by: Riku Voipio <riku.voipio@linaro.org>
Signed-off-by: Michal Marek <mmarek@suse.com>
scripts/package/Makefile
scripts/package/builddeb