From: Masahiro Yamada <yamada.m@jp.panasonic.com>
Date: Thu, 20 Feb 2014 08:43:07 +0000 (+0900)
Subject: .gitignore: ignore boot images by pattern rule /u-boot*
X-Git-Tag: v2025.01-rc5-pxa1908~15470^2~49
X-Git-Url: http://git.dujemihanovic.xyz/html/static/gitweb.css?a=commitdiff_plain;h=5d0f01570c516be7b3abe4ea5137b87c83c3ae1a;p=u-boot.git

.gitignore: ignore boot images by pattern rule /u-boot*

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@jp.panasonic.com>
---

diff --git a/.gitignore b/.gitignore
index 5882ff50b1..ffe0cc7107 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