ppc: Move conditional compilation of kgdb.c to Makefile

Signed-off-by: Peter Tyser <ptyser@xes-inc.com>
This commit is contained in:
Peter Tyser 2009-11-03 23:31:07 -06:00 committed by Wolfgang Denk
parent e06ab6546b
commit 425d3b666e
2 changed files with 1 additions and 6 deletions

View File

@ -35,7 +35,7 @@ COBJS-y += bootm.o
COBJS-y += cache.o
COBJS-y += extable.o
COBJS-y += interrupts.o
COBJS-y += kgdb.o
COBJS-$(CONFIG_CMD_KGDB) += kgdb.o
COBJS-y += time.o
SRCS := $(SOBJS-y:.o=.S) $(COBJS-y:.o=.c)

View File

@ -1,8 +1,5 @@
#include <common.h>
#include <command.h>
#if defined(CONFIG_CMD_KGDB)
#include <kgdb.h>
#include <asm/signal.h>
#include <asm/processor.h>
@ -322,5 +319,3 @@ kgdb_breakpoint(int argc, char *argv[])
breakinst: .long 0x7d821008\n\
");
}
#endif