kconfig: refactor .gitignore
authorMasahiro Yamada <masahiroy@kernel.org>
Sat, 24 Apr 2021 13:55:24 +0000 (22:55 +0900)
committerMasahiro Yamada <masahiroy@kernel.org>
Sun, 25 Apr 2021 17:17:39 +0000 (02:17 +0900)
Add '/' prefix to clarify that the generated files exist right under
scripts/kconfig/, but not in any sub-directory.

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

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

Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
scripts/kconfig/.gitignore

index c3d537c..500e742 100644 (file)
@@ -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