mirror of
https://github.com/reactos/reactos.git
synced 2024-12-30 19:14:31 +00:00
- Detect msys on windows as a linux system.
- Creating of the bootcd will not work. There is somewhere a path with 'c:/'. svn path=/trunk/; revision=14992
This commit is contained in:
parent
159160db0d
commit
76a83ce1cc
1 changed files with 10 additions and 0 deletions
|
@ -35,6 +35,11 @@ export MAKE := @$(MAKE)
|
||||||
ifeq ($(VERBOSE),no)
|
ifeq ($(VERBOSE),no)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
# detect msys on a Windows host as linux
|
||||||
|
ifeq ($(OSTYPE),msys)
|
||||||
|
export HOST=mingw32-linux
|
||||||
|
endif
|
||||||
|
|
||||||
# detect Windows host environment
|
# detect Windows host environment
|
||||||
ifeq ($(HOST),)
|
ifeq ($(HOST),)
|
||||||
ifeq ($(word 1,$(shell gcc -dumpmachine)),mingw32)
|
ifeq ($(word 1,$(shell gcc -dumpmachine)),mingw32)
|
||||||
|
@ -94,8 +99,13 @@ endif
|
||||||
ifeq ($(HOST),mingw32-linux)
|
ifeq ($(HOST),mingw32-linux)
|
||||||
export HOST_TYPE = unix
|
export HOST_TYPE = unix
|
||||||
export NASM_FORMAT = win32
|
export NASM_FORMAT = win32
|
||||||
|
ifeq ($(OSTYPE),msys)
|
||||||
|
export PREFIX :=
|
||||||
|
export EXE_POSTFIX := .exe
|
||||||
|
else
|
||||||
export PREFIX = mingw32-
|
export PREFIX = mingw32-
|
||||||
export EXE_POSTFIX :=
|
export EXE_POSTFIX :=
|
||||||
|
endif
|
||||||
export EXE_PREFIX := ./
|
export EXE_PREFIX := ./
|
||||||
export DLLTOOL = $(PREFIX)dlltool --as=$(PREFIX)as
|
export DLLTOOL = $(PREFIX)dlltool --as=$(PREFIX)as
|
||||||
#
|
#
|
||||||
|
|
Loading…
Reference in a new issue