[coreboot] [commit] r5531 - trunk
repository service
svn at coreboot.org
Sat May 8 19:15:36 CEST 2010
Author: stepan
Date: Sat May 8 19:15:36 2010
New Revision: 5531
URL: https://tracker.coreboot.org/trac/coreboot/changeset/5531
Log:
Patrick Georgi wrote:
Given that this is exclusively used for checking for mingw and cygwin
(both support this), at most this requires routing the error message to
/dev/null.
And rename the variable so it's not used for any non-windows purpose.
Signed-off-by: Stefan Reinauer <stepan at coresystems.de>
Acked-by: Stefan Reinauer <stepan at coresystems.de>
Modified:
trunk/Makefile
Modified: trunk/Makefile
==============================================================================
--- trunk/Makefile Sat May 8 17:50:44 2010 (r5530)
+++ trunk/Makefile Sat May 8 19:15:36 2010 (r5531)
@@ -368,14 +368,15 @@
$(obj)/ldoptions: $(obj)/config.h
awk '/^#define ([^"])* ([^"])*$$/ {gsub("\\r","",$$3); print $$2 " = " $$3 ";";}' $< > $@
-_OS=$(shell uname -o)
+_WINCHECK=$(shell uname -o 2> /dev/null)
STACK=
-ifeq ($(_OS),Msys)
+ifeq ($(_WINCHECK),Msys)
STACK=-Wl,--stack,16384000
endif
-ifeq ($(_OS),Cygwin)
+ifeq ($(_WINCHECK),Cygwin)
STACK=-Wl,--stack,16384000
endif
+
$(objutil)/romcc/romcc: $(top)/util/romcc/romcc.c
@printf " HOSTCC $(subst $(obj)/,,$(@)) (this may take a while)\n"
@# Note: Adding -O2 here might cause problems. For details see:
More information about the coreboot
mailing list