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
|
@ -280,16 +280,6 @@ else # mingw32-windows
|
|||
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
|
||||
|
@ -299,6 +289,11 @@ else # mingw32-windows
|
|||
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
|
||||
|
@ -309,9 +304,17 @@ else # mingw32-windows
|
|||
dlltool = $(Q)dlltool
|
||||
strip = $(Q)strip
|
||||
windres = $(Q)windres
|
||||
rm = $(Q)del /f /q
|
||||
cp = $(Q)copy /y
|
||||
NUL = NUL
|
||||
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
|
||||
|
||||
|
|
Loading…
Reference in a new issue