diff options
author | Masahiro Yamada <yamada.m@jp.panasonic.com> | 2014-06-06 20:46:44 +0900 |
---|---|---|
committer | Tom Rini <trini@ti.com> | 2014-06-11 16:27:05 -0400 |
commit | 96b09a97f5eda5132d059ce3c72dafb53654380f (patch) | |
tree | 86d7df70c0aa6c5f99b8e13d5a2c6186c212c85c /common/cmd_terminal.c | |
parent | 899a8cbbc28e7dc1c2418048a2769d27769592c8 (diff) | |
download | blackbird-obmc-uboot-96b09a97f5eda5132d059ce3c72dafb53654380f.tar.gz blackbird-obmc-uboot-96b09a97f5eda5132d059ce3c72dafb53654380f.zip |
kbuild: remove unnecessary adjustment for Cygwin
"SFX = .exe" was originally added for Cygwin environment.
It is true that GCC on Cygwin spits executables with .exe extention.
For example,
gcc -o foo foo.c
will generate "foo.exe", not "foo".
But GNU make is also nicely adjusted for Cygwin.
For example,
foo: foo.c
gcc -o $@ $<
will compare the timestamp between "foo.exe" and "foo.c".
You do not have to tweak Makefiles like this:
foo$(SFX): foo.c
gcc -o $@ $<
And "make clean" works as well without adjustment for Cygwin because
the command "rm foo" on Cygwin will delete both "foo" and "foo.exe".
In conclusion, makefiles do not need special care for Cygwin.
Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
Diffstat (limited to 'common/cmd_terminal.c')
0 files changed, 0 insertions, 0 deletions