[U-Boot-Users] Subject: [PATCH] Git ignore generated files in sub-directory tools.

Jon Loeliger jdl at freescale.com
Mon Jan 9 22:16:13 CET 2006


On Mon, 2006-01-09 at 15:00, Wolfgang Denk wrote:
> In message <1136837509.29751.24.camel at cashmere.sps.mot.com> you wrote:
> > 
> >  tools/.gitignore |   10 ++++++++++
> >  1 files changed, 10 insertions(+), 0 deletions(-)
> >  create mode 100644 tools/.gitignore
> > 
> > ee1b1a7ee4f4b7540c8a016e41cb653ea20b8427
> > diff --git a/tools/.gitignore b/tools/.gitignore
> > new file mode 100644
> > index 0000000..76ab6ae
> > --- /dev/null
> > +++ b/tools/.gitignore
> > @@ -0,0 +1,10 @@
> > +#
> > +# Generated files
> > +#
> > +bmp_logo
> > +crc32.c
> > +envcrc
> > +environment.c
> > +gen_eth_addr
> > +img2srec
> > +mkimage
> > -- 
> > 0.99.9n
> 
> What is this good for? All these files go aways when your run a  make
> mrproper ?

True.  But the interesting command before that is
usually "git status", where they show up, but should
not ever be checked in.  Separate concept that cleaning;
just like the .gitignore for .o, System.map, etc, at
the top level.  (Kumar's posted PATCH a few days ago.)

jdl






More information about the U-Boot mailing list