* Assume gdb 6.6 if no libgdb found.

git-svn-id: trunk@6128 -
This commit is contained in:
daniel 2007-01-22 10:10:34 +00:00
parent f6e9e2e043
commit 3065ca6bae
2 changed files with 11 additions and 3 deletions

View File

@ -2294,13 +2294,17 @@ gdbint$(PPUEXT): gdbint.pp gdbver.inc
$(DEL) gdbver$(EXEEXT) gdbver$(OEXT)
endif
else
GDBVER=GDB_V6
GDBVER=GDB_V606
gdbver.inc:
$(ECHO) "{\$$define $(GDBVER)}" > gdbver.inc
gdbint$(PPUEXT): gdbint.pp
@$(ECHO) libgdb.a not found, using default GDB $(GDBVER)
$(COMPILER) -d$(GDBVER) gdbint.pp
endif
else
GDBVER=GDB_V5
gdbver.inc:
$(ECHO) "{\$$define $(GDBVER)}" > gdbver.inc
gdbint$(PPUEXT): gdbint.pp
@$(ECHO) Different target os or cpu, using default GDB $(GDBVER)
$(COMPILER) -d$(GDBVER) gdbint.pp

View File

@ -92,8 +92,10 @@ gdbint$(PPUEXT): gdbint.pp gdbver.inc
endif
else
# libgdb.a not found, default to libgdb v5
GDBVER=GDB_V6
# libgdb.a not found, default to libgdb v6
GDBVER=GDB_V606
gdbver.inc:
$(ECHO) "{\$$define $(GDBVER)}" > gdbver.inc
gdbint$(PPUEXT): gdbint.pp
@$(ECHO) libgdb.a not found, using default GDB $(GDBVER)
$(COMPILER) -d$(GDBVER) gdbint.pp
@ -102,6 +104,8 @@ endif
else
# Different OS_TARGET, default to libgdb v5
GDBVER=GDB_V5
gdbver.inc:
$(ECHO) "{\$$define $(GDBVER)}" > gdbver.inc
gdbint$(PPUEXT): gdbint.pp
@$(ECHO) Different target os or cpu, using default GDB $(GDBVER)
$(COMPILER) -d$(GDBVER) gdbint.pp