[U-Boot] [PATCH] .gitignore: ignore spl/ and tpl/ directories except spl/Makefile

Masahiro Yamada yamada.m at jp.panasonic.com
Tue Nov 26 02:48:42 CET 2013


Before this commit, output files under tpl/ directry
were not ignored.
This commit fixes this problem.

And we have only one source file under spl/ directory:
 spl/Makefile

So, we can re-write .gitignore in a more simply way.

Signed-off-by: Masahiro Yamada <yamada.m at jp.panasonic.com>
---
 .gitignore     | 7 ++++---
 spl/.gitignore | 4 ----
 2 files changed, 4 insertions(+), 7 deletions(-)
 delete mode 100644 spl/.gitignore

diff --git a/.gitignore b/.gitignore
index a39bd54..a1f07f0 100644
--- a/.gitignore
+++ b/.gitignore
@@ -59,6 +59,10 @@
 /errlog
 /reloc_off
 
+/spl/
+!/spl/Makefile
+/tpl/
+
 /include/generated/
 /include/spl-autoconf.mk
 /include/tpl-autoconf.mk
@@ -88,6 +92,3 @@ GPATH
 GRTAGS
 GSYMS
 GTAGS
-
-# spl ais files
-/spl/*.ais
diff --git a/spl/.gitignore b/spl/.gitignore
deleted file mode 100644
index 7c88147..0000000
--- a/spl/.gitignore
+++ /dev/null
@@ -1,4 +0,0 @@
-u-boot-spl
-u-boot-spl.bin
-u-boot-spl.lds
-u-boot-spl.map
-- 
1.8.3.2



More information about the U-Boot mailing list