kbuild: pkg: grep include/config/auto.conf instead of $KCONFIG_CONFIG
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Fri, 8 Mar 2019 09:56:25 +0000 (18:56 +0900)
committerMasahiro Yamada <yamada.masahiro@socionext.com>
Wed, 13 Mar 2019 17:39:13 +0000 (02:39 +0900)
commit6fb7ef5a343dea78e71600314cbb5e5b7466243b
tree575fa86dae819d93652b61e7d9dfa46826d8d072
parent515f4c633daee7654a199deed3e1939c7933ae2c
kbuild: pkg: grep include/config/auto.conf instead of $KCONFIG_CONFIG

This will be a little more efficient since unset CONFIG options are
stripped away from auto.conf, and we can hard-code the path to auto.conf
since it is never overridden.

include/config/kernel.release is generated before %pkg is run.
So, it is guaranteed auto.conf is up-to-date.

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