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

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 describe .gitignore more simply.
Signed-off-by: Masahiro Yamada yamada.m@jp.panasonic.com ---
Changes in v2: - Fix my weird English in commit log (in a more simply way -> more simply)
.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

On Tue, Nov 26, 2013 at 06:05:45PM +0900, Masahiro Yamada wrote:
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 describe .gitignore more simply.
Signed-off-by: Masahiro Yamada yamada.m@jp.panasonic.com
Applied to u-boot/master, thanks!
participants (2)
-
Masahiro Yamada
-
Tom Rini