[coreboot] [commit] r5530 - trunk
repository service
svn at coreboot.org
Sat May 8 17:50:44 CEST 2010
Author: oxygene
Date: Sat May 8 17:50:44 2010
New Revision: 5530
URL: https://tracker.coreboot.org/trac/coreboot/changeset/5530
Log:
Slightly improve detecting Windows. Trivial
Signed-off-by: Patrick Georgi <patrick.georgi at coresystems.de>
Acked-by: Patrick Georgi <patrick.georgi at coresystems.de>
Modified:
trunk/Makefile
Modified: trunk/Makefile
==============================================================================
--- trunk/Makefile Sat May 8 13:17:24 2010 (r5529)
+++ trunk/Makefile Sat May 8 17:50:44 2010 (r5530)
@@ -368,12 +368,12 @@
$(obj)/ldoptions: $(obj)/config.h
awk '/^#define ([^"])* ([^"])*$$/ {gsub("\\r","",$$3); print $$2 " = " $$3 ";";}' $< > $@
-_OS=$(shell uname -s |cut -c-7)
+_OS=$(shell uname -o)
STACK=
-ifeq ($(_OS),MINGW32)
+ifeq ($(_OS),Msys)
STACK=-Wl,--stack,16384000
endif
-ifeq ($(_OS),CYGWIN_)
+ifeq ($(_OS),Cygwin)
STACK=-Wl,--stack,16384000
endif
$(objutil)/romcc/romcc: $(top)/util/romcc/romcc.c
More information about the coreboot
mailing list