builddeb: Introduce functions to simplify kconfig tests in set_debarch
authorBen Hutchings <ben@decadent.org.uk>
Thu, 26 Jul 2018 10:21:01 +0000 (11:21 +0100)
committerMasahiro Yamada <yamada.masahiro@socionext.com>
Sat, 28 Jul 2018 01:53:44 +0000 (10:53 +0900)
commit08d3892cdcea7e918106bd78be5471d05b000b30
tree9a11a878262ed5fccb3fa47a90a3dce15d90f0ce
parent4260ecd0ad8c10cef8ff6551267bb351e10f70c9
builddeb: Introduce functions to simplify kconfig tests in set_debarch

We now have many repetitive greps over the kernel config.  Refactor
them into functions.

Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
scripts/package/mkdebian