Patchwork Have git ignore generated files from dtc compile

login
register
mail settings
Submitter Jon Smirl
Date June 22, 2009, 1:28 a.m.
Message ID <20090622012800.31652.35886.stgit@terra>
Download mbox | patch
Permalink /patch/28962/
State Accepted, archived
Delegated to: Benjamin Herrenschmidt
Headers show

Comments

Jon Smirl - June 22, 2009, 1:28 a.m.
Have git ignore generated files from dtc compile

Signed-off-by: Jon Smirl <jonsmirl@gmail.com>
---
 arch/powerpc/boot/.gitignore |   10 ++++++++++
 scripts/dtc/.gitignore       |    5 +++++
 2 files changed, 15 insertions(+), 0 deletions(-)
 create mode 100644 scripts/dtc/.gitignore
David Gibson - June 22, 2009, 1:52 a.m.
On Sun, Jun 21, 2009 at 09:28:00PM -0400, Jon Smirl wrote:
> Have git ignore generated files from dtc compile
> 
> Signed-off-by: Jon Smirl <jonsmirl@gmail.com>

Acked-by: David Gibson <david@gibson.dropbear.id.au>

> diff --git a/arch/powerpc/boot/.gitignore b/arch/powerpc/boot/.gitignore
> index d57aa5c..dab1b41 100644
> --- a/arch/powerpc/boot/.gitignore
> +++ b/arch/powerpc/boot/.gitignore
> @@ -37,3 +37,13 @@ zImage.pseries
>  zconf.h
>  zlib.h
>  zutil.h
> +fdt.c
> +fdt.h
> +fdt_ro.c
> +fdt_rw.c
> +fdt_strerror.c
> +fdt_sw.c
> +fdt_wip.c
> +libfdt.h
> +libfdt_internal.h
> +
> diff --git a/scripts/dtc/.gitignore b/scripts/dtc/.gitignore

Except that I don't think this can go in via the powerpc tree, given
it touches scripts/

> new file mode 100644
> index 0000000..095acb4
> --- /dev/null
> +++ b/scripts/dtc/.gitignore
> @@ -0,0 +1,5 @@
> +dtc
> +dtc-lexer.lex.c
> +dtc-parser.tab.c
> +dtc-parser.tab.h
> +
> 
> _______________________________________________
> Linuxppc-dev mailing list
> Linuxppc-dev@lists.ozlabs.org
> https://lists.ozlabs.org/listinfo/linuxppc-dev
>
Sean MacLennan - June 22, 2009, 2:38 a.m.
On Mon, 22 Jun 2009 11:52:11 +1000
David Gibson <david@gibson.dropbear.id.au> wrote:

> On Sun, Jun 21, 2009 at 09:28:00PM -0400, Jon Smirl wrote:
> > Have git ignore generated files from dtc compile
> > Signed-off-by: Jon Smirl <jonsmirl@gmail.com>
> 
> Acked-by: David Gibson <david@gibson.dropbear.id.au>
Acked-by: Sean MacLennan <smaclennan@pikatech.com>

Patch

diff --git a/arch/powerpc/boot/.gitignore b/arch/powerpc/boot/.gitignore
index d57aa5c..dab1b41 100644
--- a/arch/powerpc/boot/.gitignore
+++ b/arch/powerpc/boot/.gitignore
@@ -37,3 +37,13 @@  zImage.pseries
 zconf.h
 zlib.h
 zutil.h
+fdt.c
+fdt.h
+fdt_ro.c
+fdt_rw.c
+fdt_strerror.c
+fdt_sw.c
+fdt_wip.c
+libfdt.h
+libfdt_internal.h
+
diff --git a/scripts/dtc/.gitignore b/scripts/dtc/.gitignore
new file mode 100644
index 0000000..095acb4
--- /dev/null
+++ b/scripts/dtc/.gitignore
@@ -0,0 +1,5 @@ 
+dtc
+dtc-lexer.lex.c
+dtc-parser.tab.c
+dtc-parser.tab.h
+