[01/10] .gitignore: move *.lex.c *.tab.[ch] patterns to the top-level .gitignore

Message ID 1521810279-6282-1-git-send-email-yamada.masahiro@socionext.com
State New
Headers show
Series
  • [01/10] .gitignore: move *.lex.c *.tab.[ch] patterns to the top-level .gitignore
Related show

Commit Message

Masahiro Yamada March 23, 2018, 1:04 p.m.
These patterns are common to host programs that require lexer and parser.
Move them to the top .gitignore.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>

---

 .gitignore                  | 2 ++
 scripts/dtc/.gitignore      | 3 ---
 scripts/genksyms/.gitignore | 3 ---
 scripts/kconfig/.gitignore  | 3 ---
 4 files changed, 2 insertions(+), 9 deletions(-)

-- 
2.7.4

Comments

Frank Rowand March 24, 2018, 1:27 a.m. | #1
On 03/23/18 06:04, Masahiro Yamada wrote:
> These patterns are common to host programs that require lexer and parser.

> Move them to the top .gitignore.

> 

> Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>


Acked-by: Frank Rowand <frowand.list@gmail.com>


-Frank
> ---

> 

>  .gitignore                  | 2 ++

>  scripts/dtc/.gitignore      | 3 ---

>  scripts/genksyms/.gitignore | 3 ---

>  scripts/kconfig/.gitignore  | 3 ---

>  4 files changed, 2 insertions(+), 9 deletions(-)

> 

> diff --git a/.gitignore b/.gitignore

> index 85bcc26..1e82be1 100644

> --- a/.gitignore

> +++ b/.gitignore

> @@ -22,6 +22,7 @@

>  *.gz

>  *.i

>  *.ko

> +*.lex.c

>  *.ll

>  *.lst

>  *.lz4

> @@ -37,6 +38,7 @@

>  *.so.dbg

>  *.su

>  *.symtypes

> +*.tab.[ch]

>  *.tar

>  *.xz

>  Module.symvers

> diff --git a/scripts/dtc/.gitignore b/scripts/dtc/.gitignore

> index cdabdc9..2e6e60d 100644

> --- a/scripts/dtc/.gitignore

> +++ b/scripts/dtc/.gitignore

> @@ -1,4 +1 @@

>  dtc

> -dtc-lexer.lex.c

> -dtc-parser.tab.c

> -dtc-parser.tab.h

> diff --git a/scripts/genksyms/.gitignore b/scripts/genksyms/.gitignore

> index e7836b4..b119c7d 100644

> --- a/scripts/genksyms/.gitignore

> +++ b/scripts/genksyms/.gitignore

> @@ -1,4 +1 @@

> -*.lex.c

> -*.tab.c

> -*.tab.h

>  genksyms

> diff --git a/scripts/kconfig/.gitignore b/scripts/kconfig/.gitignore

> index a76856e..2da579e 100644

> --- a/scripts/kconfig/.gitignore

> +++ b/scripts/kconfig/.gitignore

> @@ -1,9 +1,6 @@

>  #

>  # Generated files

>  #

> -*.lex.c

> -*.tab.c

> -*.tab.h

>  *.moc

>  gconf.glade.h

>  *.pot

>

Patch

diff --git a/.gitignore b/.gitignore
index 85bcc26..1e82be1 100644
--- a/.gitignore
+++ b/.gitignore
@@ -22,6 +22,7 @@ 
 *.gz
 *.i
 *.ko
+*.lex.c
 *.ll
 *.lst
 *.lz4
@@ -37,6 +38,7 @@ 
 *.so.dbg
 *.su
 *.symtypes
+*.tab.[ch]
 *.tar
 *.xz
 Module.symvers
diff --git a/scripts/dtc/.gitignore b/scripts/dtc/.gitignore
index cdabdc9..2e6e60d 100644
--- a/scripts/dtc/.gitignore
+++ b/scripts/dtc/.gitignore
@@ -1,4 +1 @@ 
 dtc
-dtc-lexer.lex.c
-dtc-parser.tab.c
-dtc-parser.tab.h
diff --git a/scripts/genksyms/.gitignore b/scripts/genksyms/.gitignore
index e7836b4..b119c7d 100644
--- a/scripts/genksyms/.gitignore
+++ b/scripts/genksyms/.gitignore
@@ -1,4 +1 @@ 
-*.lex.c
-*.tab.c
-*.tab.h
 genksyms
diff --git a/scripts/kconfig/.gitignore b/scripts/kconfig/.gitignore
index a76856e..2da579e 100644
--- a/scripts/kconfig/.gitignore
+++ b/scripts/kconfig/.gitignore
@@ -1,9 +1,6 @@ 
 #
 # Generated files
 #
-*.lex.c
-*.tab.c
-*.tab.h
 *.moc
 gconf.glade.h
 *.pot