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
This commit is contained in:
parent
67ee3e612f
commit
2196a0a47a
6
Makefile
6
Makefile
|
@ -368,12 +368,12 @@ include util/kconfig/Makefile
|
||||||
$(obj)/ldoptions: $(obj)/config.h
|
$(obj)/ldoptions: $(obj)/config.h
|
||||||
awk '/^#define ([^"])* ([^"])*$$/ {gsub("\\r","",$$3); print $$2 " = " $$3 ";";}' $< > $@
|
awk '/^#define ([^"])* ([^"])*$$/ {gsub("\\r","",$$3); print $$2 " = " $$3 ";";}' $< > $@
|
||||||
|
|
||||||
_OS=$(shell uname -s |cut -c-7)
|
_OS=$(shell uname -o)
|
||||||
STACK=
|
STACK=
|
||||||
ifeq ($(_OS),MINGW32)
|
ifeq ($(_OS),Msys)
|
||||||
STACK=-Wl,--stack,16384000
|
STACK=-Wl,--stack,16384000
|
||||||
endif
|
endif
|
||||||
ifeq ($(_OS),CYGWIN_)
|
ifeq ($(_OS),Cygwin)
|
||||||
STACK=-Wl,--stack,16384000
|
STACK=-Wl,--stack,16384000
|
||||||
endif
|
endif
|
||||||
$(objutil)/romcc/romcc: $(top)/util/romcc/romcc.c
|
$(objutil)/romcc/romcc: $(top)/util/romcc/romcc.c
|
||||||
|
|
Loading…
Reference in New Issue