32x: drc: new debug facility (pdb). Few fixes thanks to it.

git-svn-id: file:///home/notaz/opt/svn/PicoDrive/platform@863 be3aeb3a-fb24-0410-a615-afba39da0efa
This commit is contained in:
notaz 2010-01-19 22:17:47 +00:00
parent 9cfdd2d2e9
commit 82d64b3a5f
5 changed files with 24 additions and 6 deletions

View file

@ -7,6 +7,17 @@ endif
ifeq "$(profile)" "2"
CFLAGS += -fprofile-use
endif
ifeq "$(pdb)" "1"
DEFINES += PDB
OBJS += cpu/debug.o
ifeq "$(pdb_net)" "1"
DEFINES += PDB_NET
endif
ifeq "$(readline)" "1"
DEFINES += HAVE_READLINE
LDFLAGS += -lreadline
endif
endif
ifeq "$(pprof)" "1"
DEFINES += PPROF
OBJS += platform/linux/pprof.o