diff mbox

[U-Boot,2/2] .gitignore: move *.exe pattern to the top gitignore for Cygwin

Message ID 1402055205-25604-3-git-send-email-yamada.m@jp.panasonic.com
State Accepted
Delegated to: Tom Rini
Headers show

Commit Message

Masahiro Yamada June 6, 2014, 11:46 a.m. UTC
GCC on Cygwin generates executables with .exe extension,
for example:
 scripts/basic/fixdep.exe
 scripts/docproc.exe

To ignore them, *.exe pattern should be moved
from tools/.gitignore to ./.gitignore

Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
---

 .gitignore       | 3 +++
 tools/.gitignore | 1 -
 2 files changed, 3 insertions(+), 1 deletion(-)

Comments

Tom Rini June 11, 2014, 10:19 p.m. UTC | #1
On Fri, Jun 06, 2014 at 08:46:45PM +0900, Masahiro Yamada wrote:

> GCC on Cygwin generates executables with .exe extension,
> for example:
>  scripts/basic/fixdep.exe
>  scripts/docproc.exe
> 
> To ignore them, *.exe pattern should be moved
> from tools/.gitignore to ./.gitignore
> 
> Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>

Applied to u-boot/master, thanks!
diff mbox

Patch

diff --git a/.gitignore b/.gitignore
index c2f53fc..4e4fd00 100644
--- a/.gitignore
+++ b/.gitignore
@@ -21,6 +21,9 @@ 
 *.patch
 *.cfgtmp
 
+# host programs on Cygwin
+*.exe
+
 # Build tree
 /build-*
 
diff --git a/tools/.gitignore b/tools/.gitignore
index 0eb9068..cefe923 100644
--- a/tools/.gitignore
+++ b/tools/.gitignore
@@ -17,7 +17,6 @@ 
 /relocate-rela
 /ubsha1
 /xway-swap-bytes
-/*.exe
 /easylogo/easylogo
 /gdb/gdbcont
 /gdb/gdbsend