From 2196a0a47a2ee3688b13408a1ac187dbc8aa5d66 Mon Sep 17 00:00:00 2001 From: Patrick Georgi Date: Sat, 8 May 2010 15:50:44 +0000 Subject: Slightly improve detecting Windows. Trivial Signed-off-by: Patrick Georgi Acked-by: Patrick Georgi git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5530 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1 --- Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'Makefile') 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 -- cgit v1.2.3