OSDN Git Service

kbuild: deb-pkg: split generating packaging and build
authorRiku Voipio <riku.voipio@linaro.org>
Thu, 5 Apr 2018 11:22:29 +0000 (14:22 +0300)
committerMasahiro Yamada <yamada.masahiro@socionext.com>
Sat, 7 Apr 2018 10:04:02 +0000 (19:04 +0900)
commitb41d920acff8305b8a25a183a8e4d41b8975097d
treeea8cebd8e42c7c85ecaea7154f91f34f5adffa4a
parenta73619a845d5625079cc1b3b820f44c899618388
kbuild: deb-pkg: split generating packaging and build

Move debian/ directory generation out of builddeb to a new script,
mkdebian. The package build commands are kept in builddeb, which
is now an internal command called from debian/rules.

With these changes in place, we can now use dpkg-buildpackage from
deb-pkg and bindeb-pkg removing need for handrolled source/changes
generation.

This patch is based on the criticism of the current state of builddeb
discussed on:

https://patchwork.kernel.org/patch/9656403/

Signed-off-by: Riku Voipio <riku.voipio@linaro.org>
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
scripts/package/Makefile
scripts/package/builddeb
scripts/package/mkdebian [new file with mode: 0755]