diff options
author | Patrick Georgi <patrick.georgi@coresystems.de> | 2010-05-08 15:50:44 +0000 |
---|---|---|
committer | Patrick Georgi <patrick.georgi@coresystems.de> | 2010-05-08 15:50:44 +0000 |
commit | 2196a0a47a2ee3688b13408a1ac187dbc8aa5d66 (patch) | |
tree | 91db00cebf0a6c64607cd673b9ee44f4d093026b /Makefile | |
parent | 67ee3e612f5a2968c1e6d92f5f6551fcf1500173 (diff) | |
download | coreboot-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
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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 |