[PATCH] kconfig: refactor .gitignore

From: Masahiro Yamada
Date: Sat Apr 24 2021 - 09:55:56 EST


Add '/' prefix to clarify that the generated files exist right under
scripts/kconfig/, but not in the sub-directories.

Replace '*conf-cfg' with '[gmnq]conf-cfg' to make it explicit, but
still short.

Use '[gmnq]conf' to combine gconf, mconf, nconf, and qconf.

Signed-off-by: Masahiro Yamada <masahiroy@xxxxxxxxxx>
---

scripts/kconfig/.gitignore | 13 +++----------
1 file changed, 3 insertions(+), 10 deletions(-)

diff --git a/scripts/kconfig/.gitignore b/scripts/kconfig/.gitignore
index c3d537cd0275..500e7424b3ef 100644
--- a/scripts/kconfig/.gitignore
+++ b/scripts/kconfig/.gitignore
@@ -1,12 +1,5 @@
# SPDX-License-Identifier: GPL-2.0-only
+/conf
+/[gmnq]conf
+/[gmnq]conf-cfg
/qconf-moc.cc
-*conf-cfg
-
-#
-# configuration programs
-#
-conf
-mconf
-nconf
-qconf
-gconf
--
2.27.0