[U-Boot] [PATCH] .gitignore: ignore boot images by pattern rule /u-boot*

Masahiro Yamada yamada.m at jp.panasonic.com
Thu Feb 20 09:43:07 CET 2014


U-Boot supports various boot images for various SoCs.
It is annoying to modify .gitignore file every time
we add/delete boot images.

Fortunately, there is a simple rule:
Those with file name prefix "u-boot" at the top directory
are all generated files.

Signed-off-by: Masahiro Yamada <yamada.m at jp.panasonic.com>
---
 .gitignore | 19 +------------------
 1 file changed, 1 insertion(+), 18 deletions(-)

diff --git a/.gitignore b/.gitignore
index 5882ff5..ffe0cc7 100644
--- a/.gitignore
+++ b/.gitignore
@@ -31,24 +31,7 @@
 /MLO*
 /SPL
 /System.map
-/u-boot
-/u-boot.hex
-/u-boot.imx
-/u-boot-with-spl.imx
-/u-boot-with-nand-spl.imx
-/u-boot.map
-/u-boot.srec
-/u-boot.ldr
-/u-boot.ldr.hex
-/u-boot.ldr.srec
-/u-boot.img
-/u-boot.kwb
-/u-boot.sha1
-/u-boot.dis
-/u-boot.lds
-/u-boot.ubl
-/u-boot.ais
-/u-boot.sb
+/u-boot*
 
 #
 # git files that we don't want to ignore even it they are dot-files
-- 
1.8.3.2



More information about the U-Boot mailing list