diff options
author | Masahiro Yamada <yamada.m@jp.panasonic.com> | 2014-06-06 11:46:44 (GMT) |
---|---|---|
committer | Tom Rini <trini@ti.com> | 2014-06-11 20:27:05 (GMT) |
commit | 96b09a97f5eda5132d059ce3c72dafb53654380f (patch) | |
tree | 86d7df70c0aa6c5f99b8e13d5a2c6186c212c85c /doc/README.spear | |
parent | 899a8cbbc28e7dc1c2418048a2769d27769592c8 (diff) | |
download | u-boot-96b09a97f5eda5132d059ce3c72dafb53654380f.tar.xz |
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 'doc/README.spear')
0 files changed, 0 insertions, 0 deletions