summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Georgi <patrick.georgi@coresystems.de>2010-05-08 15:50:44 +0000
committerPatrick Georgi <patrick.georgi@coresystems.de>2010-05-08 15:50:44 +0000
commit2196a0a47a2ee3688b13408a1ac187dbc8aa5d66 (patch)
tree91db00cebf0a6c64607cd673b9ee44f4d093026b
parent67ee3e612f5a2968c1e6d92f5f6551fcf1500173 (diff)
downloadcoreboot-2196a0a47a2ee3688b13408a1ac187dbc8aa5d66.tar.xz
Slightly improve detecting Windows. Trivial
Signed-off-by: Patrick Georgi <patrick.georgi@coresystems.de> Acked-by: Patrick Georgi <patrick.georgi@coresystems.de> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5530 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
-rw-r--r--Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 708e3c3ea4..25972ffd05 100644
--- a/Makefile
+++ b/Makefile
@@ -368,12 +368,12 @@ include util/kconfig/Makefile
$(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