[U-Boot] [PATCH] .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 --- .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

On Thu, Feb 20, 2014 at 05:43:07PM +0900, Masahiro Yamada wrote:
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
Applied to u-boot/master, thanks!
participants (2)
-
Masahiro Yamada
-
Tom Rini