forked from ps2dev/ps2sdk
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Defs.make
62 lines (52 loc) · 1.51 KB
/
Defs.make
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
# _____ ___ ____ ___ ____
# ____| | ____| | | |____|
# | ___| |____ ___| ____| | \ PS2DEV Open Source Project.
#-----------------------------------------------------------------------
# Copyright 2001-2004, ps2dev - http://www.ps2dev.org
# Licenced under Academic Free License version 2.0
# Review ps2sdk README & LICENSE files for further details.
# You can override the following options on the make command line, or manually
# edit them below. Please see the file INSTALL for details on building
# ps2sdk.
#
# Definitions for the EE toolchain.
#
EE_TOOL_PREFIX ?= mips64r5900el-ps2-elf-
EE_CC ?= $(EE_TOOL_PREFIX)gcc
EE_CXX ?= $(EE_TOOL_PREFIX)g++
EE_AS ?= $(EE_TOOL_PREFIX)as
EE_LD ?= $(EE_TOOL_PREFIX)ld
EE_AR ?= $(EE_TOOL_PREFIX)ar
EE_OBJCOPY ?= $(EE_TOOL_PREFIX)objcopy
EE_STRIP ?= $(EE_TOOL_PREFIX)strip
EE_ADDR2LINE ?= $(EE_TOOL_PREFIX)addr2line
EE_RANLIB ?= $(EE_TOOL_PREFIX)ranlib
#
# Defintions for the IOP toolchain.
#
IOP_TOOL_PREFIX ?= mipsel-ps2-irx-
IOP_CC ?= $(IOP_TOOL_PREFIX)gcc
IOP_AS ?= $(IOP_TOOL_PREFIX)as
IOP_LD ?= $(IOP_TOOL_PREFIX)ld
IOP_AR ?= $(IOP_TOOL_PREFIX)ar
IOP_OBJCOPY ?= $(IOP_TOOL_PREFIX)objcopy
IOP_STRIP ?= $(IOP_TOOL_PREFIX)strip
IOP_ADDR2LINE ?= $(IOP_TOOL_PREFIX)addr2line
IOP_RANLIB ?= $(IOP_TOOL_PREFIX)ranlib
#
# Definitions for the local toolchain
#
CC ?= cc
AS ?= as
LD ?= ld
AR ?= ar
OBJCOPY ?= objcopy
STRIP ?= strip
#
# Definitions for local shell operations
#
MKDIR ?= mkdir
RMDIR ?= rmdir
ECHO ?= echo
PRINTF ?= printf
MAKEREC ?= $(MAKE) -C