kbuild: deb-pkg: introduce is_enabled and if_enabled_echo to builddeb
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Fri, 8 Mar 2019 09:56:24 +0000 (18:56 +0900)
committerMasahiro Yamada <yamada.masahiro@socionext.com>
Wed, 13 Mar 2019 17:39:12 +0000 (02:39 +0900)
commit515f4c633daee7654a199deed3e1939c7933ae2c
tree3fd09e8b3b1b06e225f9b6ed3dccbb6741237b1d
parent7e548e9a54bf4ca420f1874e4a602cafe0ed7671
kbuild: deb-pkg: introduce is_enabled and if_enabled_echo to builddeb

I think is_enabled() and if_enable_echo() in scripts/package/mkdebian
are useful.

builddeb also has many repetitive greps over the kernel config, so I
borrowed the idea to clean it up.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
scripts/package/builddeb