-
Notifications
You must be signed in to change notification settings - Fork 45
/
config.example
106 lines (93 loc) · 3.44 KB
/
config.example
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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
#
# This is an example FreeWPC config file.
# If you don't already have a .config, you can rename this one
# and change anything you don't like.
#
# Some features must be enabled using an "eval-call-have" command.
# This ensures that the conditional is seen by makefiles, C
# files, and assembly language files. Failure to do so may
# cause features to be only partially enabled. There are
# exceptions, for example, when a conditional is only needed
# by the makefiles. Use this example config to guide you.
#
# Parallel make will speed up compiles slightly. In general
# the argument to -j should be the number of processors you have,
# plus one.
#MAKEFLAGS := -j2
#MAKEFLAGS := -j3
# If you want to simulate, enable CONFIG_SIM. This builds a
# program you can run on your build system, instead of a ROM.
# You should also choose a UI for how the system will be displayed;
# 'curses' is the most complete, but there are alternatives.
# $(eval $(call have,CONFIG_SIM))
#CONFIG_UI := curses
#CONFIG_UI := console
#CONFIG_UI := sdl
#CONFIG_UI := remote
# Set the machine you are trying to build.
# If you are primarily working with a single machine type, it is
# easier to specify it here than saying MACHINE=xxx every time you run
# make.
#MACHINE := tz
#MACHINE := afm
#MACHINE := wcs
#MACHINE := t2
#MACHINE := fh
#MACHINE := tester
#MACHINE := tspp
#MACHINE := afm
#MACHINE := tom
#MACHINE := bop
#MACHINE := corvette
#
# Set this to the directory in which MAME roms should be installed.
# If you don't have MAME, then you can leave this undefined.
# If it is set, then by default, your newly compiled game ROM will
# temporarily overwrite one of the PinMAME ROMs, so that running
# PinMAME will test our version instead of the factory. Which ROM
# gets overwritten is set in the machine's Makefile.
#
# To restore the factory ROM, run "make uninstall".
#
# Under Windows+Cygwin, use something like the following. make has
# trouble with filenames that have spaces or colons in them.
#TARGET_ROMPATH := "/cygdrive/c/Progra~1/VPinmame/roms"
#
# Set FREEWPC_DEBUGGER if you want to enable dbprintf() statements throughout
# the code. They will be written to the serial/parallel port. This requires
# a patched PinMAME in order to view the messages. This has no effect in
# a real machine. In simulation, these messages get written to a log file.
#
#$(eval $(call have,DEBUGGER))
#
# Enable CONFIG_BPT if you want to enable breakpoints. You can press
# Escape anytime and the non-interrupt driven part of the system will
# pause, and you can inspect memory addresses. This also lets you
# set breakpoints at specific adddresses. When enabled, this
# automatically enables FREE ONLY.
#
#$(eval $(call have,CONFIG_BPT))
#
# Set if you wish to override the major/minor version numbers
# to be used. SYSTEM refers to the core code, MACHINE to the
# game rev.
#
#SYSTEM_MAJOR=
#SYSTEM_MINOR=
#MACHINE_MAJOR=
#MACHINE_MINOR=
# Set to the version of gcc6809 installed.
# The 4.3.x releases are recommended, although 4.2.x releases
# should still work. This option is ignored when simulating; your
# local 'gcc' will be used instead.
#GCC_VERSION := 4.2.3
GCC_VERSION := 4.3.4
#GCC_VERSION := 4.3.6
# If you have other flags to pass to the compiler, define them here.
#EXTRA_CFLAGS += -save-temps
# $(eval $(call have,CONFIG_DEBUG_STACK))
#EXTRA_CFLAGS += -DFREE_ONLY
# For debugging the compiler itself. Do not define this unless you
# working on gcc6809.
#DEBUG_COMPILER := y
# vim: set filetype=make: