summaryrefslogtreecommitdiff
path: root/scripts/package/mkdebian
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.masahiro@socionext.com>2019-03-08 12:56:25 +0300
committerMasahiro Yamada <yamada.masahiro@socionext.com>2019-03-13 20:39:13 +0300
commit6fb7ef5a343dea78e71600314cbb5e5b7466243b (patch)
tree575fa86dae819d93652b61e7d9dfa46826d8d072 /scripts/package/mkdebian
parent515f4c633daee7654a199deed3e1939c7933ae2c (diff)
downloadlinux-6fb7ef5a343dea78e71600314cbb5e5b7466243b.tar.xz
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>
Diffstat (limited to 'scripts/package/mkdebian')
-rwxr-xr-xscripts/package/mkdebian2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/package/mkdebian b/scripts/package/mkdebian
index fb76dd1b72e8..8068328a079c 100755
--- a/scripts/package/mkdebian
+++ b/scripts/package/mkdebian
@@ -7,7 +7,7 @@
set -e
is_enabled() {
- grep -q "^$1=y" $KCONFIG_CONFIG
+ grep -q "^$1=y" include/config/auto.conf
}
if_enabled_echo() {