-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathconfig.mk
56 lines (43 loc) · 1.26 KB
/
config.mk
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
PS2LINUXDVD = /media/cdrom
TARGET_IP = 192.168.1.10
EXAMPLE_ELF = ../hello/hello.elf
# Set debug output type:
# 1. fileio - SIF RPC stdout
# 2. callback - Call function registered by Linux kernel (printk, dmesg).
# sharedmem.irx via ps2link will be used if loaded
DEBUG_OUTPUT_TYPE = sio
# Reset IOP at start (only working when enabled)
RESET_IOP = yes
# Activate ps2link debug modules in kernelloader (has only effect when IOP
# reset is done):
LOAD_PS2LINK = no
# Use new ROM modules in loader.
NEW_ROM_MODULES = no
# Press button "R1" to get a screenshot on "host:" or "mass0:".
SCREENSHOT = yes
# Activate debug for SBIOS (has only effect with shared memory debug or callback debug or sio).
SBIOS_DEBUG = no
# Activate to be able to move the screen with the analog stick.
PAD_MOVE_SCREEN = yes
# Choose toolchain for simple kernel example:
NEW_KERNEL_TOOLCHAIN = no
SHARED_MEM_DEBUG = yes
### Don't change the following part, change DEBUG_OUTPUT_TYPE instead.
ifeq ($(DEBUG_OUTPUT_TYPE),fileio)
# SIF RPC stdout
FILEIO_DEBUG = yes
else
FILEIO_DEBUG = no
endif
ifeq ($(DEBUG_OUTPUT_TYPE),callback)
# Activate printf callback in SBIOS
CALLBACK_DEBUG = yes
else
CALLBACK_DEBUG = no
endif
ifeq ($(DEBUG_OUTPUT_TYPE),sio)
# Activate SIO
SIO_DEBUG = yes
else
SIO_DEBUG = no
endif