From aa43b70e0c256cc58ae8add130497f52ce26c2ff Mon Sep 17 00:00:00 2001 From: Jonathan Nieder Date: Sun, 4 Apr 2010 22:38:18 -0500 Subject: [PATCH] usbboot: Update and simplify .gitignore MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Use anchored filenames and wildcards to make it easier to keep the .gitignore file up to date with future code changes. The entries are more precise now: * ‘git add .’ will not start tracking the src/usbboot binary * ‘git ls-files -i --exclude-standard’ will not list xburst_stage1/Makefile and xburst_stage2/Makefile as mistakenly tracked. Signed-off-by: Jonathan Nieder --- usbboot/.gitignore | 31 +++++++++++++++++++++---------- usbboot/src/.gitignore | 11 +++-------- usbboot/xburst_stage1/.gitignore | 11 ----------- usbboot/xburst_stage2/.gitignore | 21 --------------------- 4 files changed, 24 insertions(+), 50 deletions(-) delete mode 100644 usbboot/xburst_stage1/.gitignore delete mode 100644 usbboot/xburst_stage2/.gitignore diff --git a/usbboot/.gitignore b/usbboot/.gitignore index b3a4f96..5ba4e8c 100644 --- a/usbboot/.gitignore +++ b/usbboot/.gitignore @@ -1,11 +1,22 @@ -Makefile +/aclocal.m4 +/config.h +/config.h.in +/config.log +/config.status +/configure +/stamp-h1 +/m4/ +/autom4te.cache/ + Makefile.in -aclocal.m4 -config.h -config.h.in -config.log -config.status -configure -stamp-h1 -m4 -autom4te.cache + +/Makefile +/src/Makefile + +*.lst +*.o +*.bin +*.dump +*.elf +*.map +*.sym diff --git a/usbboot/src/.gitignore b/usbboot/src/.gitignore index 48f59ae..a85de84 100644 --- a/usbboot/src/.gitignore +++ b/usbboot/src/.gitignore @@ -1,8 +1,3 @@ -.deps -cmd.o -command_line.o -inflash -inflash_version.h -ingenic_cfg.o -ingenic_usb.o -main.o +/.deps/ +/*_version.h +/usbboot diff --git a/usbboot/xburst_stage1/.gitignore b/usbboot/xburst_stage1/.gitignore deleted file mode 100644 index e8d9f14..0000000 --- a/usbboot/xburst_stage1/.gitignore +++ /dev/null @@ -1,11 +0,0 @@ -System.map -board_4740.o -board_4750.o -common.o -debug.o -head.o -main.o -xburst_stage1.bin -xburst_stage1.dump -xburst_stage1.elf -xburst_stage1.map diff --git a/usbboot/xburst_stage2/.gitignore b/usbboot/xburst_stage2/.gitignore deleted file mode 100644 index f39fa3d..0000000 --- a/usbboot/xburst_stage2/.gitignore +++ /dev/null @@ -1,21 +0,0 @@ -boothandler.lst -boothandler.o -cache.lst -cache.o -head.lst -head.o -main.lst -main.o -nandflash_4740.lst -nandflash_4740.o -nandflash_4750.lst -nandflash_4750.o -serial.lst -serial.o -udc.lst -udc.o -xburst_stage2.bin -xburst_stage2.dump -xburst_stage2.elf -xburst_stage2.map -xburst_stage2.sym