mirror of
https://github.com/reactos/reactos.git
synced 2024-09-11 05:12:43 +00:00
Allow use of ROS_PREFIX on MS Windows platforms (needed for cross-compiling)
svn path=/trunk/; revision=25416
This commit is contained in:
parent
35f20cc413
commit
263d5e238b
|
@ -274,45 +274,48 @@ endif
|
|||
cp = $(Q)cp
|
||||
NUL = /dev/null
|
||||
else # mingw32-windows
|
||||
ifeq ($(OSTYPE),msys)
|
||||
HOST=mingw32-linux
|
||||
export EXEPREFIX = ./
|
||||
export EXEPOSTFIX = .exe
|
||||
export SEP = /
|
||||
mkdir = -$(Q)mkdir -p
|
||||
gcc = $(Q)gcc
|
||||
gpp = $(Q)g++
|
||||
ld = $(Q)ld
|
||||
nm = $(Q)nm
|
||||
objdump = $(Q)objdump
|
||||
ar = $(Q)ar
|
||||
objcopy = $(Q)objcopy
|
||||
dlltool = $(Q)dlltool
|
||||
strip = $(Q)strip
|
||||
windres = $(Q)windres
|
||||
rm = $(Q)rm -f
|
||||
cp = $(Q)cp
|
||||
NUL = /dev/null
|
||||
else
|
||||
export EXEPREFIX =
|
||||
export EXEPOSTFIX = .exe
|
||||
ROS_EMPTY =
|
||||
export SEP = \$(ROS_EMPTY)
|
||||
mkdir = -$(Q)mkdir
|
||||
gcc = $(Q)gcc
|
||||
gpp = $(Q)g++
|
||||
ld = $(Q)ld
|
||||
nm = $(Q)nm
|
||||
objdump = $(Q)objdump
|
||||
ar = $(Q)ar
|
||||
objcopy = $(Q)objcopy
|
||||
dlltool = $(Q)dlltool
|
||||
strip = $(Q)strip
|
||||
windres = $(Q)windres
|
||||
rm = $(Q)del /f /q
|
||||
cp = $(Q)copy /y
|
||||
NUL = NUL
|
||||
endif
|
||||
ifeq ($(OSTYPE),msys)
|
||||
HOST=mingw32-linux
|
||||
export EXEPREFIX = ./
|
||||
export EXEPOSTFIX = .exe
|
||||
export SEP = /
|
||||
mkdir = -$(Q)mkdir -p
|
||||
rm = $(Q)rm -f
|
||||
cp = $(Q)cp
|
||||
NUL = /dev/null
|
||||
else
|
||||
export EXEPREFIX =
|
||||
export EXEPOSTFIX = .exe
|
||||
ROS_EMPTY =
|
||||
export SEP = \$(ROS_EMPTY)
|
||||
mkdir = -$(Q)mkdir
|
||||
rm = $(Q)del /f /q
|
||||
cp = $(Q)copy /y
|
||||
NUL = NUL
|
||||
endif
|
||||
ifeq ($(ROS_PREFIX),)
|
||||
gcc = $(Q)gcc
|
||||
gpp = $(Q)g++
|
||||
ld = $(Q)ld
|
||||
nm = $(Q)nm
|
||||
objdump = $(Q)objdump
|
||||
ar = $(Q)ar
|
||||
objcopy = $(Q)objcopy
|
||||
dlltool = $(Q)dlltool
|
||||
strip = $(Q)strip
|
||||
windres = $(Q)windres
|
||||
else
|
||||
gcc = $(ROS_PREFIX)-gcc
|
||||
gpp = $(Q)$(ROS_PREFIX)-g++
|
||||
ld = $(Q)$(ROS_PREFIX)-ld
|
||||
nm = $(Q)$(ROS_PREFIX)-nm
|
||||
objdump = $(Q)$(ROS_PREFIX)-objdump
|
||||
ar = $(Q)$(ROS_PREFIX)-ar
|
||||
objcopy = $(Q)$(ROS_PREFIX)-objcopy
|
||||
dlltool = $(Q)$(ROS_PREFIX)-dlltool
|
||||
strip = $(Q)$(ROS_PREFIX)-strip
|
||||
windres = $(Q)$(ROS_PREFIX)-windres
|
||||
endif
|
||||
endif
|
||||
|
||||
ifneq ($(ROS_INTERMEDIATE),)
|
||||
|
|
Loading…
Reference in a new issue